summaryrefslogtreecommitdiff
path: root/sci-astronomy
diff options
context:
space:
mode:
Diffstat (limited to 'sci-astronomy')
-rw-r--r--sci-astronomy/Manifest.gzbin6199 -> 6195 bytes
-rw-r--r--sci-astronomy/calcmysky/Manifest2
-rw-r--r--sci-astronomy/calcmysky/calcmysky-0.3.4.ebuild33
-rw-r--r--sci-astronomy/kstars/Manifest5
-rw-r--r--sci-astronomy/kstars/files/kstars-3.7.5-cmake-install-paths.patch37
-rw-r--r--sci-astronomy/kstars/kstars-3.7.4-r1.ebuild120
-rw-r--r--sci-astronomy/kstars/kstars-3.7.5-r1.ebuild (renamed from sci-astronomy/kstars/kstars-3.7.5.ebuild)4
-rw-r--r--sci-astronomy/montage/Manifest6
-rw-r--r--sci-astronomy/montage/files/montage-6.1-montagelib-dep.patch30
-rw-r--r--sci-astronomy/montage/files/montage-6.1-presentation-strcpy.patch21
-rw-r--r--sci-astronomy/montage/files/montage-6.1-prototypes.patch283
-rw-r--r--sci-astronomy/montage/files/montage-6.1-tcol-cntr.patch22
-rw-r--r--sci-astronomy/montage/montage-6.1.ebuild71
-rw-r--r--sci-astronomy/siril/Manifest2
-rw-r--r--sci-astronomy/siril/siril-1.2.6.ebuild2
-rw-r--r--sci-astronomy/stellarium/Manifest17
-rw-r--r--sci-astronomy/stellarium/files/stellarium-0.25.1-astrometry.patch50
-rw-r--r--sci-astronomy/stellarium/files/stellarium-0.25.1-md4c.patch18
-rw-r--r--sci-astronomy/stellarium/stellarium-25.1.ebuild174
19 files changed, 771 insertions, 126 deletions
diff --git a/sci-astronomy/Manifest.gz b/sci-astronomy/Manifest.gz
index f795d6f6e20e..d5a40dab7d42 100644
--- a/sci-astronomy/Manifest.gz
+++ b/sci-astronomy/Manifest.gz
Binary files differ
diff --git a/sci-astronomy/calcmysky/Manifest b/sci-astronomy/calcmysky/Manifest
index 17bd6035f5a0..63c1a5625a54 100644
--- a/sci-astronomy/calcmysky/Manifest
+++ b/sci-astronomy/calcmysky/Manifest
@@ -1,3 +1,5 @@
DIST calcmysky-0.3.3.tar.gz 2167016 BLAKE2B 93c1990a96ce4eb7c033ba3763aac2f347c5575c860522d99d7a0ab813d7bffbd678df32cbf3a249e8043e53560d355cb8656d9fce54df07aa9eb82cdfbdb0f7 SHA512 186281ad2aafac7006117cfb65d91c8053ab3caa9d4f67e5463471538bae40fd8fcc954c3fe9b9d2ca7bba4e6a1fdf8de33980469930cc23b1c21ee4b333917e
+DIST calcmysky-0.3.4.tar.gz 2167252 BLAKE2B 4b16eb5afc770095bb9a254d6a1de4c9320e89436363296651345195e4240867a62f9d53854aa03c6f8666d4015cc7349d3b8db37d3e0bee0c9306640156dd6b SHA512 0ec6aec3e4d1227ac0afbc8dbd27bab206b3557e27bb3a3921795cff7e2a16d4e101afd01fd86eec608abcd46710e1b63e6324fb2e2efb2a30fd97cccc2dcca6
EBUILD calcmysky-0.3.3-r1.ebuild 659 BLAKE2B e6c1fe1dc99fb81a88d0c909790ce5e139f56476d5d14d6cff13267a3325281707e1fe9450990ed6f3fb1c809f1310eaed84c669c814109f31b2972b90124a21 SHA512 9dc2b05926b84e7bab1b24c83d19429ab2c106503233174ee3aa75c4f66f5f5e3b5704e5e3da110d3d6b567ab5e240827e14d8e9546d8ee9e9825558b0450063
+EBUILD calcmysky-0.3.4.ebuild 660 BLAKE2B f2cf315b113f46fb1fb3876a96bd07a4e3428f1a2ede04f822698539c534979d78d8fd0401e653ccd8728c0a12e002c9d606b826c6162e9e50534a8f829fc9dc SHA512 f8b65893503eb516b127c81d5d804897165c1421075b19fc4c0f4eb9875adb546bdfb4fc16f80d499fd490a29ead32062684bf0bdc548f36ae1280d54cff0083
MISC metadata.xml 583 BLAKE2B 796ee2e5ee532cde2207c3ba32bd508a2ce335b8b5907b8065e196489850fe24f48e975680fed14460322096c780571b986a5a18e9e89f2abdb255dbf8874346 SHA512 f5cfcad23404c3a0da231d35aefa72e02effc420b448c1864e65021a346e3c7c259cd8cc109bdb5240a0d3344f384efe1245ea4afb5eccf6ace1041e62553487
diff --git a/sci-astronomy/calcmysky/calcmysky-0.3.4.ebuild b/sci-astronomy/calcmysky/calcmysky-0.3.4.ebuild
new file mode 100644
index 000000000000..8199688e6373
--- /dev/null
+++ b/sci-astronomy/calcmysky/calcmysky-0.3.4.ebuild
@@ -0,0 +1,33 @@
+# Copyright 2022-2025 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+inherit cmake
+
+DESCRIPTION="Simulator of light scattering by planetary atmospheres"
+HOMEPAGE="https://github.com/10110111/CalcMySky"
+SRC_URI="
+ https://github.com/10110111/CalcMySky/archive/refs/tags/v${PV}.tar.gz -> ${P}.tar.gz
+"
+S="${WORKDIR}/CalcMySky-${PV}"
+
+LICENSE="GPL-3"
+# subslot is soversion
+SLOT="0/15"
+KEYWORDS="~amd64 ~ppc ~riscv ~x86"
+
+DEPEND="
+ dev-cpp/eigen:3
+ dev-qt/qtbase:6[gui,opengl,widgets,-gles2-only]
+ media-libs/glm
+"
+RDEPEND="${DEPEND}"
+
+src_configure() {
+ local mycmakeargs=(
+ -DQT_VERSION=6
+ )
+
+ cmake_src_configure
+}
diff --git a/sci-astronomy/kstars/Manifest b/sci-astronomy/kstars/Manifest
index a749ec34c8ed..1dc2b7defa86 100644
--- a/sci-astronomy/kstars/Manifest
+++ b/sci-astronomy/kstars/Manifest
@@ -1,7 +1,6 @@
AUX kstars-3.7.4-cmake.patch 2189 BLAKE2B 517319f017daa9ee0ac4f16fe7d7d5ae380408890c4ecae0a46a672ea193895680ebf16806ae71fb370de336edb0373a6178c14c1038444dcd6441547a9e80ad SHA512 e1b26c11fad535537608ab5a5b99c8441fac4fa3cc4b916415d7c9997b2170c5ad5101c99360b19af146407041cf8d27fd5345e49183825b3d143167e713e9e5
+AUX kstars-3.7.5-cmake-install-paths.patch 1258 BLAKE2B 3a58f4c6c4f665cb6426c5031ee6a79b60d02fd2160f9208559de22dab5906be15815d9a22b9728e37ee3d662a2a8bff90663e2cd7e52d2c078aae3e218f7c92 SHA512 9cf5ceb1ec6e1723640f07771b252a1a90de2605d7b95550f6227f07fc0bc854a20376c511d237c8cca596a798ab875e55136886f146927ec8f5f2a262f15040
AUX kstars-3.7.5-cmake.patch 760 BLAKE2B bc4f2268bf5f40aaacaabd65f6ed85d26c6c4824cc5a61b38ead4e879cb7d0fbbab41cc5522d4b3af8a83a5d60d59b2241d0242cf851cd6b3b204a88ed368a02 SHA512 e0fa0601ba794fbc4d48d6442255e81b15ab695e262419fbc3edb76398a2449c5ce611f812a06d7ad17dddf168496db2b84da61de978d8060ed51eaff4ccd87e
-DIST kstars-3.7.4.tar.xz 163434540 BLAKE2B a59917c94503bca2faa23d000c51c8ef3b9c1150b9b9023e9c36d5e34b9780cae13aa08c614bdc319e0abd22f1beaca341bc6857215e18dbd932ae52e88a66ba SHA512 4b195c690d7ef15db93ff6c2cf6c064e1939713e72fe60930605e7dae137b65a4d6abb30a510ea15ac3b53a2ae5f25dcbbd06bc42461951f8d642701c9b5394f
DIST kstars-3.7.5.tar.xz 163498784 BLAKE2B f8b8c0246ab3c6dccec4a6af2039f4ef80e71d4ac43eebad869123494f6418dc36a5e1a8044c49e8e58a07267d58daaee589850b0800b9843bfdd3411bedb286 SHA512 988a5e0221b283bb9d0bb0c24d8e7fa91f9618e1cb9a764cec823217349c17bb0c7bc70213e16d2d021bb2bf6d21488c1daacb30f26e4f6f60b012fa05afd257
-EBUILD kstars-3.7.4-r1.ebuild 3004 BLAKE2B 9fd336f8644fd541c3897cd39aa6b03ad93c9d26f6bab64090e694a79064aeb1ef9a5903cea47647e4af41e23337ada2137a9ddd84b35a746d1dc7741723782d SHA512 42d8aaed282eb01d976d288333e2e26e39a2ef292a934e229e8717fe424cd42dc473fcef1528f61d153a3b422837dbd12defbe5734360595ea3d2d621d0b8b26
-EBUILD kstars-3.7.5.ebuild 2812 BLAKE2B 2655f64e3b33c28499d2b6ede6740e3b3b637a07a57e2565e0b83784f6083031789deaa069aa9879c49426dc5dd8c727c146090d1394d3b0b0f433d328b67361 SHA512 cfa62985262579543352a05d86b43436cd2d5c0f50a1298a7232e5d6c3e7d649e05b1b711b0393e3b19ca01ea7b79bb78fe78014a2efa59708fe7003c8f22cf0
+EBUILD kstars-3.7.5-r1.ebuild 2892 BLAKE2B c03bedaf5e349f9cb84753c51e73081b7611a50647b5410a7717120c81ad335cfc661a6233fbc795f04057b69e1b5018aa7a6a69b8c0d40aebcd637ca07d19ba SHA512 e1f4ab4cfc1282918797e2d72d9d1b4a25186e7976ab8422dd94b9355226ca2118c9bd960ff3d446372f6aa7e2bb36b4d3517e86c6f2477cdd02d7fe6f26c70c
MISC metadata.xml 610 BLAKE2B faaba355e30178d0a5469c2f1a0faf815acaf2c7412b4842a92620860c95f77d3ecb7174ad30c743686f781a81128a5038f3df83dcb520be14b0ea26160eb74a SHA512 95ef3e17df05b3fad294a1b6302bc6390bb3d8dd3d6b18400f74c7e82aea9e2888280f50b691a14b764933cdfce6ba9449e8cb1ef5a533cf8da52dfd43fd0838
diff --git a/sci-astronomy/kstars/files/kstars-3.7.5-cmake-install-paths.patch b/sci-astronomy/kstars/files/kstars-3.7.5-cmake-install-paths.patch
new file mode 100644
index 000000000000..3afd10f0cecc
--- /dev/null
+++ b/sci-astronomy/kstars/files/kstars-3.7.5-cmake-install-paths.patch
@@ -0,0 +1,37 @@
+From 5eb98b999a8427ea3c827edd12b3e11e5207ca47 Mon Sep 17 00:00:00 2001
+From: Andreas Sturmlechner <asturm@gentoo.org>
+Date: Thu, 3 Apr 2025 22:49:27 +0200
+Subject: [PATCH] CMake: s/DATA_INSTALL_DIR/KDE_INSTALL_DATADIR/
+
+Gentoo-bug: https://bugs.gentoo.org/953100
+Signed-off-by: Andreas Sturmlechner <asturm@gentoo.org>
+---
+ kstars/data/fr/CMakeLists.txt | 3 +--
+ kstars/data/nds/CMakeLists.txt | 3 +--
+ 2 files changed, 2 insertions(+), 4 deletions(-)
+
+diff --git a/kstars/data/fr/CMakeLists.txt b/kstars/data/fr/CMakeLists.txt
+index 070297450..d0f33cc5b 100644
+--- a/kstars/data/fr/CMakeLists.txt
++++ b/kstars/data/fr/CMakeLists.txt
+@@ -1,5 +1,4 @@
+ ########### install files ###############
+
+-install( FILES info_url.dat DESTINATION ${DATA_INSTALL_DIR}/kstars/fr
+-)
++install(FILES info_url.dat DESTINATION ${KDE_INSTALL_DATADIR}/kstars/fr)
+
+diff --git a/kstars/data/nds/CMakeLists.txt b/kstars/data/nds/CMakeLists.txt
+index ba15f6cf8..09629dab8 100644
+--- a/kstars/data/nds/CMakeLists.txt
++++ b/kstars/data/nds/CMakeLists.txt
+@@ -1,5 +1,4 @@
+ ########### install files ###############
+
+-install( FILES info_url.dat DESTINATION ${DATA_INSTALL_DIR}/kstars/nds
+-)
++install(FILES info_url.dat DESTINATION ${KDE_INSTALL_DATADIR}/kstars/nds)
+
+--
+2.49.0
+
diff --git a/sci-astronomy/kstars/kstars-3.7.4-r1.ebuild b/sci-astronomy/kstars/kstars-3.7.4-r1.ebuild
deleted file mode 100644
index ede9b019bef0..000000000000
--- a/sci-astronomy/kstars/kstars-3.7.4-r1.ebuild
+++ /dev/null
@@ -1,120 +0,0 @@
-# Copyright 1999-2025 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=8
-
-ECM_HANDBOOK="forceoptional"
-ECM_TEST="true"
-KFMIN=5.115.0
-QTMIN=5.15.12
-inherit ecm kde.org optfeature
-
-DESCRIPTION="Desktop Planetarium"
-HOMEPAGE="https://apps.kde.org/kstars/ https://kstars.kde.org/"
-
-if [[ ${KDE_BUILD_TYPE} = release ]]; then
- SRC_URI="mirror://kde/stable/${PN}/${PV}/${P}.tar.xz"
- KEYWORDS="amd64 ~x86"
-fi
-
-LICENSE="GPL-2+ GPL-3+"
-SLOT="5"
-IUSE="opencv +password raw"
-
-REQUIRED_USE="${PYTHON_REQUIRED_USE}"
-
-COMMON_DEPEND="
- >=dev-qt/qtdatavis3d-${QTMIN}:5
- >=dev-qt/qtdbus-${QTMIN}:5
- >=dev-qt/qtdeclarative-${QTMIN}:5
- >=dev-qt/qtgui-${QTMIN}:5
- >=dev-qt/qtnetwork-${QTMIN}:5
- >=dev-qt/qtprintsupport-${QTMIN}:5
- >=dev-qt/qtsql-${QTMIN}:5
- >=dev-qt/qtsvg-${QTMIN}:5
- >=dev-qt/qtwebsockets-${QTMIN}:5
- >=dev-qt/qtwidgets-${QTMIN}:5
- >=kde-frameworks/kconfig-${KFMIN}:5
- >=kde-frameworks/kconfigwidgets-${KFMIN}:5
- >=kde-frameworks/kcoreaddons-${KFMIN}:5
- >=kde-frameworks/kcrash-${KFMIN}:5
- >=kde-frameworks/ki18n-${KFMIN}:5
- >=kde-frameworks/kio-${KFMIN}:5
- >=kde-frameworks/knewstuff-${KFMIN}:5
- >=kde-frameworks/knotifications-${KFMIN}:5
- >=kde-frameworks/knotifyconfig-${KFMIN}:5
- >=kde-frameworks/kplotting-${KFMIN}:5
- >=kde-frameworks/kwidgetsaddons-${KFMIN}:5
- >=kde-frameworks/kxmlgui-${KFMIN}:5
- sci-astronomy/wcslib:=
- sci-libs/cfitsio:=
- 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]
- || (
- media-libs/opencv[qt5(-)]
- media-libs/opencv[qt6(-)]
- media-libs/opencv[gtk3(-)]
- )
- )
- password? ( >=dev-libs/qtkeychain-0.14.2:=[qt5(-)] )
- raw? ( media-libs/libraw:= )
-"
-# TODO: Add back when re-enabled by upstream
-# opengl? (
-# >=dev-qt/qtopengl-${QTMIN}:5
-# virtual/opengl
-# )
-DEPEND="${COMMON_DEPEND}
- dev-cpp/eigen:3
- >=dev-qt/qtconcurrent-${QTMIN}:5
- test? ( sci-astronomy/erfa )
-"
-RDEPEND="${COMMON_DEPEND}
- >=dev-qt/qtgraphicaleffects-${QTMIN}:5
- >=dev-qt/qtpositioning-${QTMIN}:5
- >=dev-qt/qtquickcontrols-${QTMIN}:5
- >=dev-qt/qtquickcontrols2-${QTMIN}:5
-"
-
-CMAKE_SKIP_TESTS=(
- # bug 842768, test declared unstable by upstream
- TestKSPaths
- # bugs 923871, 939788
- TestPlaceholderPath # ki18n (KLocalizedString) failure
- # all fail with offscreen plugin
- TestEkos{Capture,FilterWheel,Focus,Mount,Scheduler{,Ops},Simulator}
-)
-
-PATCHES=(
- "${FILESDIR}/${P}-cmake.patch" # bug 895892
-)
-
-src_configure() {
- local mycmakeargs=(
- -DBUILD_PYKSTARS=OFF
- -DCMAKE_DISABLE_FIND_PACKAGE_LibXISF=ON # not packaged
- -DBUILD_DOC=$(usex handbook)
- $(cmake_use_find_package opencv OpenCV)
- $(cmake_use_find_package password Qt5Keychain)
- $(cmake_use_find_package raw LibRaw)
- )
-
- ecm_src_configure
-}
-
-src_test() {
- LC_NUMERIC="C" LC_TIME="C" TZ=UTC ecm_src_test
-}
-
-pkg_postinst() {
- if [[ -z "${REPLACING_VERSIONS}" ]]; then
- optfeature "Display 'current' pictures of planets" x11-misc/xplanet
- fi
- ecm_pkg_postinst
-}
diff --git a/sci-astronomy/kstars/kstars-3.7.5.ebuild b/sci-astronomy/kstars/kstars-3.7.5-r1.ebuild
index af5b23d02f3e..a7c834fa73fb 100644
--- a/sci-astronomy/kstars/kstars-3.7.5.ebuild
+++ b/sci-astronomy/kstars/kstars-3.7.5-r1.ebuild
@@ -14,7 +14,7 @@ HOMEPAGE="https://apps.kde.org/kstars/ https://kstars.kde.org/"
if [[ ${KDE_BUILD_TYPE} = release ]]; then
SRC_URI="mirror://kde/stable/${PN}/${PV}/${P}.tar.xz"
- KEYWORDS="~amd64 ~x86"
+ KEYWORDS="amd64 ~x86"
fi
LICENSE="GPL-2+ GPL-3+"
@@ -81,7 +81,9 @@ CMAKE_SKIP_TESTS=(
)
PATCHES=(
+ # downstream patches
"${FILESDIR}"/${PN}-3.7.{4,5}-cmake.patch # bug 895892
+ "${FILESDIR}"/${P}-cmake-install-paths.patch # bug 953100
)
src_configure() {
diff --git a/sci-astronomy/montage/Manifest b/sci-astronomy/montage/Manifest
index fff9e17f1474..21e3096a0a4f 100644
--- a/sci-astronomy/montage/Manifest
+++ b/sci-astronomy/montage/Manifest
@@ -2,7 +2,13 @@ AUX montage-4.1-fix_format_errors.patch 705 BLAKE2B 8eed539374451d5124adb3d32ca9
AUX montage-4.1-initdistdata.patch 619 BLAKE2B 62093c780263c8b70f2df0de459c8a6b420d187ea9921b4ffc84435fbffb4f6de100a926ce56a5f2cf7897e2a6c9f93ef9bbffb2b5f6bfcaffcf317d6bf0d2da SHA512 6b4b195f804fb16dd3acdfb53288800ac07af9b05749ad8e8305fe415488e921a65ffb6ce19632da420dea6235eb3ed28826a437a8b7ad22869065a916422ea5
AUX montage-5.0-c23.patch 907 BLAKE2B c2d35544255580783d6106018b1d1d88f34f93aa6fb49b137924616799a5ac934152abd7d7d5e45d46150a4c52afe344cc34072115f621e6802869ad43ebabae SHA512 7813a84e8d6da50b34c7b814abd0fd156c789736c6cc8d39b06c417684db049fb719b6be480d8cf5b2b2b8dc6ad94bc7e89bd90b5018b807a5dd3cf5103e3bc8
AUX montage-5.0-fix_freetype_incude.patch 1164 BLAKE2B 94d791eb684d9a6a725a90b9361f1ef29d6654c59bfe4b0620a1af4412a49ade15fae9f6e0ff5b63134574e73a7ff75190f40df4bc3883cfc6e9c286e9d63573 SHA512 1ca955f06765fc90164190a090ec177a06c9cb359fe93b43b8553af06b8eb4a06c8d2685d76fbee0fc70dad525a184b9a4dfde8acef4f4d9703610fb69b73ad5
+AUX montage-6.1-montagelib-dep.patch 922 BLAKE2B d60e6507fc83bb82d4ac4886392634713bf49b0aa874e20c60ef183a991837e9bba7e14c23099572cdde78ac83c913ac4f98592b94c2593ad30428c2d853abcc SHA512 a856a0187e9992187877232d66d953003721bb2953e7375da508f5626168b8f363f4c0eb081cf88720e299216f2329e5ebf20fc8168024d61a9d9499b7d3749b
+AUX montage-6.1-presentation-strcpy.patch 579 BLAKE2B 98af1bf6b13628744f2c8856da58d3ce1b397a8e0bd87c6b2c8877d677c5c66e02bafc57a21d8b7114c23f172d5091662addb3866ac6fb5466342650c6b90ff3 SHA512 f2550fc5ae9ac511198d4dff16f857a48d5c1592682c701d931b2757838a522918012467721ba9427c2c3761044ea44aa450ae14ab6b262f1fb17c628fad78c4
+AUX montage-6.1-prototypes.patch 9633 BLAKE2B 4982739e05dceefc1345d816c31e91fae7db1d45008fe98ae631e4f24f37e259104ad18b166959822e4e8fb1bc42148fceded22ef3aacf5c85680967bf8ad47d SHA512 1d37b3fdb488c3c0e8380536171177a7e5283b4df67360bdd526d13b986e7854c4b72cd281ebe380028c37e5c06ff7d6d702fe085a1b57868670d522011f85e8
+AUX montage-6.1-tcol-cntr.patch 558 BLAKE2B be89a096a5177d32c87ca4c89307ca9e720bf6d5283ff98535a89d7655058ad188ef1ae8afad1763a162424ad9db6e185d2b25137294082e636b1c44861e89be SHA512 747101bf25ba5c2404f7b5b5e00953978b750c43644df4f21faa8b1f31d8d737ba1ec1616829f1480da019d454b16fcd59e35fd385bb1b9e01f533c9569c6b76
DIST Montage_v5.0.tar.gz 14663443 BLAKE2B b7dea04a0b9650b3e32bc425891c1221d60123c29663013b4af860efc238dee7552a2b55514ad7eda3be659873e3f14d2039b2e6eea20f565d64c7b8bd055069 SHA512 1396c7f846db4844d2e861622d152f2115ad4c684da02bb14116dfe3d01b559feaf29572663d0dfd234aa50843afaca3bb072d9127fbb2b539a14327c48499ae
+DIST montage-6.1.tar.gz 45025917 BLAKE2B cae563e0a90bf4be4682964f817c885927ad75771266ad1acc4fd891c4cc56572e7552cfac0fa34b5f8071003ead8b94cf57824b5f872ae9edf3c2b5a5e39836 SHA512 063e7701f2e93031d21896addbb5e2de86e71d41a13241987432fd25ae98bfb1cf18b5d955dcaacf5672d58996a8f4aae1b19ca5d5587c7f0ae0daf0d7bed862
EBUILD montage-5.0-r1.ebuild 1799 BLAKE2B 49943069dc0d22bc2ed8761eae3c5786a32767efc35a663d12c54898424d89c52b53db933a73d95b938e2d09f9d6f99ee220a04641220c136a6296161a1ab046 SHA512 4468b80a9cffd4d3cd193d149081a0c07ece3d5d88c281a5e2190a09cb1d0ecae3d16470b0fa1128b9b452843e689c81affd7da5c15d10a6b1521d8d00743698
EBUILD montage-5.0.ebuild 1651 BLAKE2B 2199e85858ecc798b6664d620f4685703a7c973ebf33cf4bb39f37abfd921cf18dbde1fb78812301215c152e5e8b56948e1e90901281881d9c88e4f121133e37 SHA512 0d15f64a7c075082bb098a69453cbbaf61d81c914388931e4352155eac871f76c36a3abd2c29be8f0afc58ef22ba64047f3045402cf10b2c7772dc0418d5c13a
+EBUILD montage-6.1.ebuild 1922 BLAKE2B 0893f5a9a23038b6f7553beedd450c6599a0b1ab24de240c4fbacdad8b333923b00fec56aa1a7a6993edd7e4434dbefba06e2a8ac87cfd06ec9f3d90d98bdde9 SHA512 02e6104e9679ed562ccd27ca67b7c5ca76e7ae573305793b59b362e236013f2119c14a39b4d2e1757ea6e4485bef35dfbba372b5d295f7d70e16c8e963182942
MISC metadata.xml 1032 BLAKE2B 998c8753167679cd4446dc223990e6c6b5af858a6561d912656da9aa1026b6f3ac407d1e86d43b7fda36cdaa5eff0d0b381dae6f99512ab8f1660a6ba54b83ca SHA512 ce0b489ca4f62e1e30ec6e39a53dbf11fe0bca57e3169d33a734c6cc8a48ba721d9693adde15a2ac88228be2eb341a7328e12062fee98f76f99887de1f0b0191
diff --git a/sci-astronomy/montage/files/montage-6.1-montagelib-dep.patch b/sci-astronomy/montage/files/montage-6.1-montagelib-dep.patch
new file mode 100644
index 000000000000..3bb2598465e2
--- /dev/null
+++ b/sci-astronomy/montage/files/montage-6.1-montagelib-dep.patch
@@ -0,0 +1,30 @@
+From: Ole Streicher <olebole@debian.org>
+Date: Fri, 20 Dec 2024 08:17:51 +0100
+Subject: Add dependency for Montagelib::lib target
+
+---
+ MontageLib/Makefile | 4 ++--
+ 1 file changed, 2 insertions(+), 2 deletions(-)
+
+diff --git a/MontageLib/Makefile b/MontageLib/Makefile
+index f37df2d..9d41a23 100644
+--- a/MontageLib/Makefile
++++ b/MontageLib/Makefile
+@@ -49,7 +49,7 @@ pgm:
+ (cd FitExec && $(MAKE) && $(MAKE) install)
+ (cd ProjExec && $(MAKE) && $(MAKE) install)
+
+-lib:
++lib: pgm
+ rm -f libmontage.a libmontage.so libmontagepy.so
+ ar q libmontage.a \
+ util/checkFile.o util/checkHdr.o util/checkWCS.o \
+@@ -136,7 +136,7 @@ lib:
+ DiffFitExec/montageDiffFitExec.o \
+ ProjExec/montageProjExec.o
+
+-pythonlibs:
++pythonlibs: pgm
+ rm -f ../python/MontagePy/lib/*.o
+ mkdir -p ../python/MontagePy/lib
+ cp util/checkFile.o util/checkHdr.o util/checkWCS.o \
diff --git a/sci-astronomy/montage/files/montage-6.1-presentation-strcpy.patch b/sci-astronomy/montage/files/montage-6.1-presentation-strcpy.patch
new file mode 100644
index 000000000000..8058a70588e9
--- /dev/null
+++ b/sci-astronomy/montage/files/montage-6.1-presentation-strcpy.patch
@@ -0,0 +1,21 @@
+From: Ole Streicher <olebole@debian.org>
+Date: Tue, 19 Mar 2024 11:28:54 +0100
+Subject: Include string.h in mPresentation.c to declare strcpy()
+
+Closes: #1066317
+---
+ grid/Pegasus/mPresentation.c | 1 +
+ 1 file changed, 1 insertion(+)
+
+diff --git a/grid/Pegasus/mPresentation.c b/grid/Pegasus/mPresentation.c
+index 72da6be..e059e65 100644
+--- a/grid/Pegasus/mPresentation.c
++++ b/grid/Pegasus/mPresentation.c
+@@ -14,6 +14,7 @@ Version Developer Date Change
+ #include <stdlib.h>
+ #include <unistd.h>
+ #include <strings.h>
++#include <string.h>
+
+ #define MAXLEN 20000
+
diff --git a/sci-astronomy/montage/files/montage-6.1-prototypes.patch b/sci-astronomy/montage/files/montage-6.1-prototypes.patch
new file mode 100644
index 000000000000..5f77f9077b2c
--- /dev/null
+++ b/sci-astronomy/montage/files/montage-6.1-prototypes.patch
@@ -0,0 +1,283 @@
+https://github.com/Caltech-IPAC/Montage/pull/85
+--- /dev/null
++++ b/Montage/filePath.h
+@@ -0,0 +1,3 @@
++#pragma once
++
++char *filePath(char *path, char *fname);
+--- a/MontageLib/ArchiveExec/montageArchiveExec.c
++++ b/MontageLib/ArchiveExec/montageArchiveExec.c
+@@ -17,7 +17,6 @@ extern int optind, opterr;
+
+ extern int getopt(int argc, char *const *argv, const char *options);
+
+-char *svc_value();
+
+
+ /*-*****************************************************************/
+--- a/grid/Globus/ExecTG/mExecTG.c
++++ b/grid/Globus/ExecTG/mExecTG.c
+@@ -42,7 +42,6 @@ int debugCheck (char *debugStr);
+ char *mktemp (char *template);
+ int strncasecmp(const char *s1, const char *s2, size_t n);
+ char *url_encode ();
+-char *svc_value ();
+
+ static time_t currtime, start;
+
+--- a/grid/Pegasus/mConcatFit.c
++++ b/grid/Pegasus/mConcatFit.c
+@@ -29,8 +29,6 @@ extern int optind, opterr;
+
+ extern int getopt(int argc, char *const *argv, const char *options);
+
+-char *svc_val();
+-
+ int checkFile(char *filename);
+
+ int debug;
+--- a/grid/Pegasus/mDAG.c
++++ b/grid/Pegasus/mDAG.c
+@@ -31,8 +31,6 @@ Version Developer Date Change
+
+ #define MAXSTR 1024
+
+-char *svc_value();
+-
+ int readTemplate(char *template);
+ int printError (char *msg);
+ int stradd (char *header, char *card);
+--- a/grid/Pegasus/mDAGGalacticPlane.c
++++ b/grid/Pegasus/mDAGGalacticPlane.c
+@@ -30,8 +30,6 @@ Version Developer Date Change
+
+ #define MAXSTR 1024
+
+-char *svc_value();
+-
+ int readTemplate(char *template);
+ int printError (char *msg);
+ int stradd (char *header, char *card);
+--- a/grid/Pegasus/mDiffFit.c
++++ b/grid/Pegasus/mDiffFit.c
+@@ -20,6 +20,7 @@ Version Developer Date Change
+ #include <sys/stat.h>
+
+ #include <svc.h>
++#include "filePath.h"
+
+ #include "montage.h"
+
+@@ -34,9 +35,6 @@ char cmd [MAXSTR];
+ char msg [MAXSTR];
+ char status [MAXSTR];
+
+-char *svc_value();
+-char *filePath ();
+-
+ extern char *optarg;
+ extern int optind, opterr;
+
+--- a/lib/src/coord/ccalc.c
++++ b/lib/src/coord/ccalc.c
+@@ -15,7 +15,10 @@
+ #define DD2AS(d) (d * 3600.)
+ #define AS2DD(a) (a / 3600.)
+
+-extern void convertCoordinates();
++void
++convertCoordinates(int insys, double inepoch, double inlon, double inlat,
++ int outsys, double outepoch, double *outlon, double *outlat,
++ double obstime);
+
+ static int ExtractEpochInfo(char *from_sys, char *from_epoch, char *to_sys,
+ char *to_epoch, int *jsysin, double *eqx1,
+--- a/lib/src/coord/computeFKCorrections.c
++++ b/lib/src/coord/computeFKCorrections.c
+@@ -14,6 +14,13 @@ static double dad[181], dpmad[181], dd[181], dpmdd[181],
+
+ void initializeFK5CorrectionData();
+ void loadFK5Constants();
++static double interpolateLinear(double y1, double y2,
++ double x1, double x2, double x0);
++static double interpolateBilinear(double za1d1, double za2d1,
++ double za1d2, double za2d2,
++ double a1, double a2,
++ double d1, double d2,
++ double a, double d);
+
+
+ /****************************************************************************/
+@@ -50,8 +57,6 @@ besselianToJulianFKCorrection(double ain, double d, double dmag, double epoch,
+ int loc, loc1, loc2, locx1, locx2;
+ int n1, n3;
+
+- double interpolateLinear(), interpolateBilinear();
+-
+ double dec1, dec2, dtest, fkpdec= 89.999;
+ double xmag1, xmag2, a;
+ double delepk, delras, deldas, delpma, delpmd, dcosd;
+--- a/lib/src/coord/convertBesselianJulian.c
++++ b/lib/src/coord/convertBesselianJulian.c
+@@ -4,13 +4,15 @@
+
+ extern int japply;
+
+-void correctCoordinateRange();
+-void getEquETermCorrection();
+-void getEclETermCorrection();
+-void refinedEquETermCorrection();
+-void refinedEclETermCorrection();
+-void correctForEquatorialETerms();
+-void correctForEclipticETerms();
++void correctCoordinateRange(double *ra, double *dec);
++void getEquETermCorrection(double ra, double dec, double *dra, double *ddec);
++void getEclETermCorrection(double epoch, double elon, double elat,
++ double *dra, double *ddec);
++void refinedEquETermCorrection(double ra, double dec, double *dra, double *ddec);
++void refinedEclETermCorrection(double obsdatej, double elon, double elat,
++ double *delon, double *delat);
++void correctForEquatorialETerms(double date, double *ra, double *dec);
++void correctForEclipticETerms(double date, double *ra, double *dec);
+
+
+
+--- a/lib/src/coord/convertEclEqu.c
++++ b/lib/src/coord/convertEclEqu.c
+@@ -2,7 +2,7 @@
+ #include <math.h>
+ #include <coord.h>
+
+-double computeEquPole();
++double computeEquPole(double date, int besselian);
+
+
+
+--- a/lib/src/coord/coord.h
++++ b/lib/src/coord/coord.h
+@@ -94,31 +94,57 @@ typedef enum {A = 0 , /* 0 */
+
+ /* Prototypes of callable functions */
+
+-void convertCoordinates();
+-void convertEclToEqu();
+-void convertEquToEcl();
+-void convertEquToGal();
+-void convertGalToEqu();
+-void convertGalToSgal();
+-void convertSgalToGal();
+-
+-void convertBesselianToJulian();
+-void convertJulianToBesselian();
+-void precessBesselian();
+-void precessBesselianWithProperMotion();
+-void precessJulian();
+-void precessJulianWithProperMotion();
+-void julianToBesselianFKCorrection();
+-void besselianToJulianFKCorrection();
+-
+-int ccalc();
+-int degreeToDMS();
+-int degreeToHMS();
+-int degreeToSex();
+-int sexToDegree();
+-int parseCoordinateString();
+-
+-double roundValue();
++void
++convertCoordinates(int insys, double inepoch, double inlon, double inlat,
++ int outsys, double outepoch, double *outlon, double *outlat,
++ double obstime);
++void convertEclToEqu(double elon, double elat, double *ra, double *dec,
++ double date, int besselian);
++void convertEquToEcl(double ra, double dec, double *elon, double *elat,
++ double date, int besselian);
++void convertEquToGal(double ra, double dec, double *glon, double *glat);
++void convertGalToEqu(double glon, double glat, double *ra, double *dec);
++void convertGalToSgal(double glon, double glat, double *sglon, double *sglat);
++void convertSgalToGal(double sglon, double sglat, double *glon, double *glat);
++
++void convertBesselianToJulian(double equinoxin, double ra, double dec,
++ double obsdatein, int ieflg,
++ double *raout, double *decout);
++void convertJulianToBesselian(double ra, double dec,
++ double obsdatein, int ieflg, double equinoxout,
++ double *raout, double *decout);
++void precessBesselian(double epochin, double rain, double decin,
++ double epochout, double *raout, double *decout);
++void precessBesselianWithProperMotion
++ (double epochin, double rain, double decin,
++ double epochout, double *raout, double *decout,
++ double pmain, double pmdin, double pin, double vin,
++ double *rapm, double *decpm);
++void precessJulian(double epochin, double rain, double decin,
++ double epochout, double *raout, double *decout);
++void precessJulianWithProperMotion
++ (double epochin, double rain, double decin,
++ double epochout, double *raout, double *decout,
++ double pmain, double pmdin, double pin, double vin,
++ double *rapm, double *decpm);
++void
++julianToBesselianFKCorrection(double ra, double dec, double xmag, double tobs,
++ double *corra, double *corrd, double *corrpa,
++ double *corrpd);
++void
++besselianToJulianFKCorrection(double ain, double d, double dmag, double epoch,
++ double *corra, double *corrd, double *corrpa,
++ double *corrpd);
++
++int ccalc(struct COORD *from, struct COORD *to, char *longprec, char *latprec);
++int degreeToDMS(double deg, int prec, int *neg, int *d, int *m, double *s);
++int degreeToHMS(double deg, int prec, int *neg, int *h, int *m, double *s);
++int degreeToSex(double lon, double lat, char *lonstr, char *latstr);
++int sexToDegree(char *cra, char *cdec, double *ra, double *dec);
++int parseCoordinateString(char *cmd, char *lonstr, char *latstr,
++ char *csys, char *cfmt, char *epoch);
++
++double roundValue(double value, int precision);
+
+
+ #define ISIS_COORD_LIB
+--- a/lib/src/coord/sexToDecimalDegree.c
++++ b/lib/src/coord/sexToDecimalDegree.c
+@@ -7,7 +7,7 @@
+ #define FALSE 0
+ #define TRUE !FALSE
+
+-void getSubstrings();
++void getSubstrings(char *string, char **subst, int *nsub);
+ int checkFormat(char *);
+
+
+--- a/lib/src/svc/svc.h
++++ b/lib/src/svc/svc.h
+@@ -47,7 +47,7 @@ int svc_command(int svc, char *cmdstr);
+ char *svc_value(char *ref);
+ int svc_getargs (char *cmd, char **cmdv);
+ void svc_sigset();
+-void svc_sighandler();
++void svc_sighandler(int sig);
+ SVC *svc_struct(char *instr);
+ char *svc_stripblanks(char *ptr, int len, int quotes);
+ int svc_free(SVC *svc);
+--- a/util/Exec/mExec.c
++++ b/util/Exec/mExec.c
+@@ -33,6 +33,8 @@ Version Developer Date Change
+ #include <math.h>
+ #include <time.h>
+
++#include "filePath.h"
++
+ #define MAXLEN 4096
+ #define BUFSIZE 32769
+ #define MAXHDR 80000
+@@ -51,9 +53,7 @@ char *mktemp (char *template);
+ int debugCheck (char *debugStr);
+
+ char *url_encode ();
+-char *svc_value ();
+ char *keyword_value();
+-char *filePath ();
+ int printerr (char *str);
+ int stradd (char *header, char *card);
+ int FITSerror (char *fname, int status);
diff --git a/sci-astronomy/montage/files/montage-6.1-tcol-cntr.patch b/sci-astronomy/montage/files/montage-6.1-tcol-cntr.patch
new file mode 100644
index 000000000000..c6120ce65343
--- /dev/null
+++ b/sci-astronomy/montage/files/montage-6.1-tcol-cntr.patch
@@ -0,0 +1,22 @@
+From: Ole Streicher <olebole@debian.org>
+Date: Fri, 20 Dec 2024 08:10:53 +0100
+Subject: Fix argument of tcol in mExec.c
+
+Closes: #1089268
+---
+ util/Exec/mExec.c | 2 +-
+ 1 file changed, 1 insertion(+), 1 deletion(-)
+
+diff --git a/util/Exec/mExec.c b/util/Exec/mExec.c
+index 67cb9b1..1f4ca0d 100644
+--- a/util/Exec/mExec.c
++++ b/util/Exec/mExec.c
+@@ -2409,7 +2409,7 @@ int main(int argc, char **argv, char **envp)
+
+ ncols = topen("pimages.tbl");
+
+- icntr = tcol('cntr');
++ icntr = tcol("cntr");
+
+ if(icntr < 0)
+ {
diff --git a/sci-astronomy/montage/montage-6.1.ebuild b/sci-astronomy/montage/montage-6.1.ebuild
new file mode 100644
index 000000000000..eeacf49c95a8
--- /dev/null
+++ b/sci-astronomy/montage/montage-6.1.ebuild
@@ -0,0 +1,71 @@
+# Copyright 1999-2025 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+inherit toolchain-funcs flag-o-matic
+
+DESCRIPTION="Toolkit for assembling FITS images into mosaics"
+HOMEPAGE="http://montage.ipac.caltech.edu/"
+SRC_URI="https://github.com/Caltech-IPAC/Montage/archive/refs/tags/v${PV}.tar.gz -> ${P}.tar.gz"
+S="${WORKDIR}/Montage-${PV}"
+
+LICENSE="BSD GPL-2"
+SLOT="0"
+KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux"
+IUSE="doc"
+
+RDEPEND="
+ app-arch/bzip2:=
+ media-libs/freetype:2
+ sci-astronomy/wcstools
+ sci-libs/cfitsio:0=
+ media-libs/libjpeg-turbo:=
+"
+DEPEND="${RDEPEND}"
+BDEPEND="virtual/pkgconfig"
+
+PATCHES=(
+ "${FILESDIR}"/${PN}-6.1-prototypes.patch
+ "${FILESDIR}"/${PN}-6.1-tcol-cntr.patch
+ "${FILESDIR}"/${PN}-6.1-presentation-strcpy.patch
+ "${FILESDIR}"/${PN}-6.1-montagelib-dep.patch
+)
+
+src_prepare() {
+ default
+
+ sed -e '/cfitsio/d' \
+ -e '/wcssubs/d' \
+ -e '/jpeg/d' \
+ -e '/freetype/d' \
+ -e '/bzip2/d' \
+ -i lib/src/Makefile MontageLib/Makefile || die
+
+ tc-export CC AR
+
+ # bug #708396
+ append-cflags -fcommon
+
+ find . -type f -name Makefile\* -execdir sed -i \
+ -e "/^CC.*=/s#\(gcc\|cc\)#$(tc-getCC)#g" \
+ -e "/^CFLAGS.*=/s#-g#${CFLAGS} $($(tc-getPKG_CONFIG) --cflags wcstools)#g" \
+ -e "s#-I../../lib/freetype/include #$($(tc-getPKG_CONFIG) --cflags freetype2)#g" \
+ -e 's#$(CC) -o#$(CC) $(LDFLAGS) -o#g' \
+ -e 's#$(CC) -g -o#$(CC) $(LDFLAGS) -o#g' \
+ -e "s#-lwcs#$($(tc-getPKG_CONFIG) --libs wcstools)#g" \
+ -e "s#-lcfitsio#$($(tc-getPKG_CONFIG) --libs cfitsio)#g" \
+ -e 's#-lnsl##g' \
+ -e "s#\tar #\t$(tc-getAR) #g" \
+ -e "s#ranlib #$(tc-getRANLIB) #g" \
+ -e "s#\tgcc -shared#\t$(tc-getCC) \$(LDFLAGS) -shared#g" \
+ -e "s#\tgcc -std=gnu99 -o#\t$(tc-getCC) \$(LDFLAGS) -o#g" \
+ -e "s#\tgcc -std=gnu99 -g -O2#\t$(tc-getCC) \$(CFLAGS)#g" \
+ '{}' + || die
+}
+
+src_install() {
+ dobin bin/*
+ dodoc README* ChangeHistory
+ use doc && dodoc -r man/*
+}
diff --git a/sci-astronomy/siril/Manifest b/sci-astronomy/siril/Manifest
index e7268ff697e1..684adb9abced 100644
--- a/sci-astronomy/siril/Manifest
+++ b/sci-astronomy/siril/Manifest
@@ -4,6 +4,6 @@ AUX siril-docfiles.patch 433 BLAKE2B 3c781f4a0604f56ada235094eb481b4b51912921719
DIST siril-1.2.5.tar.bz2 4618710 BLAKE2B 9f953e2e6d30298e5da27c174250c596929681b7309e1c6a8f2d99282c23bc921e3ce34a4ab6a31c5629ab248c12bab5183572f9d0829ce52a7033db93d0c4af SHA512 8b62cafd5a22bec694e0ccf4a042509d403672c5311bdd9dffb8654ad896a4a82e59e5dcbac91cf701a3c5c601a3aad1200508d4a8249703420b33931eb4b438
DIST siril-1.2.6.tar.bz2 4621526 BLAKE2B b0d2b69ac601a28f033c2b02eda8a418aba1bdbacb9f1abe52b69a4a133808e3c176274da5fb7e025aff558243e9a187d77dbecad302d4b437e4fc3b33483934 SHA512 bf1503a9759e08c2767dc267860d129be7ce345695db0c89a4bf199775c084f77e10f2675e9491074f21022dcbdd3fdb161be5d541405c18c25a758226703009
EBUILD siril-1.2.5.ebuild 2202 BLAKE2B 64318d6ad6f4793818ce99ba1a41e25247289609b95459387ea98fa1647bf68ad2cb95b6c28ae4284e5d21b35e1641f9706b89063ba900a485defde3b0bd14ed SHA512 9d39e66d4238cb83f8f7a0f64f4da542edb0de2f5aeeed74a3134d043c0de4bf7792816cfea96106876ef3b487fa1ceb89ca0db67aceba6ad920465fb0ad0e96
-EBUILD siril-1.2.6.ebuild 2203 BLAKE2B f302fbbbd333b8f0194243a730baaf2eb86e30a277e60c440bc3b63b475c422e0df372072f5988b699b92050134ace232c59adbafc5cfb4148ac547b719bfa98 SHA512 f2c89e50320eebafb08cf05ac947f1cbceb8f028c5b8f84afad96d172342e29a69c3ec0d2bcb80116a3b1dbdbf4ddcbcf3acf5de85e3cf0340b418c2abd88855
+EBUILD siril-1.2.6.ebuild 2202 BLAKE2B 64318d6ad6f4793818ce99ba1a41e25247289609b95459387ea98fa1647bf68ad2cb95b6c28ae4284e5d21b35e1641f9706b89063ba900a485defde3b0bd14ed SHA512 9d39e66d4238cb83f8f7a0f64f4da542edb0de2f5aeeed74a3134d043c0de4bf7792816cfea96106876ef3b487fa1ceb89ca0db67aceba6ad920465fb0ad0e96
EBUILD siril-9999.ebuild 2118 BLAKE2B ece544aded06995d0f87502c68558ec749b7a7f164df9abd6a1b3bc09b13683d701c49195651155192421082fa92c19706e3751637e35b09b54e9c411933e4c6 SHA512 49e5bf7f8d406ca42e13977fdc591fce9985bb9e6f76796b9bf38d123d380f11806a9590320dd8f065737bfe2b1a12b6f8fcc8b0e727e5d89fc4c66bb5ad4118
MISC metadata.xml 1230 BLAKE2B a06f55d651e08bc453b4fcf214125668da4bfcd1b612ce00624329de275a28245ccfa842aaab294e043e06c057a0b92725ecc76f4d415d40451bdd2c05b9c462 SHA512 81480de0f4080e61c2d3528f8dfdfd3562f341680acd0084986849a16552970c219c01c2599a5e7e47dc4bc77f5fb3e51ac6e478f1d0bb78a029cb0f0b5d63e1
diff --git a/sci-astronomy/siril/siril-1.2.6.ebuild b/sci-astronomy/siril/siril-1.2.6.ebuild
index 81060208a53e..f08acf469ee0 100644
--- a/sci-astronomy/siril/siril-1.2.6.ebuild
+++ b/sci-astronomy/siril/siril-1.2.6.ebuild
@@ -13,7 +13,7 @@ if [[ ${PV} == "9999" ]]; then
EGIT_REPO_URI="https://gitlab.com/free-astro/${PN}.git"
else
SRC_URI="https://gitlab.com/free-astro/siril/-/archive/${PV/_/-}/${PN}-${PV/_/-}.tar.bz2"
- KEYWORDS="~amd64 ~x86"
+ KEYWORDS="amd64 ~x86"
S="${WORKDIR}/${PN}-${PV/_/-}"
fi
diff --git a/sci-astronomy/stellarium/Manifest b/sci-astronomy/stellarium/Manifest
index 9a00af58044f..c01e84903fde 100644
--- a/sci-astronomy/stellarium/Manifest
+++ b/sci-astronomy/stellarium/Manifest
@@ -1,15 +1,32 @@
AUX stellarium-0.23.4-unbundle-zlib.patch 920 BLAKE2B 8dbf677312956b9c75d698cb51ce49de119e2258b9ddf05f8d77ac6f0590c5f707fc18de10e98322c8fe09fb573305780704f33eb71227c144e3ad4ccc2b6a14 SHA512 57b12bb6581e8ad6d5ec2ca6af13648b50feea88f0a1f5ede0031b561817821882192e90800627b349215841a5a0a37102e7b513d6d5c7ccbeb9db936db79ebf
AUX stellarium-0.24.4-indilib.patch 1641 BLAKE2B c63043724ecfde7a3e45148905ca20841d5b8cebe773b62c7c019c59772e2f156023807ab40ff6a6ce9aec330f689ccda2d555455530e584061f3c7a672e812b SHA512 5c922190d593232b589020bcedc962b478bce8de4f6b36404d0ebf13d177ae20814447df50bdbad82d37d2681a1164b018f1f74259891edf1f5e5bcf1728c7fd
+AUX stellarium-0.25.1-astrometry.patch 2039 BLAKE2B 3ff0c5ab9d2768cdf0833e2656439cc8a516496bb68ac2c0466a3884bb47624607d0e36b273425906f5dae42704a98b3f6d320189699d31a57a518d25ce04e93 SHA512 cb439adc86812d68bb0be25efb02c3726076f5bd5f033d2b4effa0a402a3e67eca3a185b87693eeb9504a8f3755218b1221fc5efd635390f36151d9012d7e648
+AUX stellarium-0.25.1-md4c.patch 798 BLAKE2B 92bf62d3419b2ad5d620e93ef89ad595a6feef7ee0b03ea0abc5507648a88156cc6afeb305d2532c3f4019657b8972bfd4e49d9f758a73f7f31d1d3fc9f55c01 SHA512 ddc412d0b6eb8a524a4275704fbdc0fec869dcac0ebf7e09dd559d242448be4b2d085295ade24f1dc3b067dac7e95fb387ae25195cb45f8ba9fa96aae34f305d
DIST stars_4_1v0_2.cat 16948302 BLAKE2B 6efe02c6343fa3cd121879dddd3017dbd42a7c8965481b1ab79a258cedc4adc85df25240003b95c325eb35a8ed9686c38b2590f78aff9cd400ecac675583232d SHA512 80e5b2d0bc78c09658e84e7ee57309be290ba66a131ff38aa471235ff513d7824b28f6852ba1fdb485f86ede1fb2388cfb6327b2f1fe60bb097ce0cdbe48d2cb
+DIST stars_4_1v0_6.cat 55759776 BLAKE2B a62d35c697690feb0eb9a83dcda9b9f28d9ef0b57d4fc1c8e4049d7a5209e5a7d0d960dc927649ef8ebd2c6ffce1eca56cf8dcd15e75c870213fe95ec29a2af0 SHA512 315e61e181e056e9429e216b90aeaec61308c91f7f097f94325ed016e815ba2a0adf2b7ea2bf641b4f42afef07cda3cf78cf7ab0f1a9aa4d4e79c39d7b2edbbf
+DIST stars_4_1v0_6.cat.asc 313 BLAKE2B 3aa4cb97987ff4acfddf6ee804bcffe8157c605b04eb9ceefccaeced15d3d8d0706aab955ad59482a1b635edbef8078680a6b70d5942b4bdf03edc19a003028b SHA512 b9e72d1840a110fe6087c263c9c36696f1fc17758bf68719f901ac16dfeda0f578a7837a88da0c6f2bdf3f6be5e2e1658f54be2a8eede82e9031ebd26287235d
+DIST stars_5_1v0_6.cat 257743872 BLAKE2B 9c84b28b596ac003fb262f6c7273327fdf24f19dd13356271068ffcff5357cc1f4c754227045895988699b257418bf533f2712087aa7b43fd19fe86ed34db0ed SHA512 73b4a8a6344ff329ba65ff6e3d8577b6524f8bb8c1a620dba9e4080641a578f066a312a5e72b79b99f97c9571c4a7dc213dc014832eeb96e00ad45e964303ce5
+DIST stars_5_1v0_6.cat.asc 313 BLAKE2B 3d40462ea53ec05c1ec2cdee6b007ec8375a5071878c87a3394b6bf29364c5720e0bdc571251de42cff0456c4057941bd0ffb22945d32dd31e13259e09371f3e SHA512 7e920b7b00e9080128f9fb50b0af1258f1aace855ae2d3535aad9674cbe202e52bc48ea8c3d8bac9a228698869d980dc90b209452b8c733cce373ad762710a7b
DIST stars_5_2v0_1.cat 42580300 BLAKE2B eb6528c0577b3f2001a8b03cc5a4e08fa4e75723f677d0dda98d27c50791d9825c0e0feca7b00f0cb82ce362bc83f3e8dc2260d14e81e4a070cbbfa44f2107ba SHA512 6fc0f7352d1165a0744cc932b6d379741e4614d5a95edd136522c789eaa8d1bcf05d7445f7dfd6896e8183aa64bf37b3610d87902b54542f62f2418b285892e0
+DIST stars_6_1v0_4.cat 956479200 BLAKE2B 7d53987ae6fabcb9879f010944008e6798342611db72ce85a322e712417418c5137e35ffd97e3aa6a56574d79689fbd78c6094f6831893202ea022cbede0b226 SHA512 051154ab596a1be53d9dda98d7978864787c9d1996f7714aef12f53d32a502d079cb2812718c2c101409e5619fcfc03172dbfbdc5ef1aa2c41480de7aa38d68b
+DIST stars_6_1v0_4.cat.asc 313 BLAKE2B a8cdcee892b3d4ea5f945fa0878d7c20605d3f5c67e773be8851c28bb2ae328e7720792b2e29cb86d959e13a760869588cb53c0acf92e4ab0f4ab302052fc179 SHA512 d16c5ef59e9f6785f37329c678710304712d141c331f30f87272be71ba43adbf4203cb3eb9f6835484f96e6ee19b73e7d18355e71df6d6eb80ba98e163f51b8b
DIST stars_6_2v0_1.cat 148352404 BLAKE2B c605b284b3d768cb1619ada3f58d406fa7737f09949e8926d6c14b82a85927d124d7fcb50c6d6c357d21b003938cc0b28937f2adb28ae268bb5c85d575f5e0ff SHA512 794279407595f44bbc1e492086063d98068bf332202a5448cd83dd7afbdcf7c6c3ff2878f3016369ebb5a98552874eb4eddb38e2c40e9a163c6231b640e02977
+DIST stars_7_1v0_4.cat 1842421888 BLAKE2B 5f5e323565c0b3fba1006e08b9e27d2db6e6c501dbfbb18c9e206767a80a3511bd73a0701cb5ec58e73db9ea35feabf70519ca8e1a7ec68a7275dc892e1555f9 SHA512 47344376a265a165b10743630216b8c7f54a7d87a8d78c31d0acaefeec5b1722aba89b8c049b75da63851bacb3a861f0d10f29188bb01ed52141ea9b829d4377
+DIST stars_7_1v0_4.cat.asc 313 BLAKE2B 4d2ad78812ed45e655266cdfffd4eaaae6ced690a6c511eaef2932fad9e7cb68389d069162e2e99eb4df9ed0630d7cdb2adae6cbcfa85ee049ae13e471d9f5ac SHA512 ff0b216116e86abf6bd3b46a44df986dfc91fe61df988f1d939f4db0d4456283dda0e5a6fe562433ab7dfcc096a35adeafdbeab497bc16d8587a89729fab9d6a
DIST stars_7_2v0_1.cat 305710678 BLAKE2B 1cc9b4a6bc35a9339e495f7e0da4f7e90a0e92b05b5de8599be1bbdd2a8053cbcec44b0e58bc9248364666db9cdf23449edf236e3f21fdc0e8f1a4a706afc919 SHA512 43b866eb793e8812c9d5502101a6c985d2055fb88bdbda274726bcd51e1527ecf342b22acd673318c9c8e88cac68eace18de8f27d29ffe64933fd32a5b84c5e3
DIST stars_8_2v0_1.cat 559068934 BLAKE2B c040a369cdf6885759998e1315b554d21a5e2b9b149a67967a8af45606aebf57bec407fab5ce1904978af0dc529aa6bddd267331ca45f58617bbf56d5ca99dee SHA512 06d4fa298b9dff8452f550377df99fcaa5e7107cfc7b75c9a4769b3cb6d97a822a54213c706102c1d7ef2dabc16df32a85f46b2f6d6c6f76a4e919353b739de4
+DIST stars_8_2v0_3.cat 1971773856 BLAKE2B 49aab2f1490cd25c83a50eea4cab5c54d3db0e7f473140f466f8d2f205af3bfe981e94cdcd7eb164993df851396895304d325f1064634115ca8355b35fddc3d5 SHA512 026c3f4972a09fcd98a083f440654b614c89041e38dc5810d799bf986786d8e500cdb0cf6f9124fec1e91ba2891375d5778daf8a2c2906873cb4d41669f6fbe0
+DIST stars_8_2v0_3.cat.asc 313 BLAKE2B 39c0f8a3189dc2434cb6c38f786bcf504bcfcb6473fd26ffbef7d84b3de7e351f8f3fe57171958965e1e0740eb3b2e88aa9d6e7eb66befcf6e0c1f882cada355 SHA512 90c1ae0e9391c3f940ef6c114385408f8d181b87c611f6240379d98f51d0a4cc4feb6b0433b345770ebac23485b1d219d38d5caf4addd24868da54143ef75537
DIST stellarium-24.4.tar.xz 328675340 BLAKE2B 4c16e84083b64f8c9fc3cd8cab7c479583ceae7d99b12e3d5c1a2c35980eb081e55e3f849698c3c57b8a06915a51bdce4bf4521b4481c42f5d8e69c8392ae248 SHA512 07a24fa9fc1f4e1c862925751d37169e391cf161decc764baa470406a3ce4e5fa15cf224f1affd7aab1cb224f66a49db1bd65bdd70dbdb43cc2e3c7b9ae92b9a
DIST stellarium-24.4.tar.xz.asc 313 BLAKE2B ff5ac5f915bf814d6bd5d6765739a332788a773e796536e65768169cb491ff6bad5f2e7218f6f4a4a4435786224ac8aed0f024e252fe66621faa2425a91abe07 SHA512 07dc7da0c84670165d53cb4a64adec6ae281a655c3cc72f90f25cfd4a7df7f3cc70253d2d0a9cda8089f5a8dadaac2edbf06821762ae2dd238de5975364d9d39
+DIST stellarium-25.1.tar.xz 371392288 BLAKE2B 4edaca0e61756bb4c4f835f8b2878e299c2eea2eef9e39ddf00d5c59d2e30954d8020cce6b93fbec9affb17708317df9de06e7deab3205f4af8c6309d27b5ef6 SHA512 c413e31994e98e69b85885ee2114847e9d5d541e0c5fcc213f4a0af1c520eadddbdc1873815f1a827cad6c15f644f2422f477d0fc96ec68e2afe58d83a75bbee
+DIST stellarium-25.1.tar.xz.asc 313 BLAKE2B 8a2a0dc5acbe9e8afa2004896f8e6b1fb752a81d147ba85d55e37ce5b6404686e6d623c934de15d394e2fe132e0343cb5b36cd1b5bbd449d9ac1e59870d7f7e3 SHA512 a9af17ce957e8a91017c6114094b0cc862737255102ba97d42e5c218cb16404839e674e59d2716943dc1e02cddf6dce78dad6ce988e2dd0b46ac88f4f6d245c7
DIST stellarium-dso-catalog-3.20.dat 28678745 BLAKE2B 24ddf76e81e91424cced5df74dd164d17a45fed2b65c1dc1e7065371c18a796350a1e1aab2da5860376eb90eac07e7c836ffdbb324a0d3eda6c91e8ce1c4ab3a SHA512 c84832bbf56d1097db3ff8fa8f3faadac1470a9f79d9ee759493915a48754dc86174551b5e705786f29331991bee57daa4cab6d7ecc2e4e00a2f895823ccfd87
DIST stellarium-dso-catalog-3.20.dat.asc 313 BLAKE2B a7d9a1977ff4e1b21a80239d85ad5123ad03c2dcd57422cec7c2585eddb1004bbfc2b29a934653bc36c438981218811d21ade7380ae49278ef2c4f387ab762e5 SHA512 e8a7b10bb157d15b550a31646c8d8ce9933a77f748900a9c75f0c78b9b9205ce5e4e2ec18248ba786aacd5fbf36da00bbaf578b8b011c75351a9237568e62f1b
DIST stellarium_user_guide-24.4-1.pdf 13416178 BLAKE2B ffa110294a6689c0e32eb9027d88bc1bd458d59018d80b1085d83b80bd3f91754ee74493f431ab5d6163c871aa7685e789619e41ce7a1dbb3cff8377f737af23 SHA512 0d27f95b913c4b2a5676290f09791abb1bae2fe121c19479dcd1ba350881cd6b56a5b1bd69b1efe82f805d2ca8cbea8192c0c43064d2919aa75aef488900808a
DIST stellarium_user_guide-24.4-1.pdf.asc 313 BLAKE2B 6bca7ff1a4bf150390bda99c0967c371931f9fceac215c7e79c0360196d4addd870c1913efb351e94cf128605e0277624f0e84d6c9668d9781709c995ec3551d SHA512 3d7fa66f533f12c0cccffa23365a5c4347a4d9c7f835e392914d4e3adc8fa865549d9af9d7dee247aaa671cb6374c65c33624f705bd7512947177ac6a30c4833
+DIST stellarium_user_guide-25.1-1.pdf 14438330 BLAKE2B fa7d53aec3a0c0ff2e941b9846eb726d9e895284139dffaa5242fd0f8c657ecfeb44446e4f3a5b145fd643b32b43bd28e21910b1f2d94a002f22661b96665019 SHA512 0c24e1710c58180352119b45e98dc1c1fdf11ceab1ddfa815c8659b615ccbaa4eb8a937f955cfc70a835307c3fa25037be502091c8dfa6fd89a22c2b72a13107
+DIST stellarium_user_guide-25.1-1.pdf.asc 313 BLAKE2B 67a4f96966af10f1c0bcf96be521933cf8ba52707d7992d857b2dc863c232a4a752e11af47680fc4bb6df93913a3cac09fe03ef7cbe2ee560395071254ea7fd5 SHA512 b3fb4f21f750ca2ad0ad3b845212a55d6a04468e4127ffaa541bac60e67c0e0cbc1f213128522afd3b8da26137db68db7c0670bba25b59e9cc3b9aae43fe6513
EBUILD stellarium-24.4.ebuild 5498 BLAKE2B 623cc0cd7084c445c9ba2d7b13667791ddad4a949581c9a0750bfae89e7031f0cbcec070766c1434dcd5d516e48ebd2c45b6db473c7449610647b738d93e1600 SHA512 2b4ad511ff42aba0c86d83e88ce5efef0c1dc58f37efdabaffd9d00976a121305f3b845f676040759d7a1b0ffc4eee6ea4aa22b16a4a5ff3bb094d2b2d9a9433
+EBUILD stellarium-25.1.ebuild 5693 BLAKE2B a1e1a8715c5d7308386a8cd39d795e53ebb53b98d4bc2f4c794c7376bf9523baf8821876ba5feadce4f158a9038b7eb4f6adfed5bb2a2c236708f34d9cb25585 SHA512 b93851a8e1385d0367b57ed3c5198e12410a1b44cf6af8a399727c05dbc60dd53e482e486a7ac845623d05e60617af2a7ce4cf96d158f7d02fd1567ae651cd8c
MISC metadata.xml 1838 BLAKE2B 67fa2ad6e5fe2c1dd3f7aa678d41f0f6f2749e44b2cf76730f60a84af792e3b78f293b487c7a2732da171f2c291afbe49d9126a29e4e66e569873a9861200509 SHA512 f9d117746a3bec0b6726ec66c322f7e7cfb00bf3735b1f4f85b2388b310337abdd90881fff048e3abaf05eee74338c98975619e9255e9fd111485337a8d9374a
diff --git a/sci-astronomy/stellarium/files/stellarium-0.25.1-astrometry.patch b/sci-astronomy/stellarium/files/stellarium-0.25.1-astrometry.patch
new file mode 100644
index 000000000000..29b2de0b2e4e
--- /dev/null
+++ b/sci-astronomy/stellarium/files/stellarium-0.25.1-astrometry.patch
@@ -0,0 +1,50 @@
+From 4e1b49c3d593d04fa9970f1a0d59d9ef0a661a5b Mon Sep 17 00:00:00 2001
+From: "Alexander V. Wolf" <alex.v.wolf@gmail.com>
+Date: Wed, 26 Mar 2025 21:18:07 +0700
+Subject: [PATCH] Fix astrometry tests (fix #4246)
+
+---
+ src/tests/testAstrometry.cpp | 24 +++---------------------
+ 1 file changed, 3 insertions(+), 21 deletions(-)
+
+diff --git a/src/tests/testAstrometry.cpp b/src/tests/testAstrometry.cpp
+index f5e07b4c81445..5a2e7a448b655 100644
+--- a/src/tests/testAstrometry.cpp
++++ b/src/tests/testAstrometry.cpp
+@@ -33,33 +33,15 @@ QTEST_GUILESS_MAIN(TestAstrometry)
+ void TestAstrometry::initTestCase()
+ {
+ // Define the directory to search in
+- QDir dir(QDir::currentPath());
++ QDir dir(STELLARIUM_SOURCE_DIR);
+ // make a list of star catalog files stars_0_*.cat, stars_1_*.cat, stars_2_*.cat and stars_3_*.cat
+ QStringList filters;
+ filters << "stars_0_*.cat" << "stars_1_*.cat" << "stars_2_*.cat" << "stars_3_*.cat";
+ QStringList files;
+ QString file;
+
+- while (!dir.isRoot()) // check directory one by one if the current directory contains star catalog files
+- {
+- // check if at least one "stars_*.cat" file exist under the directory
+- if (dir.exists("stars/hip_gaia3")) // check if the directory exists, if yes go in to check
+- {
+- dir.cd("stars/hip_gaia3");
+- dir.setNameFilters(QStringList() << filters[0]);
+- files = dir.entryList(QDir::Files);
+- if (!files.isEmpty()) // in case the directory does not contains any star catalog file
+- {
+- break;
+- }
+- else
+- {
+- // go back to the parent directory and keep searching
+- dir.cd("../../");
+- }
+- }
+- dir.cdUp(); // one level up at a time
+- }
++ // Go to star catalog directory...
++ dir.cd("stars/hip_gaia3");
+
+ // assert the directory exists
+ QVERIFY2(dir.exists(), "Star catalog directory does not exist! Can't perform the rest of the tests.");
diff --git a/sci-astronomy/stellarium/files/stellarium-0.25.1-md4c.patch b/sci-astronomy/stellarium/files/stellarium-0.25.1-md4c.patch
new file mode 100644
index 000000000000..1a82aacff428
--- /dev/null
+++ b/sci-astronomy/stellarium/files/stellarium-0.25.1-md4c.patch
@@ -0,0 +1,18 @@
+Fixed upstream in 3a3e69417109abd92f0640ec2c63d1c4dbb7274d
+
+--- a/CMakeLists.txt
++++ b/CMakeLists.txt
+@@ -1,1 +1,1 @@
+-CPMAddPackage(NAME md4c
++CPMFindPackage(NAME md4c
+--- a/src/CMakeLists.txt
++++ b/src/CMakeLists.txt
+@@ -524,7 +524,7 @@ IF(ENABLE_SPOUT AND SPOUT_LIBRARY_DLL)
+ CONFIGURE_FILE(${SPOUT_LIBRARY_DLL} ${CMAKE_CURRENT_BINARY_DIR} COPYONLY)
+ ENDIF()
+
+-SET(STELMAIN_DEPS md4c-html ${ZLIB_LIBRARIES} glues_stel ${STELLARIUM_STATIC_PLUGINS_LIBRARIES} ${STELLARIUM_QT_LIBRARIES} ${SPOUT_LIBRARY} ${STD_EXECUTION_LIBS})
++SET(STELMAIN_DEPS md4c::md4c-html ${ZLIB_LIBRARIES} glues_stel ${STELLARIUM_STATIC_PLUGINS_LIBRARIES} ${STELLARIUM_QT_LIBRARIES} ${SPOUT_LIBRARY} ${STD_EXECUTION_LIBS})
+ IF(USE_BUNDLED_QTCOMPRESS)
+ SET(STELMAIN_DEPS ${STELMAIN_DEPS} qtcompress_stel)
+ ENDIF()
diff --git a/sci-astronomy/stellarium/stellarium-25.1.ebuild b/sci-astronomy/stellarium/stellarium-25.1.ebuild
new file mode 100644
index 000000000000..e163e6d86560
--- /dev/null
+++ b/sci-astronomy/stellarium/stellarium-25.1.ebuild
@@ -0,0 +1,174 @@
+# Copyright 1999-2025 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+PYTHON_COMPAT=( python3_{10..13} )
+inherit cmake desktop flag-o-matic python-any-r1 toolchain-funcs xdg verify-sig virtualx
+
+DESCRIPTION="3D photo-realistic skies in real time"
+HOMEPAGE="https://stellarium.org/ https://github.com/Stellarium/stellarium"
+MY_DSO_VERSION="3.20"
+SRC_URI="
+ https://github.com/Stellarium/stellarium/releases/download/v${PV}/${P}.tar.xz
+ verify-sig? ( https://github.com/Stellarium/stellarium/releases/download/v${PV}/${P}.tar.xz.asc )
+ deep-sky? (
+ https://github.com/Stellarium/stellarium-data/releases/download/dso-${MY_DSO_VERSION}/catalog-${MY_DSO_VERSION}.dat -> ${PN}-dso-catalog-${MY_DSO_VERSION}.dat
+ verify-sig? ( https://github.com/Stellarium/stellarium-data/releases/download/dso-${MY_DSO_VERSION}/catalog-${MY_DSO_VERSION}.dat.asc -> ${PN}-dso-catalog-${MY_DSO_VERSION}.dat.asc )
+ )
+ doc? (
+ https://github.com/Stellarium/stellarium/releases/download/v${PV}/stellarium_user_guide-${PV}-1.pdf
+ verify-sig? ( https://github.com/Stellarium/stellarium/releases/download/v${PV}/stellarium_user_guide-${PV}-1.pdf.asc )
+ )
+ stars? (
+ https://github.com/Stellarium/stellarium-data/releases/download/stars-3.0/stars_4_1v0_6.cat
+ https://github.com/Stellarium/stellarium-data/releases/download/stars-3.0/stars_5_1v0_6.cat
+ https://github.com/Stellarium/stellarium-data/releases/download/stars-3.0/stars_6_1v0_4.cat
+ https://github.com/Stellarium/stellarium-data/releases/download/stars-3.0/stars_7_1v0_4.cat
+ https://github.com/Stellarium/stellarium-data/releases/download/stars-3.0/stars_8_2v0_3.cat
+ verify-sig? (
+ https://github.com/Stellarium/stellarium-data/releases/download/stars-3.0/stars_4_1v0_6.cat.asc
+ https://github.com/Stellarium/stellarium-data/releases/download/stars-3.0/stars_5_1v0_6.cat.asc
+ https://github.com/Stellarium/stellarium-data/releases/download/stars-3.0/stars_6_1v0_4.cat.asc
+ https://github.com/Stellarium/stellarium-data/releases/download/stars-3.0/stars_7_1v0_4.cat.asc
+ https://github.com/Stellarium/stellarium-data/releases/download/stars-3.0/stars_8_2v0_3.cat.asc
+ )
+ )"
+
+LICENSE="GPL-2+ SGI-B-2.0"
+SLOT="0"
+KEYWORDS="~amd64"
+IUSE="debug deep-sky doc gps +lens-distortion libcxx media nls +scripting +show-my-sky stars telescope test webengine +xlsx"
+
+# Python interpreter is used while building RemoteControl plugin
+BDEPEND="
+ ${PYTHON_DEPS}
+ dev-lang/perl
+ doc? ( app-text/doxygen[dot] )
+ nls? ( dev-qt/qttools:6[linguist] )
+ verify-sig? ( sec-keys/openpgp-keys-stellarium )
+"
+# TODO: review need for dev-cpp/tbb after several releases of gcc and clang
+RDEPEND="
+ dev-cpp/tbb:=
+ dev-libs/md4c
+ dev-qt/qtbase:6=[concurrent,gui,network,widgets]
+ dev-qt/qtcharts:6
+ media-fonts/dejavu
+ >=sci-astronomy/calcmysky-0.3.0:=[qt6(+)]
+ sys-libs/zlib
+ gps? (
+ dev-qt/qtpositioning:6
+ dev-qt/qtserialport:6
+ sci-geosciences/gpsd:=[cxx]
+ )
+ lens-distortion? (
+ media-gfx/exiv2:=
+ sci-libs/nlopt
+ )
+ media? (
+ dev-qt/qtmultimedia:6[gstreamer]
+ virtual/opengl
+ )
+ scripting? ( dev-qt/qtdeclarative:6 )
+ telescope? (
+ dev-qt/qtserialport:6
+ sci-libs/indilib:=
+ )
+ webengine? ( dev-qt/qtwebengine:6[widgets] )
+ xlsx? ( dev-libs/qxlsx:=[qt6(+)] )
+"
+DEPEND="${RDEPEND}
+ libcxx? ( dev-cpp/fast_float )
+"
+
+RESTRICT="!test? ( test )"
+
+PATCHES=(
+ "${FILESDIR}/stellarium-0.25.1-md4c.patch"
+ "${FILESDIR}/stellarium-0.25.1-astrometry.patch"
+)
+
+VERIFY_SIG_OPENPGP_KEY_PATH=/usr/share/openpgp-keys/stellarium.asc
+
+pkg_setup() {
+ if tc-is-clang && ! use libcxx && [[ $(tc-get-cxx-stdlib) == libc++ ]]; then
+ die "When using libc++, please enable USE=libcxx"
+ fi
+}
+
+src_prepare() {
+ cmake_src_prepare
+ use debug || append-cppflags -DQT_NO_DEBUG #415769
+
+ rm -r src/external/qtcompress/ || die
+ rm -r src/external/zlib/ || die
+ rm -r src/external/fake-indi/ || die
+
+ # for glues_stel aka libtess I couldn't find an upstream with the same API
+
+ local remaining="$(cd src/external/ && echo */)"
+ if [[ "${remaining}" != "glues_stel/" ]]; then
+ eqawarn "Need to unbundle more deps: ${remaining}"
+ fi
+}
+
+src_configure() {
+ filter-lto # https://bugs.gentoo.org/862249
+
+ local mycmakeargs=(
+ -DCCACHE_PROGRAM=no
+ -DCPM_LOCAL_PACKAGES_ONLY=yes
+ -DUSE_BUNDLED_QTCOMPRESS=no
+ -DENABLE_GPS="$(usex gps)"
+ -DENABLE_MEDIA="$(usex media)"
+ -DENABLE_NLS="$(usex nls)"
+ -DENABLE_QT6=yes
+ -DENABLE_QTWEBENGINE="$(usex webengine)"
+ -DENABLE_SHOWMYSKY=$(usex show-my-sky)
+ -DENABLE_SCRIPTING=$(usex scripting)
+ -DENABLE_TESTING="$(usex test)"
+ -DENABLE_XLSX="$(usex xlsx)"
+ -DUSE_PLUGIN_LENSDISTORTIONESTIMATOR="$(usex lens-distortion)"
+ -DUSE_PLUGIN_TELESCOPECONTROL="$(usex telescope)"
+ "$(cmake_use_find_package doc Doxygen)"
+ )
+ cmake_src_configure
+}
+
+src_test() {
+ virtx cmake_src_test
+}
+
+src_compile() {
+ cmake_src_compile
+
+ if use doc ; then
+ cmake_build apidoc
+ fi
+}
+
+src_install() {
+ if use doc ; then
+ local HTML_DOCS=( "${BUILD_DIR}/doc/html/." )
+ dodoc "${DISTDIR}/stellarium_user_guide-${PV}-1.pdf"
+ fi
+ cmake_src_install
+
+ # use the more up-to-date system fonts
+ rm "${ED}"/usr/share/stellarium/data/DejaVuSans{Mono,}.ttf || die
+ dosym ../../fonts/dejavu/DejaVuSans.ttf /usr/share/stellarium/data/DejaVuSans.ttf
+ dosym ../../fonts/dejavu/DejaVuSansMono.ttf /usr/share/stellarium/data/DejaVuSansMono.ttf
+
+ if use stars ; then
+ insinto /usr/share/${PN}/stars/hip_gaia3
+ doins "${DISTDIR}"/stars_{4,5}_1v0_6.cat
+ doins "${DISTDIR}"/stars_{6,7}_1v0_4.cat
+ doins "${DISTDIR}"/stars_8_2v0_3.cat
+ fi
+ if use deep-sky ; then
+ insinto /usr/share/${PN}/nebulae/default
+ newins "${DISTDIR}/${PN}-dso-catalog-${MY_DSO_VERSION}.dat" catalog.dat
+ fi
+ newicon doc/images/stellarium-logo.png ${PN}.png
+}