summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndreas Sturmlechner <asturm@gentoo.org>2019-06-01 14:38:54 +0200
committerAndreas Sturmlechner <asturm@gentoo.org>2019-06-01 16:26:01 +0200
commitc8bdf568ec8c7aed009700d4a829b4f6def9f7b8 (patch)
tree137f7d9c584fdfcd61dd187308d8a977bee55e36 /sci-astronomy
parentmedia-gfx/inkscape: Let xdg.eclass handle pkg_post{inst,rm} phases (diff)
downloadgentoo-c8bdf568ec8c7aed009700d4a829b4f6def9f7b8.tar.gz
gentoo-c8bdf568ec8c7aed009700d4a829b4f6def9f7b8.tar.bz2
gentoo-c8bdf568ec8c7aed009700d4a829b4f6def9f7b8.zip
sci-astronomy/kstars: 3.2.3 version bump
Package-Manager: Portage-2.3.67, Repoman-2.3.13 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.2.3.ebuild85
2 files changed, 86 insertions, 0 deletions
diff --git a/sci-astronomy/kstars/Manifest b/sci-astronomy/kstars/Manifest
index 324902d27be0..30da1b8fa9a6 100644
--- a/sci-astronomy/kstars/Manifest
+++ b/sci-astronomy/kstars/Manifest
@@ -1,2 +1,3 @@
DIST kstars-3.1.1.tar.xz 70308140 BLAKE2B 97c32773bb600b6601f6b0f64cb951d9931760f3f83bd40e99888868a49643c26af666756fde7b8fb59c634cdfdd7391d4ea8674e99acbe0955bc07b194f4285 SHA512 f482a0bf82eda596a6da9ab8641059aaae8c1983b3c28e963b18665aec3d6418472997aa3d94f6cdff496a95f4151f4b5ca2171bed4c9ff3f7f95177a8fd67c0
DIST kstars-3.2.2.tar.xz 70730772 BLAKE2B f92510e7e1a077d685e67a3e2ddadb1f5ca0c79a4775a07db9d05e25cd871c8faf04d2cf827c60e1c0173ac35b170d3460ec747b5e00b2a1d2cc3a60c6354524 SHA512 05bdb1ce739ae05a0557082fa3ad299a9ea233d747def20a0ec3ded566d66cd9fa15d6d2cc338429c63dfe61385bbfc961ead195208b429a39111ca9ea44a5e1
+DIST kstars-3.2.3.tar.xz 70750660 BLAKE2B ea44b1ab2ba5d34a472b513180c148093defeff9fc2b8fb823621149b836a6fb7d6f53e0e50765de7c423fcdcdfc8fac6ae4feb4c4670d475353e091fa14d20c SHA512 29c534c860cb1ab2c52e497061b16c7870e63253a7184f79ed8565d56abbc2909160d7f8c649764e4eb7462630e30e4428a88753e7987e97e530b174076cbd37
diff --git a/sci-astronomy/kstars/kstars-3.2.3.ebuild b/sci-astronomy/kstars/kstars-3.2.3.ebuild
new file mode 100644
index 000000000000..dbf91c26649b
--- /dev/null
+++ b/sci-astronomy/kstars/kstars-3.2.3.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.
+}