diff options
author | V3n3RiX <venerix@redcorelinux.org> | 2018-04-10 17:26:49 +0100 |
---|---|---|
committer | V3n3RiX <venerix@redcorelinux.org> | 2018-04-10 17:26:49 +0100 |
commit | 6957f5c65b02bba533954eabc0b62f5de36be206 (patch) | |
tree | 21d8ab8f61dffd9cccc82d0badb68982516a6855 /sci-astronomy/kstars | |
parent | e91a1aaa5ec8fab37f0fd082ac6024d41c6651e2 (diff) |
gentoo resync : 10.04.2018
Diffstat (limited to 'sci-astronomy/kstars')
-rw-r--r-- | sci-astronomy/kstars/Manifest | 5 | ||||
-rw-r--r-- | sci-astronomy/kstars/kstars-17.08.3.ebuild | 73 | ||||
-rw-r--r-- | sci-astronomy/kstars/kstars-2.9.4.ebuild | 74 | ||||
-rw-r--r-- | sci-astronomy/kstars/metadata.xml | 14 |
4 files changed, 166 insertions, 0 deletions
diff --git a/sci-astronomy/kstars/Manifest b/sci-astronomy/kstars/Manifest new file mode 100644 index 000000000000..2dcfb336aa6a --- /dev/null +++ b/sci-astronomy/kstars/Manifest @@ -0,0 +1,5 @@ +DIST kstars-17.08.3.tar.xz 61485232 BLAKE2B 7ddf318ed9659814b49a5f8efe6ecc3b65d2ba30b4a368d00c6c46f96e42fe36be8e16244b097d665a95b82682bbac1d948999889c9dca56010d1cc4978ddc68 SHA512 fbd409a506f93283f1104ee40eae1f5b306db52483f56ee20a57398576449a0c702d5c6578dceac6543892c16459e3bff594538d801bb80c413d70792c2c68df +DIST kstars-2.9.4.tar.xz 63924708 BLAKE2B b67d77dd87b3d833a0aea572bbf9f20cb8796f0637b1ff185aaabfefa314382ba124fee4cb998654db3fd6da5ec0b53be1c45593bf74bbeae704a7853fca33b7 SHA512 913cfc1ea91b28248ba8baec8a3ddc8b8a1ae9563cc9b32b91f55e781d61cf6020480722598780dbeeb8a5309819bd5237e3b263c5e52b9c709272591a050c29 +EBUILD kstars-17.08.3.ebuild 1897 BLAKE2B 78346da0af3f0f854b79130f26086edd5d8506de9f6c713e94f22dd0e27bd6dc9d87ec7a2234b92e8da0a6e12d24fc08066d0f165c27c7df30413f87288e77f0 SHA512 19735f1309ec5368bea65a1f3eaf24536fc1f452b4426b0c87fdeb23e8d61879fde560b84fc93181e7b12aabdfe07b3ce5cd5b2fd45437e7eb053de449f7f2ae +EBUILD kstars-2.9.4.ebuild 1911 BLAKE2B 9f5b868bb541c8fa104de3a385922570249c33c86c0eb58e64fa534fff3416ca915c02d98f0e1bb4ef21e1cb9f7f63da0d9e4254065e845e133c86b54e2256d6 SHA512 741dbb50907eef15eafb658a42fb82b1b11a6a861a166240936587ea3d11d89d02b78da9c5a01c8ec1161ff71090d6a9640b02828527cf69c1ae8efd50592f0e +MISC metadata.xml 589 BLAKE2B 2615369c55a548e9263b3544a571c343ea5f1a60dc79b32c1124e06b1feef782f4631f31ecf4c52f37b8370ee8766198364008d3c77a310f5c1c2b34589f5d85 SHA512 e18188aaab2d0b650d7494849df568234e3e385917c70770652895e2907e4bed49ebb76d8874867eb54d008ac958b43eb0bf6486de49694ab299ac37ed8ab9d2 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/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 +} 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> |