summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJohannes Huber <johu@gentoo.org>2018-04-09 20:47:55 +0200
committerJohannes Huber <johu@gentoo.org>2018-04-09 20:51:49 +0200
commitb9c849a3471a85c164cca7a65a2e283706b6044c (patch)
treea09b2f673f66d2d3bbe74c32ba4608ea5bd06e48 /sci-astronomy/kstars
parentapp-text/texlive: Update metadata.xml with valid PkgRef (diff)
downloadgentoo-b9c849a3471a85c164cca7a65a2e283706b6044c.tar.gz
gentoo-b9c849a3471a85c164cca7a65a2e283706b6044c.tar.bz2
gentoo-b9c849a3471a85c164cca7a65a2e283706b6044c.zip
kde-apps/kstars -> sci-astronomy/kstars
Diffstat (limited to 'sci-astronomy/kstars')
-rw-r--r--sci-astronomy/kstars/Manifest1
-rw-r--r--sci-astronomy/kstars/kstars-17.08.3.ebuild73
-rw-r--r--sci-astronomy/kstars/metadata.xml14
3 files changed, 88 insertions, 0 deletions
diff --git a/sci-astronomy/kstars/Manifest b/sci-astronomy/kstars/Manifest
new file mode 100644
index 000000000000..e27051e839aa
--- /dev/null
+++ b/sci-astronomy/kstars/Manifest
@@ -0,0 +1 @@
+DIST kstars-17.08.3.tar.xz 61485232 BLAKE2B 7ddf318ed9659814b49a5f8efe6ecc3b65d2ba30b4a368d00c6c46f96e42fe36be8e16244b097d665a95b82682bbac1d948999889c9dca56010d1cc4978ddc68 SHA512 fbd409a506f93283f1104ee40eae1f5b306db52483f56ee20a57398576449a0c702d5c6578dceac6543892c16459e3bff594538d801bb80c413d70792c2c68df
diff --git a/sci-astronomy/kstars/kstars-17.08.3.ebuild b/sci-astronomy/kstars/kstars-17.08.3.ebuild
new file mode 100644
index 000000000000..a46c35fe68f8
--- /dev/null
+++ b/sci-astronomy/kstars/kstars-17.08.3.ebuild
@@ -0,0 +1,73 @@
+# Copyright 1999-2017 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/applications/${PV}/src/${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 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
+}
diff --git a/sci-astronomy/kstars/metadata.xml b/sci-astronomy/kstars/metadata.xml
new file mode 100644
index 000000000000..2102d7af3db9
--- /dev/null
+++ b/sci-astronomy/kstars/metadata.xml
@@ -0,0 +1,14 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <maintainer type="project">
+ <email>kde@gentoo.org</email>
+ <name>Gentoo KDE Project</name>
+ </maintainer>
+ <use>
+ <flag name="fits">Enable support for NASA's <pkg>sci-libs/cfitsio</pkg> library</flag>
+ <flag name="indi">Enable support for Astronomical control library using libindi</flag>
+ <flag name="wcs">Enable support for World Coordinate System library using wcslib</flag>
+ <flag name="xplanet">Enable support for Xplanet</flag>
+ </use>
+</pkgmetadata>