summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndreas Sturmlechner <asturm@gentoo.org>2024-10-03 19:52:48 +0200
committerAndreas Sturmlechner <asturm@gentoo.org>2024-10-04 15:01:24 +0200
commitfc5d371c6a5e4f7fa87eb1cea1d569032e3d2cca (patch)
tree928c4689aa73acdfb99145d86626ab6788d76baa /sci-astronomy
parentsci-libs/indilib: add 2.1.0 (diff)
downloadgentoo-fc5d371c6a5e4f7fa87eb1cea1d569032e3d2cca.tar.gz
gentoo-fc5d371c6a5e4f7fa87eb1cea1d569032e3d2cca.tar.bz2
gentoo-fc5d371c6a5e4f7fa87eb1cea1d569032e3d2cca.zip
sci-astronomy/kstars: add 3.7.3
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.3.ebuild103
2 files changed, 104 insertions, 0 deletions
diff --git a/sci-astronomy/kstars/Manifest b/sci-astronomy/kstars/Manifest
index 3d7e9e94dc38..5b8b8e73224d 100644
--- a/sci-astronomy/kstars/Manifest
+++ b/sci-astronomy/kstars/Manifest
@@ -1,2 +1,3 @@
DIST kstars-3.7.1.tar.xz 160104144 BLAKE2B 50ae2a534a3fbec962c8c609f2572e05a1b1f3128c3b5a48492c8e2599f4f831dd9f78ee08a69c8172f7138e2521b522cedccf625b3ce36d52029659ddfacde0 SHA512 89c226012ce3679006706f2f21a669dbd53ced008a0d6f75cc9a6d72c98d126fe2119eb673a08a6e626e3766ac5974fa58febfacab3f196de65b677417adb389
DIST kstars-3.7.2.tar.xz 160789908 BLAKE2B acd9b0ba859c4ad688aaf1f4224fa1fff91062eb8c45ed3d92bfd4a0c92cd083f34f08bc998fc9f1be42ea2dff9ac7f768c6d89b13c916664f589e59f067196c SHA512 897c7dad54321e8e90372d4b1ec5e33ae0a5d3c6de53ad6faaa2d81b205646efc370a882e2805f55a415acf55c9d46d5d427455728ad678e70688662b744f987
+DIST kstars-3.7.3.tar.xz 162015484 BLAKE2B 650198b01c6e51d6725cce68fa3ac51d04e415355a24d36d75d0267b6c5536c1f13962307e36359452ae857364eaf7e548c17068568030946d388189e4982b2e SHA512 981e7040745bfc1e52339a653945ec3283cb4bfa8f5018cf890a1ae8b10a7e860de5c4c99ab7b3f14e6eae856c6ac65e39cf1856263609cf1d6541bd7224e87f
diff --git a/sci-astronomy/kstars/kstars-3.7.3.ebuild b/sci-astronomy/kstars/kstars-3.7.3.ebuild
new file mode 100644
index 000000000000..685e654d10f5
--- /dev/null
+++ b/sci-astronomy/kstars/kstars-3.7.3.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
+}