commit:     623ce79b38237ac0ae365e32aa178d761cde48af
Author:     Andreas Sturmlechner <asturm <AT> gentoo <DOT> org>
AuthorDate: Sun Oct  1 10:45:43 2023 +0000
Commit:     Andreas Sturmlechner <asturm <AT> gentoo <DOT> org>
CommitDate: Sun Oct  1 11:14:26 2023 +0000
URL:        https://gitweb.gentoo.org/proj/kde.git/commit/?id=623ce79b

sci-astronomy/kstars: Drop IUSE="fits,indi"

These options break every single release by upstream not caring about
ifdefs. Enough is enough.

Signed-off-by: Andreas Sturmlechner <asturm <AT> gentoo.org>

 sci-astronomy/kstars/kstars-9999.ebuild | 17 ++++++-----------
 sci-astronomy/kstars/metadata.xml       |  2 --
 2 files changed, 6 insertions(+), 13 deletions(-)

diff --git a/sci-astronomy/kstars/kstars-9999.ebuild 
b/sci-astronomy/kstars/kstars-9999.ebuild
index 840867c4ea..bc443ef1e8 100644
--- a/sci-astronomy/kstars/kstars-9999.ebuild
+++ b/sci-astronomy/kstars/kstars-9999.ebuild
@@ -19,9 +19,9 @@ fi
 
 LICENSE="GPL-2+ GPL-3+"
 SLOT="5"
-IUSE="fits indi +password raw wcs"
+IUSE="+password raw wcs"
 
-REQUIRED_USE="indi? ( fits ) ${PYTHON_REQUIRED_USE}"
+REQUIRED_USE="${PYTHON_REQUIRED_USE}"
 
 COMMON_DEPEND="
        >=dev-qt/qtdatavis3d-${QTMIN}:5
@@ -46,14 +46,12 @@ COMMON_DEPEND="
        >=kde-frameworks/kplotting-${KFMIN}:5
        >=kde-frameworks/kwidgetsaddons-${KFMIN}:5
        >=kde-frameworks/kxmlgui-${KFMIN}:5
+       sci-libs/cfitsio:=
        sci-libs/gsl:=
+       >=sci-libs/indilib-2.0.2
+       sci-libs/libnova:=
+       >=sci-libs/stellarsolver-2.2
        sys-libs/zlib
-       fits? ( sci-libs/cfitsio:= )
-       indi? (
-               >=sci-libs/indilib-2.0.2
-               sci-libs/libnova:=
-               >=sci-libs/stellarsolver-2.2
-       )
        password? ( dev-libs/qtkeychain:=[qt5(+)] )
        raw? ( media-libs/libraw:= )
        wcs? ( sci-astronomy/wcslib:= )
@@ -78,9 +76,6 @@ src_configure() {
        local mycmakeargs=(
                -DCMAKE_DISABLE_FIND_PACKAGE_LibXISF=ON # not packaged
                -DBUILD_DOC=$(usex handbook)
-               $(cmake_use_find_package fits CFitsio)
-               $(cmake_use_find_package indi INDI)
-               $(cmake_use_find_package indi Nova)
                $(cmake_use_find_package password Qt5Keychain)
                $(cmake_use_find_package raw LibRaw)
                $(cmake_use_find_package wcs WCSLIB)

diff --git a/sci-astronomy/kstars/metadata.xml 
b/sci-astronomy/kstars/metadata.xml
index 75867d29e2..576d990a2f 100644
--- a/sci-astronomy/kstars/metadata.xml
+++ b/sci-astronomy/kstars/metadata.xml
@@ -9,8 +9,6 @@
                <bugs-to>https://bugs.kde.org/</bugs-to>
        </upstream>
        <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="password">Store passwords securely via 
<pkg>dev-libs/qtkeychain</pkg></flag>
                <flag name="wcs">Enable support for World Coordinate System 
library using wcslib</flag>
        </use>

Reply via email to