commit:     9e86b70269073f0858e51a3e971eb1c59eef1298
Author:     Alexey Sokolov <alexey+gentoo <AT> asokolov <DOT> org>
AuthorDate: Tue Jun 24 23:54:12 2025 +0000
Commit:     Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Fri Jul  4 20:01:47 2025 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=9e86b702

sci-astronomy/stellarium: drop 24.4

Signed-off-by: Alexey Sokolov <alexey+gentoo <AT> asokolov.org>
Part-of: https://github.com/gentoo/gentoo/pull/42733
Signed-off-by: Sam James <sam <AT> gentoo.org>

 sci-astronomy/stellarium/Manifest                  |   9 --
 .../files/stellarium-0.23.4-unbundle-zlib.patch    |  23 ---
 .../files/stellarium-0.24.4-indilib.patch          |  52 ------
 sci-astronomy/stellarium/stellarium-24.4.ebuild    | 179 ---------------------
 4 files changed, 263 deletions(-)

diff --git a/sci-astronomy/stellarium/Manifest 
b/sci-astronomy/stellarium/Manifest
index 7ae2600f9740..3d496a7db99d 100644
--- a/sci-astronomy/stellarium/Manifest
+++ b/sci-astronomy/stellarium/Manifest
@@ -1,25 +1,16 @@
-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

diff --git 
a/sci-astronomy/stellarium/files/stellarium-0.23.4-unbundle-zlib.patch 
b/sci-astronomy/stellarium/files/stellarium-0.23.4-unbundle-zlib.patch
deleted file mode 100644
index 077b1b5710a6..000000000000
--- a/sci-astronomy/stellarium/files/stellarium-0.23.4-unbundle-zlib.patch
+++ /dev/null
@@ -1,23 +0,0 @@
-This patch is not really needed, because zlib is already used from system, but
-it makes it easier to ensure that nothing else is bundled
-
-diff --git a/src/external/CMakeLists.txt b/src/external/CMakeLists.txt
-index e5af410..6d7bf6b 100644
---- a/src/external/CMakeLists.txt
-+++ b/src/external/CMakeLists.txt
-@@ -36,6 +36,7 @@ target_link_libraries(glues_stel Qt${QT_VERSION_MAJOR}::Gui)
- set_target_properties(glues_stel PROPERTIES AUTOMOC 0)
- SET_TARGET_PROPERTIES(glues_stel PROPERTIES FOLDER "src/external")
- 
-+if(0)
- SET(zlib_SRCS
-      zlib/adler32.c
-      zlib/compress.c
-@@ -69,6 +70,7 @@ target_include_directories(zlib_stel PUBLIC zlib)
- #turn off automoc, not needed here
- set_target_properties(zlib_stel PROPERTIES AUTOMOC 0)
- SET_TARGET_PROPERTIES(zlib_stel PROPERTIES FOLDER "src/external")
-+endif()
- 
- ################################# INDI ################################
- IF(USE_PLUGIN_TELESCOPECONTROL)

diff --git a/sci-astronomy/stellarium/files/stellarium-0.24.4-indilib.patch 
b/sci-astronomy/stellarium/files/stellarium-0.24.4-indilib.patch
deleted file mode 100644
index 43d440a33c43..000000000000
--- a/sci-astronomy/stellarium/files/stellarium-0.24.4-indilib.patch
+++ /dev/null
@@ -1,52 +0,0 @@
-https://github.com/Stellarium/stellarium/issues/4019
-
---- a/plugins/TelescopeControl/src/INDI/INDIConnection.cpp
-+++ b/plugins/TelescopeControl/src/INDI/INDIConnection.cpp
-@@ -25,9 +25,9 @@
- #include <limits>
- #include <cmath>
- 
--#include <libs/indiclient/baseclient.h>
--#include <libs/indidevice/basedevice.h>
--#include <libs/indibase/inditelescope.h>
-+#include <libindi/baseclient.h>
-+#include <libindi/basedevice.h>
-+#include <libindi/inditelescope.h>
- 
- const int INDIConnection::SLEW_STOP = INDI::Telescope::SLEW_GUIDE - 1;
- 
---- a/plugins/TelescopeControl/src/INDI/INDIConnection.hpp
-+++ b/plugins/TelescopeControl/src/INDI/INDIConnection.hpp
-@@ -20,8 +20,8 @@
- #define INDICONNECTION_HPP
- 
- #include <QObject>
--#include <libs/indiclient/baseclient.h>
--#include <libs/indidevice/basedevice.h>
-+#include <libindi/baseclient.h>
-+#include <libindi/basedevice.h>
- 
- #include <mutex>
- #include <QStringList>
---- a/plugins/TelescopeControl/src/INDI/TelescopeClientINDI.cpp
-+++ b/plugins/TelescopeControl/src/INDI/TelescopeClientINDI.cpp
-@@ -25,7 +25,7 @@
- 
- #include "StelCore.hpp"
- #include "StelUtils.hpp"
--#include <libs/indibase/inditelescope.h>
-+#include <libindi/inditelescope.h>
- #include "INDIControlWidget.hpp"
- 
- TelescopeClientINDI::TelescopeClientINDI(const QString &name, const QString 
&params):
---- a/plugins/TelescopeControl/src/INDI/test/testINDIConnection.cpp
-+++ b/plugins/TelescopeControl/src/INDI/test/testINDIConnection.cpp
-@@ -23,7 +23,7 @@
- #include <string>
- 
- #include "INDIConnection.hpp"
--#include <libs/indidevice/basedevice.h>
-+#include <libindi/basedevice.h>
- 
- void TestINDIConnection::deafultCoordinates()
- {

diff --git a/sci-astronomy/stellarium/stellarium-24.4.ebuild 
b/sci-astronomy/stellarium/stellarium-24.4.ebuild
deleted file mode 100644
index 10f892cbe476..000000000000
--- a/sci-astronomy/stellarium/stellarium-24.4.ebuild
+++ /dev/null
@@ -1,179 +0,0 @@
-# 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-2.0/stars_4_1v0_2.cat
-               
https://github.com/Stellarium/stellarium-data/releases/download/stars-2.0/stars_5_2v0_1.cat
-               
https://github.com/Stellarium/stellarium-data/releases/download/stars-2.0/stars_6_2v0_1.cat
-               
https://github.com/Stellarium/stellarium-data/releases/download/stars-2.0/stars_7_2v0_1.cat
-               
https://github.com/Stellarium/stellarium-data/releases/download/stars-2.0/stars_8_2v0_1.cat
-       )"
-
-LICENSE="GPL-2+ SGI-B-2.0"
-SLOT="0"
-KEYWORDS="amd64 ~riscv ~x86"
-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-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.23.4-unbundle-zlib.patch"
-       "${FILESDIR}/stellarium-0.24.4-indilib.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_unpack() {
-       # stars-2.0 are not signed
-       if use verify-sig; then
-               pushd "${DISTDIR}" > /dev/null || die
-               verify-sig_verify_detached \
-                       ${P}.tar.xz{,.asc}
-               use deep-sky && verify-sig_verify_detached \
-                       ${PN}-dso-catalog-${MY_DSO_VERSION}.dat{,.asc}
-               use doc && verify-sig_verify_detached \
-                       stellarium_user_guide-${PV}-1.pdf{,.asc}
-               popd > /dev/null || die
-       fi
-       default_src_unpack
-}
-
-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
-
-       # 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/default
-               doins "${DISTDIR}"/stars_4_1v0_2.cat
-               doins "${DISTDIR}"/stars_{5,6,7,8}_2v0_1.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
-}

Reply via email to