diff options
author | V3n3RiX <venerix@koprulu.sector> | 2022-12-27 14:10:06 +0000 |
---|---|---|
committer | V3n3RiX <venerix@koprulu.sector> | 2022-12-27 14:10:06 +0000 |
commit | 4429be000a778f363162554d59d903a725283d7d (patch) | |
tree | 16a6de16cbef2e9dcb36233f2e0c825f3ff60493 /sci-astronomy/kstars | |
parent | 2d9c9c77c273a982d69ad4caefcc1a3783844056 (diff) |
gentoo auto-resync : 27:12:2022 - 14:10:05
Diffstat (limited to 'sci-astronomy/kstars')
-rw-r--r-- | sci-astronomy/kstars/Manifest | 2 | ||||
-rw-r--r-- | sci-astronomy/kstars/kstars-3.6.2.ebuild | 106 |
2 files changed, 108 insertions, 0 deletions
diff --git a/sci-astronomy/kstars/Manifest b/sci-astronomy/kstars/Manifest index 5a29f4f658e9..dacc92d34030 100644 --- a/sci-astronomy/kstars/Manifest +++ b/sci-astronomy/kstars/Manifest @@ -1,3 +1,5 @@ DIST kstars-3.6.1.tar.xz 110215912 BLAKE2B 8bb0e4a966124adfe0a6fbda36879ab6d1331c8ab21ad9666e863c6b97acb4ae821a156a6433db8bc40ecec95d1ad4e5b1e6a2c615079268371ed006aae291b1 SHA512 6b5cdba4363d87ba462d2d98b101cae41dc1ae35861aec61ebb8d335b0186fff9625b566dc816bd792ae7746b711a044d5173a8f63063448ff5f55ddfcdb0b75 +DIST kstars-3.6.2.tar.xz 111110944 BLAKE2B 8a2c5821b982ee62167e2ba28d70d3931d9643d7c9410097169f87556ec4b2ea137e6595089960c63c6063f69c1415968664b8dd1e05a8f8a619b37d2539c26e SHA512 8519aaab748afe948af332cf3b54a031aa65ac0d36f4dc3b5da7de9bffd9eab402221a11378ebe4d97cf4d4b0754b1a7c644f8222c93e0fca089f26545f10283 EBUILD kstars-3.6.1.ebuild 2654 BLAKE2B 6a37b372eca2e7c549f62ca443941519f15788494d3cb98f3bcfe0549d8d3685a8799fc2d46d46286a4306210817c44094c4c7bc5b12c13829f2c9ebba7bb5ca SHA512 45e3b5e234b324397a80c3ff15bfeb0040369cef7ecb9b983fc2bae41e54d433f895fb1be576f1f06c36b62752511592ade74b6e0e2f91a5f0cf302143732ebb +EBUILD kstars-3.6.2.ebuild 2637 BLAKE2B e55c211333e733d45ad04749ef9f20120f730814662ea22d6660e421feb0058fcedcf60497bc152dd91b598fe007de0ad7617fff70d109838ab6d074738708bf SHA512 87adb019ec19ea1d2b337387802e022a6d192c24692e7d47fe116dc6ea36b6532c60d33c207c16c35858e59780966fc851409b9b9c7b105cd9d84375c290f426 MISC metadata.xml 692 BLAKE2B a1be7f22ffff993276aaa943528cf39811e6567fdd9fe757d1045ab83e25010230f7d702bfef9c74ec71d62ff647edb4d7073e90dfb6147d100e4de6a225dfa1 SHA512 152e114ca9826e0599b530f6421e2ad5441b50b053cb81135cbf84dda3a7a37e7c7f989bb1d2f9bf826d9bf0cca97a3f0de5d9523f25fd0acbd3482348df0ed8 diff --git a/sci-astronomy/kstars/kstars-3.6.2.ebuild b/sci-astronomy/kstars/kstars-3.6.2.ebuild new file mode 100644 index 000000000000..09cc86859af3 --- /dev/null +++ b/sci-astronomy/kstars/kstars-3.6.2.ebuild @@ -0,0 +1,106 @@ +# Copyright 1999-2022 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +ECM_HANDBOOK="forceoptional" +ECM_TEST="true" +KFMIN=5.82.0 +QTMIN=5.15.5 +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}/${P}.tar.xz" + KEYWORDS="~amd64 ~x86" +fi + +LICENSE="GPL-2+ GPL-3+" +SLOT="5" +IUSE="fits indi +password raw wcs" + +REQUIRED_USE="indi? ( fits ) ${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 + sys-libs/zlib + fits? ( sci-libs/cfitsio:= ) + indi? ( + sci-libs/gsl:= + >=sci-libs/indilib-1.9.1 + sci-libs/libnova:= + >=sci-libs/stellarsolver-2.2 + ) + 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 +" +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 + -DBUILD_DOC=$(usex handbook) + $(cmake_use_find_package fits CFitsio) + $(cmake_use_find_package indi INDI) + $(cmake_use_find_package indi Nova) + $(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 +} |