summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJohannes Huber <johu@gentoo.org>2018-04-09 21:02:35 +0200
committerJohannes Huber <johu@gentoo.org>2018-04-09 21:59:20 +0200
commit4e7d8bad3505bd29e9d93c4d7f17c09f9d805c61 (patch)
treea3671e09655be04420c256bb500208683bff5b62 /sci-astronomy/kstars
parentmedia-plugins/gimp-lensfun: Drop old (diff)
downloadgentoo-4e7d8bad3505bd29e9d93c4d7f17c09f9d805c61.tar.gz
gentoo-4e7d8bad3505bd29e9d93c4d7f17c09f9d805c61.tar.bz2
gentoo-4e7d8bad3505bd29e9d93c4d7f17c09f9d805c61.zip
sci-astronomy/kstars: Version bump 2.9.4
Package-Manager: Portage-2.3.28, Repoman-2.3.9
Diffstat (limited to 'sci-astronomy/kstars')
-rw-r--r--sci-astronomy/kstars/Manifest1
-rw-r--r--sci-astronomy/kstars/kstars-2.9.4.ebuild74
2 files changed, 75 insertions, 0 deletions
diff --git a/sci-astronomy/kstars/Manifest b/sci-astronomy/kstars/Manifest
index e27051e839aa..f850dc4d461f 100644
--- a/sci-astronomy/kstars/Manifest
+++ b/sci-astronomy/kstars/Manifest
@@ -1 +1,2 @@
DIST kstars-17.08.3.tar.xz 61485232 BLAKE2B 7ddf318ed9659814b49a5f8efe6ecc3b65d2ba30b4a368d00c6c46f96e42fe36be8e16244b097d665a95b82682bbac1d948999889c9dca56010d1cc4978ddc68 SHA512 fbd409a506f93283f1104ee40eae1f5b306db52483f56ee20a57398576449a0c702d5c6578dceac6543892c16459e3bff594538d801bb80c413d70792c2c68df
+DIST kstars-2.9.4.tar.xz 63924708 BLAKE2B b67d77dd87b3d833a0aea572bbf9f20cb8796f0637b1ff185aaabfefa314382ba124fee4cb998654db3fd6da5ec0b53be1c45593bf74bbeae704a7853fca33b7 SHA512 913cfc1ea91b28248ba8baec8a3ddc8b8a1ae9563cc9b32b91f55e781d61cf6020480722598780dbeeb8a5309819bd5237e3b263c5e52b9c709272591a050c29
diff --git a/sci-astronomy/kstars/kstars-2.9.4.ebuild b/sci-astronomy/kstars/kstars-2.9.4.ebuild
new file mode 100644
index 000000000000..a481533f1106
--- /dev/null
+++ b/sci-astronomy/kstars/kstars-2.9.4.ebuild
@@ -0,0 +1,74 @@
+# Copyright 1999-2018 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+
+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://www.kde.org/applications/education/kstars https://edu.kde.org/kstars"
+IUSE="fits indi raw wcs xplanet"
+
+REQUIRED_USE="indi? ( fits ) ${PYTHON_REQUIRED_USE}"
+
+# TODO: AstrometryNet requires new package
+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 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 qtwidgets)
+ sys-libs/zlib
+ fits? ( sci-libs/cfitsio )
+ indi? ( >=sci-libs/indilib-1.4.0 )
+ raw? ( media-libs/libraw:= )
+ wcs? ( sci-astronomy/wcslib )
+ xplanet? ( x11-misc/xplanet )
+"
+# 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=(
+ $(cmake-utils_use_find_package fits CFitsio)
+ $(cmake-utils_use_find_package indi INDI)
+ $(cmake-utils_use_find_package raw LibRaw)
+ $(cmake-utils_use_find_package wcs WCSLIB)
+ $(cmake-utils_use_find_package xplanet Xplanet)
+ )
+
+ kde5_src_configure
+}