diff options
Diffstat (limited to 'sci-astronomy/kstars')
-rw-r--r-- | sci-astronomy/kstars/Manifest | 2 | ||||
-rw-r--r-- | sci-astronomy/kstars/kstars-3.2.1.ebuild | 85 |
2 files changed, 87 insertions, 0 deletions
diff --git a/sci-astronomy/kstars/Manifest b/sci-astronomy/kstars/Manifest index 1c9a1d59fc59..c9ca9d6a7b43 100644 --- a/sci-astronomy/kstars/Manifest +++ b/sci-astronomy/kstars/Manifest @@ -1,3 +1,5 @@ DIST kstars-3.1.1.tar.xz 70308140 BLAKE2B 97c32773bb600b6601f6b0f64cb951d9931760f3f83bd40e99888868a49643c26af666756fde7b8fb59c634cdfdd7391d4ea8674e99acbe0955bc07b194f4285 SHA512 f482a0bf82eda596a6da9ab8641059aaae8c1983b3c28e963b18665aec3d6418472997aa3d94f6cdff496a95f4151f4b5ca2171bed4c9ff3f7f95177a8fd67c0 +DIST kstars-3.2.1.tar.xz 70737012 BLAKE2B c5615c641c799b65d5b9a402fbc5390b07f1f2f13fb54ee53b0999c47c014ed2cdd976c6174ae09785913fb32129d13e95e7c3264142cd4c3ac9b0347b33391a SHA512 d62d2211db66941c402e19dee28ace235933fe33e077f7de3350c1a80eb02c18b23549c9cc8403fe9d34bc06332501b5ed931f992eb92c605fe7661572c3ed46 EBUILD kstars-3.1.1.ebuild 2199 BLAKE2B 6a15c7174ad19e05253c89ad9f7744b80ecbeacd3aa4c5f3f25a938a0b9ab56a3ba7c377b78f60c6650b9c7ae9879d64e1583a97bd6ad77d39a4f398fe837626 SHA512 126b54bb36b0407fe49a0da961e7b93aec43f211d17c1120b27ad3d962392b21ddaa17345b6f357982e8493c3e35877a352d563592fe210556007793cddab926 +EBUILD kstars-3.2.1.ebuild 2197 BLAKE2B 7cb3ea0f13a4141ad3f6ba717bab0d41351c7f621fc694116f743e1b0c76287116c0e814a35c6efd0814da124c0777c5e2af34c7a940d6a4e85e03878c8832a7 SHA512 5b9cc2d2ea9836b23113e3bbf6f2ed5623176a1c4f72bebbf960fa1ad89f30637c46c1922ad8dbaf335d6f1900d29e932b09cb88990ee5eae46c39a0d8254283 MISC metadata.xml 623 BLAKE2B 9c82c20c0824fb19b9e6a2fe9e144fa92aff5c15eb3cfb660f2d4ec985ea6f9218ebe3cd64862529dc2877cd5cf4209e54b6bfa6ccb9acd6eeac568a910b7c43 SHA512 030a49974d3cf1944ab6e0abe805e8d81763d3c173e5366344d11cc8415b0f55f8423de99a5e587e24bf078f0a0c2522770f2609c20b57d25bc9ba65e8bba8a6 diff --git a/sci-astronomy/kstars/kstars-3.2.1.ebuild b/sci-astronomy/kstars/kstars-3.2.1.ebuild new file mode 100644 index 000000000000..dbf91c26649b --- /dev/null +++ b/sci-astronomy/kstars/kstars-3.2.1.ebuild @@ -0,0 +1,85 @@ +# Copyright 1999-2019 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +KDE_HANDBOOK="forceoptional" +PYTHON_COMPAT=( python2_7 ) +inherit kde5 python-single-r1 + +if [[ ${KDE_BUILD_TYPE} = release ]]; then + SRC_URI="mirror://kde/stable/${PN}/${P}.tar.xz" + KEYWORDS="~amd64 ~x86" +fi + +DESCRIPTION="Desktop Planetarium" +HOMEPAGE="https://kde.org/applications/education/kstars https://edu.kde.org/kstars/" +IUSE="fits indi +password raw wcs" + +REQUIRED_USE="indi? ( fits ) ${PYTHON_REQUIRED_USE}" + +COMMON_DEPEND=" + $(add_frameworks_dep kauth) + $(add_frameworks_dep kconfig) + $(add_frameworks_dep kconfigwidgets) + $(add_frameworks_dep kcoreaddons) + $(add_frameworks_dep kcrash) + $(add_frameworks_dep ki18n) + $(add_frameworks_dep kio) + $(add_frameworks_dep knewstuff) + $(add_frameworks_dep knotifications) + $(add_frameworks_dep knotifyconfig) + $(add_frameworks_dep kplotting) + $(add_frameworks_dep kwidgetsaddons) + $(add_frameworks_dep kxmlgui) + $(add_qt_dep qtdatavis3d) + $(add_qt_dep qtdbus) + $(add_qt_dep qtdeclarative) + $(add_qt_dep qtgui) + $(add_qt_dep qtnetwork) + $(add_qt_dep qtprintsupport) + $(add_qt_dep qtsql) + $(add_qt_dep qtsvg) + $(add_qt_dep qtwebsockets) + $(add_qt_dep qtwidgets) + sys-libs/zlib + fits? ( sci-libs/cfitsio ) + indi? ( >=sci-libs/indilib-1.7.5 ) + password? ( dev-libs/qtkeychain:= ) + raw? ( media-libs/libraw:= ) + wcs? ( sci-astronomy/wcslib ) +" +# TODO: Add back when re-enabled by upstream +# opengl? ( +# $(add_qt_dep qtopengl) +# virtual/opengl +# ) +DEPEND="${COMMON_DEPEND} + $(add_qt_dep qtconcurrent) + dev-cpp/eigen:3 +" +RDEPEND="${COMMON_DEPEND} + ${PYTHON_DEPS} +" + +src_configure() { + local mycmakeargs=( + -DFETCH_TRANSLATIONS=OFF + $(cmake-utils_use_find_package fits CFitsio) + $(cmake-utils_use_find_package indi INDI) + $(cmake-utils_use_find_package password Qt5Keychain) + $(cmake-utils_use_find_package raw LibRaw) + $(cmake-utils_use_find_package wcs WCSLIB) + ) + + kde5_src_configure +} + +pkg_postinst () { + kde5_pkg_postinst + + if [[ -z "${REPLACING_VERSIONS}" ]] && ! has_version "x11-misc/xplanet" ; then + elog "${PN} has optional runtime support for x11-misc/xplanet" + fi + # same for AstrometryNet, which is not packaged. +} |