From 13dcd05e8bd0019b04993f7e818d9f58d0e69fa8 Mon Sep 17 00:00:00 2001 From: Johannes Huber Date: Wed, 25 Apr 2018 18:31:55 +0200 Subject: sci-astronomy/kstars: Version bump 2.9.5 Package-Manager: Portage-2.3.31, Repoman-2.3.9 --- sci-astronomy/kstars/Manifest | 1 + sci-astronomy/kstars/kstars-2.9.5.ebuild | 74 ++++++++++++++++++++++++++++++++ 2 files changed, 75 insertions(+) create mode 100644 sci-astronomy/kstars/kstars-2.9.5.ebuild diff --git a/sci-astronomy/kstars/Manifest b/sci-astronomy/kstars/Manifest index f850dc4d461f..ac66d7298f9e 100644 --- a/sci-astronomy/kstars/Manifest +++ b/sci-astronomy/kstars/Manifest @@ -1,2 +1,3 @@ DIST kstars-17.08.3.tar.xz 61485232 BLAKE2B 7ddf318ed9659814b49a5f8efe6ecc3b65d2ba30b4a368d00c6c46f96e42fe36be8e16244b097d665a95b82682bbac1d948999889c9dca56010d1cc4978ddc68 SHA512 fbd409a506f93283f1104ee40eae1f5b306db52483f56ee20a57398576449a0c702d5c6578dceac6543892c16459e3bff594538d801bb80c413d70792c2c68df DIST kstars-2.9.4.tar.xz 63924708 BLAKE2B b67d77dd87b3d833a0aea572bbf9f20cb8796f0637b1ff185aaabfefa314382ba124fee4cb998654db3fd6da5ec0b53be1c45593bf74bbeae704a7853fca33b7 SHA512 913cfc1ea91b28248ba8baec8a3ddc8b8a1ae9563cc9b32b91f55e781d61cf6020480722598780dbeeb8a5309819bd5237e3b263c5e52b9c709272591a050c29 +DIST kstars-2.9.5.tar.xz 64033600 BLAKE2B 1d858d40d1ebccb1ae3217d8f3a464089171a6a9777cf759902017b373ceac3c7e56febf6ec3b2bed5db6cef779252e2d653e3c513545bf55261465465df2274 SHA512 850e3ad31f0c60547c406dc24bf3064f86867557f97acd63fb951d49fb09d7d20462a85016f8c645f316de0310cf7969e08c19e00fc0bedb5c1b006dfda0622b diff --git a/sci-astronomy/kstars/kstars-2.9.5.ebuild b/sci-astronomy/kstars/kstars-2.9.5.ebuild new file mode 100644 index 000000000000..a481533f1106 --- /dev/null +++ b/sci-astronomy/kstars/kstars-2.9.5.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 +} -- cgit v1.2.3-65-gdbad