diff options
author | V3n3RiX <venerix@koprulu.sector> | 2024-08-07 12:37:21 +0100 |
---|---|---|
committer | V3n3RiX <venerix@koprulu.sector> | 2024-08-07 12:37:21 +0100 |
commit | b8c7370a682e4e29cda623222d17a790c01c3642 (patch) | |
tree | f6caa14689bd00a5760eadaa381ff41e50ef3c1b /sci-astronomy/kstars | |
parent | 8a4997a7e2d1e36c089d4d76935b5a902d98d3d0 (diff) |
gentoo auto-resync : 07:08:2024 - 12:37:20
Diffstat (limited to 'sci-astronomy/kstars')
-rw-r--r-- | sci-astronomy/kstars/Manifest | 2 | ||||
-rw-r--r-- | sci-astronomy/kstars/kstars-3.7.2.ebuild | 103 |
2 files changed, 105 insertions, 0 deletions
diff --git a/sci-astronomy/kstars/Manifest b/sci-astronomy/kstars/Manifest index 2f7069a69b65..ddca6aa352b7 100644 --- a/sci-astronomy/kstars/Manifest +++ b/sci-astronomy/kstars/Manifest @@ -1,3 +1,5 @@ DIST kstars-3.7.1.tar.xz 160104144 BLAKE2B 50ae2a534a3fbec962c8c609f2572e05a1b1f3128c3b5a48492c8e2599f4f831dd9f78ee08a69c8172f7138e2521b522cedccf625b3ce36d52029659ddfacde0 SHA512 89c226012ce3679006706f2f21a669dbd53ced008a0d6f75cc9a6d72c98d126fe2119eb673a08a6e626e3766ac5974fa58febfacab3f196de65b677417adb389 +DIST kstars-3.7.2.tar.xz 160789908 BLAKE2B acd9b0ba859c4ad688aaf1f4224fa1fff91062eb8c45ed3d92bfd4a0c92cd083f34f08bc998fc9f1be42ea2dff9ac7f768c6d89b13c916664f589e59f067196c SHA512 897c7dad54321e8e90372d4b1ec5e33ae0a5d3c6de53ad6faaa2d81b205646efc370a882e2805f55a415acf55c9d46d5d427455728ad678e70688662b744f987 EBUILD kstars-3.7.1.ebuild 2563 BLAKE2B d9994f329dd87cc2320a890b10d6282799d42b7c1cfcbc710b93e5a86782658ddfa7991b7ac7e9aff0c841a5fc1cecd03a42c3870515a7629e4b859554f82458 SHA512 5dec631a6a8ec9c12961b979faa116da9769ecaaca927b92409d9c02564f434a20da33234be101b341c55c039fc94de45856cfc2bba56edbb95ca6a109a485a2 +EBUILD kstars-3.7.2.ebuild 2564 BLAKE2B 8a776637b3df0a58c709d342f506172fad040930952fa8d3109605f22ffb0d01bd442a802c87de7737bb7de03afd2288da730e1930b10220fcd589719ef9bd6b SHA512 aeed3870f08ccbb2899d121da117fcaa7fe54633779b431c02cfb6f614fe376ac96d78f3b99b17d34b193da93034251ce26443e17d3a36e2a84c6a7d39f7fe22 MISC metadata.xml 514 BLAKE2B 59cb277db1acfe3514683284ae5b608e51d63b30fe5722cb1e8f8934848f04790ec82ab74ebab38eb565097b803e8132b8abfacbef4cee7197e3b8b0ae1a10ef SHA512 ab9e49e872c880b13ddbc698fbeef9366d642423ada0d64fdd4b1ebadeeba09dbf289855084153c444a77f1b1f03deaf54baf68d8b64a6c57f684e7ceee02c43 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 +} |