summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndreas Sturmlechner <asturm@gentoo.org>2024-08-06 22:08:24 +0200
committerAndreas Sturmlechner <asturm@gentoo.org>2024-08-06 22:09:38 +0200
commit682af2bbf277dd0e8220b72bb74a060db592edb4 (patch)
tree86a4446c73f1577b5979d81b40e75ca4a240baa7 /sci-astronomy
parentsci-libs/indilib: add 2.0.9 (diff)
downloadgentoo-682af2bbf277dd0e8220b72bb74a060db592edb4.tar.gz
gentoo-682af2bbf277dd0e8220b72bb74a060db592edb4.tar.bz2
gentoo-682af2bbf277dd0e8220b72bb74a060db592edb4.zip
sci-astronomy/kstars: add 3.7.2
Signed-off-by: Andreas Sturmlechner <asturm@gentoo.org>
Diffstat (limited to 'sci-astronomy')
-rw-r--r--sci-astronomy/kstars/Manifest1
-rw-r--r--sci-astronomy/kstars/kstars-3.7.2.ebuild103
2 files changed, 104 insertions, 0 deletions
diff --git a/sci-astronomy/kstars/Manifest b/sci-astronomy/kstars/Manifest
index 8f5800941c0b..3d7e9e94dc38 100644
--- a/sci-astronomy/kstars/Manifest
+++ b/sci-astronomy/kstars/Manifest
@@ -1 +1,2 @@
DIST kstars-3.7.1.tar.xz 160104144 BLAKE2B 50ae2a534a3fbec962c8c609f2572e05a1b1f3128c3b5a48492c8e2599f4f831dd9f78ee08a69c8172f7138e2521b522cedccf625b3ce36d52029659ddfacde0 SHA512 89c226012ce3679006706f2f21a669dbd53ced008a0d6f75cc9a6d72c98d126fe2119eb673a08a6e626e3766ac5974fa58febfacab3f196de65b677417adb389
+DIST kstars-3.7.2.tar.xz 160789908 BLAKE2B acd9b0ba859c4ad688aaf1f4224fa1fff91062eb8c45ed3d92bfd4a0c92cd083f34f08bc998fc9f1be42ea2dff9ac7f768c6d89b13c916664f589e59f067196c SHA512 897c7dad54321e8e90372d4b1ec5e33ae0a5d3c6de53ad6faaa2d81b205646efc370a882e2805f55a415acf55c9d46d5d427455728ad678e70688662b744f987
diff --git a/sci-astronomy/kstars/kstars-3.7.2.ebuild b/sci-astronomy/kstars/kstars-3.7.2.ebuild
new file mode 100644
index 000000000000..685e654d10f5
--- /dev/null
+++ b/sci-astronomy/kstars/kstars-3.7.2.ebuild
@@ -0,0 +1,103 @@
+# Copyright 1999-2024 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+ECM_HANDBOOK="forceoptional"
+ECM_TEST="true"
+KFMIN=5.115.0
+QTMIN=5.15.12
+inherit ecm kde.org optfeature
+
+DESCRIPTION="Desktop Planetarium"
+HOMEPAGE="https://apps.kde.org/kstars/ https://edu.kde.org/kstars/"
+
+if [[ ${KDE_BUILD_TYPE} = release ]]; then
+ SRC_URI="mirror://kde/stable/${PN}/${PV}/${P}.tar.xz"
+ KEYWORDS="~amd64 ~x86"
+fi
+
+LICENSE="GPL-2+ GPL-3+"
+SLOT="5"
+IUSE="+password raw wcs"
+
+REQUIRED_USE="${PYTHON_REQUIRED_USE}"
+
+COMMON_DEPEND="
+ >=dev-qt/qtdatavis3d-${QTMIN}:5
+ >=dev-qt/qtdbus-${QTMIN}:5
+ >=dev-qt/qtdeclarative-${QTMIN}:5
+ >=dev-qt/qtgui-${QTMIN}:5
+ >=dev-qt/qtnetwork-${QTMIN}:5
+ >=dev-qt/qtprintsupport-${QTMIN}:5
+ >=dev-qt/qtsql-${QTMIN}:5
+ >=dev-qt/qtsvg-${QTMIN}:5
+ >=dev-qt/qtwebsockets-${QTMIN}:5
+ >=dev-qt/qtwidgets-${QTMIN}:5
+ >=kde-frameworks/kconfig-${KFMIN}:5
+ >=kde-frameworks/kconfigwidgets-${KFMIN}:5
+ >=kde-frameworks/kcoreaddons-${KFMIN}:5
+ >=kde-frameworks/kcrash-${KFMIN}:5
+ >=kde-frameworks/ki18n-${KFMIN}:5
+ >=kde-frameworks/kio-${KFMIN}:5
+ >=kde-frameworks/knewstuff-${KFMIN}:5
+ >=kde-frameworks/knotifications-${KFMIN}:5
+ >=kde-frameworks/knotifyconfig-${KFMIN}:5
+ >=kde-frameworks/kplotting-${KFMIN}:5
+ >=kde-frameworks/kwidgetsaddons-${KFMIN}:5
+ >=kde-frameworks/kxmlgui-${KFMIN}:5
+ sci-libs/cfitsio:=
+ sci-libs/gsl:=
+ >=sci-libs/indilib-2.0.2
+ sci-libs/libnova:=
+ >=sci-libs/stellarsolver-2.2
+ sys-libs/zlib
+ password? ( dev-libs/qtkeychain:=[qt5(+)] )
+ raw? ( media-libs/libraw:= )
+ wcs? ( sci-astronomy/wcslib:= )
+"
+# TODO: Add back when re-enabled by upstream
+# opengl? (
+# >=dev-qt/qtopengl-${QTMIN}:5
+# virtual/opengl
+# )
+DEPEND="${COMMON_DEPEND}
+ dev-cpp/eigen:3
+ >=dev-qt/qtconcurrent-${QTMIN}:5
+ test? ( sci-astronomy/erfa )
+"
+RDEPEND="${COMMON_DEPEND}
+ >=dev-qt/qtgraphicaleffects-${QTMIN}:5
+ >=dev-qt/qtpositioning-${QTMIN}:5
+ >=dev-qt/qtquickcontrols-${QTMIN}:5
+ >=dev-qt/qtquickcontrols2-${QTMIN}:5
+"
+
+src_configure() {
+ local mycmakeargs=(
+ -DBUILD_PYKSTARS=OFF
+ -DCMAKE_DISABLE_FIND_PACKAGE_LibXISF=ON # not packaged
+ -DBUILD_DOC=$(usex handbook)
+ $(cmake_use_find_package password Qt5Keychain)
+ $(cmake_use_find_package raw LibRaw)
+ $(cmake_use_find_package wcs WCSLIB)
+ )
+
+ ecm_src_configure
+}
+
+src_test() {
+ # bug 842768, test declared unstable by upstream
+ local myctestargs=(
+ -E "(TestKSPaths)"
+ )
+
+ ecm_src_test
+}
+
+pkg_postinst() {
+ if [[ -z "${REPLACING_VERSIONS}" ]]; then
+ optfeature "Display 'current' pictures of planets" x11-misc/xplanet
+ fi
+ ecm_pkg_postinst
+}