summaryrefslogtreecommitdiff
path: root/sci-astronomy
diff options
context:
space:
mode:
authorAndreas Sturmlechner <asturm@gentoo.org>2025-04-02 18:09:11 +0200
committerAndreas Sturmlechner <asturm@gentoo.org>2025-04-02 18:09:11 +0200
commitae264506891a55e5b53efad131a3f7cfb115df32 (patch)
treee171e6727503961ab2841d7bc0575408b78af60a /sci-astronomy
parent67677881ac2414bccbee5b051268e69e1aef872e (diff)
downloadkde-ae264506891a55e5b53efad131a3f7cfb115df32.tar.gz
kde-ae264506891a55e5b53efad131a3f7cfb115df32.tar.bz2
kde-ae264506891a55e5b53efad131a3f7cfb115df32.zip
sci-astronomy/kstars: Sync w/ ::gentoo, set KFMIN=6.9.0 and inherit xdg
Signed-off-by: Andreas Sturmlechner <asturm@gentoo.org>
Diffstat (limited to 'sci-astronomy')
-rw-r--r--sci-astronomy/kstars/files/kstars-3.7.5-cmake.patch26
-rw-r--r--sci-astronomy/kstars/kstars-9999.ebuild10
2 files changed, 31 insertions, 5 deletions
diff --git a/sci-astronomy/kstars/files/kstars-3.7.5-cmake.patch b/sci-astronomy/kstars/files/kstars-3.7.5-cmake.patch
new file mode 100644
index 00000000000..229076f3c5a
--- /dev/null
+++ b/sci-astronomy/kstars/files/kstars-3.7.5-cmake.patch
@@ -0,0 +1,26 @@
+From 51e5aff74ecfa40975cfb851f7a64a684a0fee0d Mon Sep 17 00:00:00 2001
+From: Andreas Sturmlechner <asturm@gentoo.org>
+Date: Sat, 1 Feb 2025 22:32:10 +0100
+Subject: [PATCH] Cleanup bogus (un-ifdef'd and duplicated) headers
+
+Signed-off-by: Andreas Sturmlechner <asturm@gentoo.org>
+---
+ kstars/ekos/focus/focus.cpp | 2 --
+ 1 file changed, 2 deletions(-)
+
+diff --git a/kstars/ekos/focus/focus.cpp b/kstars/ekos/focus/focus.cpp
+index 553a94e6f..1193115eb 100644
+--- a/kstars/ekos/focus/focus.cpp
++++ b/kstars/ekos/focus/focus.cpp
+@@ -12,8 +12,6 @@
+ #if defined(HAVE_OPENCV)
+ #include "focusblurriness.h"
+ #endif
+-#include "aberrationinspector.h"
+-#include "aberrationinspectorutils.h"
+ #include "kstars.h"
+ #include "kstarsdata.h"
+ #include "Options.h"
+--
+2.48.1
+
diff --git a/sci-astronomy/kstars/kstars-9999.ebuild b/sci-astronomy/kstars/kstars-9999.ebuild
index 8e418d02337..27d691b4ad2 100644
--- a/sci-astronomy/kstars/kstars-9999.ebuild
+++ b/sci-astronomy/kstars/kstars-9999.ebuild
@@ -5,9 +5,9 @@ EAPI=8
ECM_HANDBOOK="forceoptional"
ECM_TEST="true"
-KFMIN=6.5.0
+KFMIN=6.9.0
QTMIN=6.7.2
-inherit ecm kde.org optfeature
+inherit ecm kde.org optfeature xdg
DESCRIPTION="Desktop Planetarium"
HOMEPAGE="https://apps.kde.org/kstars/ https://kstars.kde.org/"
@@ -47,7 +47,7 @@ COMMON_DEPEND="
sci-libs/gsl:=
>=sci-libs/indilib-2.0.2
sci-libs/libnova:=
- >=sci-libs/stellarsolver-2.2
+ >=sci-libs/stellarsolver-2.6-r10
sys-libs/zlib
opencv? (
media-libs/opencv:=[ffmpeg]
@@ -81,7 +81,7 @@ CMAKE_SKIP_TESTS=(
)
PATCHES=(
- "${FILESDIR}/${PN}-3.7.4-cmake.patch" # bug 895892
+ "${FILESDIR}"/${PN}-3.7.{4,5}-cmake.patch # bug 895892
)
src_configure() {
@@ -105,5 +105,5 @@ pkg_postinst() {
if [[ -z "${REPLACING_VERSIONS}" ]]; then
optfeature "Display 'current' pictures of planets" x11-misc/xplanet
fi
- ecm_pkg_postinst
+ xdg_pkg_postinst
}