diff options
author | Andreas Sturmlechner <asturm@gentoo.org> | 2019-04-21 17:51:39 +0200 |
---|---|---|
committer | Andreas Sturmlechner <asturm@gentoo.org> | 2019-04-21 20:21:36 +0200 |
commit | f312dc6605469eaaaea64c6d5ebca472b042fc41 (patch) | |
tree | 6a9c34884af9e93d760cf50f6b91d66da9f6767a /sci-astronomy | |
parent | app-admin/packagekit-base: Add USE consolekit (diff) | |
download | gentoo-f312dc6605469eaaaea64c6d5ebca472b042fc41.tar.gz gentoo-f312dc6605469eaaaea64c6d5ebca472b042fc41.tar.bz2 gentoo-f312dc6605469eaaaea64c6d5ebca472b042fc41.zip |
sci-astronomy/kstars: 3.2.0 version bump
Package-Manager: Portage-2.3.64, Repoman-2.3.12
Signed-off-by: Andreas Sturmlechner <asturm@gentoo.org>
Diffstat (limited to 'sci-astronomy')
-rw-r--r-- | sci-astronomy/kstars/Manifest | 1 | ||||
-rw-r--r-- | sci-astronomy/kstars/kstars-3.2.0.ebuild | 85 |
2 files changed, 86 insertions, 0 deletions
diff --git a/sci-astronomy/kstars/Manifest b/sci-astronomy/kstars/Manifest index 2665c6ea6bf1..c61393a39e41 100644 --- a/sci-astronomy/kstars/Manifest +++ b/sci-astronomy/kstars/Manifest @@ -1 +1,2 @@ DIST kstars-3.1.1.tar.xz 70308140 BLAKE2B 97c32773bb600b6601f6b0f64cb951d9931760f3f83bd40e99888868a49643c26af666756fde7b8fb59c634cdfdd7391d4ea8674e99acbe0955bc07b194f4285 SHA512 f482a0bf82eda596a6da9ab8641059aaae8c1983b3c28e963b18665aec3d6418472997aa3d94f6cdff496a95f4151f4b5ca2171bed4c9ff3f7f95177a8fd67c0 +DIST kstars-3.2.0.tar.xz 70667528 BLAKE2B e1a57ebd9f851069d64a5e79afc60cf92ed3e4e5319f2458aeb510f49015a73508e39cf0adcee86f88fdb2c447e4b9725977e43ebedee8094cd367c52a4a7152 SHA512 7286c0e49d6c359ace3e2670fff281b591d87ff5a2a69adc2864eac2a0e9f8e2ec732304c40ee2dbb16ce50379318ccd441411390395061537d030d140a9aaea diff --git a/sci-astronomy/kstars/kstars-3.2.0.ebuild b/sci-astronomy/kstars/kstars-3.2.0.ebuild new file mode 100644 index 000000000000..dbf91c26649b --- /dev/null +++ b/sci-astronomy/kstars/kstars-3.2.0.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. +} |