public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
From: "Joonas Niilola" <juippis@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: sci-astronomy/stellarium/
Date: Wed, 26 Jul 2023 07:42:44 +0000 (UTC)	[thread overview]
Message-ID: <1690357340.116cc21a8b9c9e86ab094f71f55ef41953e01e36.juippis@gentoo> (raw)

commit:     116cc21a8b9c9e86ab094f71f55ef41953e01e36
Author:     Alexey Sokolov <alexey+gentoo <AT> asokolov <DOT> org>
AuthorDate: Mon Jul  3 21:55:59 2023 +0000
Commit:     Joonas Niilola <juippis <AT> gentoo <DOT> org>
CommitDate: Wed Jul 26 07:42:20 2023 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=116cc21a

sci-astronomy/stellarium: add 23.2

Signed-off-by: Alexey Sokolov <alexey+gentoo <AT> asokolov.org>
Closes: https://github.com/gentoo/gentoo/pull/31732
Signed-off-by: Joonas Niilola <juippis <AT> gentoo.org>

 sci-astronomy/stellarium/Manifest               |   4 +
 sci-astronomy/stellarium/stellarium-23.2.ebuild | 189 ++++++++++++++++++++++++
 2 files changed, 193 insertions(+)

diff --git a/sci-astronomy/stellarium/Manifest b/sci-astronomy/stellarium/Manifest
index d7af24766947..ec5ff3c6f920 100644
--- a/sci-astronomy/stellarium/Manifest
+++ b/sci-astronomy/stellarium/Manifest
@@ -5,7 +5,11 @@ DIST stars_7_2v0_1.cat 305710678 BLAKE2B 1cc9b4a6bc35a9339e495f7e0da4f7e90a0e92b
 DIST stars_8_2v0_1.cat 559068934 BLAKE2B c040a369cdf6885759998e1315b554d21a5e2b9b149a67967a8af45606aebf57bec407fab5ce1904978af0dc529aa6bddd267331ca45f58617bbf56d5ca99dee SHA512 06d4fa298b9dff8452f550377df99fcaa5e7107cfc7b75c9a4769b3cb6d97a822a54213c706102c1d7ef2dabc16df32a85f46b2f6d6c6f76a4e919353b739de4
 DIST stellarium-23.1.tar.xz 347455652 BLAKE2B 1cd367b91a77bd9ace1afe667d9579fad9c1f8cb5c30b851bc2dfcfcd389913a5c3014b589d3c9454a27a8f48ea97c763030f6dfa7bf2c684e29f5ae38db53f4 SHA512 94077b0408fd78b12706760b9ca20cb9b8a24e94ad7daedca922ab310714b6a6fea03a0cdf3fa9dc614be14472b17416e1d5849283c6faba7f8bf91eaa6ab9d6
 DIST stellarium-23.1.tar.xz.asc 313 BLAKE2B 69a9c88defbd1fa955ad3f93af98d33a1b959fdbe7a8138590f5fbd88c25d5b25b3929a31d235eaf43af562e9eb2bd70a2ca4999dffeb3cb5d71f9bf4d692025 SHA512 d9ee09317d0bfc1758fb771ac15a2d4c29cb6cd77cbffd2f4046137a243d31c2253a3f367a12c2a089a4c09b865a78670ab626b8e7f40a8500c2f0abb5d60474
+DIST stellarium-23.2.tar.xz 317080088 BLAKE2B ac1d0473ba6c8e5c56a95113b48fb710e0dfb61c7fe45b39165e994b22f58c3de899f0d147158a2fcc933f91c5328ee0f6b4ce4c6a56b818f2db20fa5d89930f SHA512 ba1ab70367eb626fdc831a5845a25d5deb6ed4d89c1bd6acc9b769e1cd739afb6bc98263a842e3153e1015796e5ef132fd1077b590010c4de1090e13928a7200
+DIST stellarium-23.2.tar.xz.asc 313 BLAKE2B e1ac6d32211edff8dfdd44d0b2bc98ea54e17f33ed9c0e3b49036aabcc20608bcee7a478d8763eb23dfd045c5151961f733bcbd894b61f806788c897eda60b3b SHA512 c2867bc9b0aca5c47b32bd5ae8c91a563d896b392bcb3d705e9f0b8246f0396bc79fba5681e8f5a7b423535f08e3f11fa5b5db20715b9e2a962390f6c1471c22
 DIST stellarium-dso-catalog-3.19.dat 28678714 BLAKE2B 855ec3370efa2ad33d9a99cf473659c76cbcfce87c10df67a6f81514fe3fa2385e295e1a092e55db8164093628e5038399dd62b837e39efc2306be15a0292dc5 SHA512 4187c574789c2bb387791039465eed9c915fec16ae4edbf0c160406dd7bdf7dae0c70846f0208ca639909bb6842c2bc3c2337302bfaf1394f4e081707df5079c
 DIST stellarium-dso-catalog-3.19.dat.asc 313 BLAKE2B 6ae0acdb9b1012e71c346e5834b88dd1e8146789158a5d81e7e992b1730ab5a74899aac76b84b269fb1ccdc2494ddb258209c580751705bda6023fc59132e7d7 SHA512 95a1cf3911c67e2104d6240b9a5e0ce0d0f2d8ed5edcb40303432d17b3d4ccd8875eb9b9e8b7f94e81d1103dba98d3ac5cb6354933f78ebda83015a45297a159
 DIST stellarium_user_guide-23.1-1.pdf 32513574 BLAKE2B 30e971f186d88bdfe5d8346dd4385444eb75e84ce8f5acc8d9f3a6050ac5a7c734b6f74e681738cdb4d4af91645b50a81bb65798b5caa58a9a23691bb40b5593 SHA512 5e5a69f9377496fb42ce2e2ce72e4caf0d35e475e586ccba2814ca7d2e2a3f60bfc46e496f9153a7b4157977460ac7c574d7f452f4af746799ecc9231e32e49d
 DIST stellarium_user_guide-23.1-1.pdf.asc 313 BLAKE2B b573ea45b236ad35cca1614919bb1e2076d4785f2d5d878a874f9536df9c454c9aa2a90797ea930f669676bc23db545ca051996f2ba2124e3eb3acc0890bc975 SHA512 124f9a4ee2452297d6ffdf696cb32c7087d7b5e31c08c56016842414b407fd8c14ce1dd59d160b7d685a0db88982e0a9b6410fbe69ef476a3a16649e16c591a2
+DIST stellarium_user_guide-23.2-1.pdf 32767542 BLAKE2B feb317354b0e696b585fb9edbe2a643bd57ba9da7657173506c1989d63618dcc4e2dd15fd1a9009d919d99ab4b28bd56599b569df11a573aa8d0af8ab85522ef SHA512 d699c9acd048d44221409515657a1f8a3be01629e64e233a1fb114c3935ee1c0fdffe9c7cd1ac60337d8168858f8d9ca3f5624965ff3343463b1a1a0b1b32849
+DIST stellarium_user_guide-23.2-1.pdf.asc 313 BLAKE2B bbc579e34b00a5e5b3497955e7cafcefbf9400063c97dee11bcc0c66e46f446f247c20e1d0205cf9b2117330d4209b6289808a59db4ff298c986771ca962a136 SHA512 d8fac13754bde068cb581ca21149ebcb6307bf4c71c95083fa4bf6e01f953f8d586ed5e149d91ca6439995d6fb7049254be09001ad0c8ff354ea75f7600e5de6

diff --git a/sci-astronomy/stellarium/stellarium-23.2.ebuild b/sci-astronomy/stellarium/stellarium-23.2.ebuild
new file mode 100644
index 000000000000..b0ee74a8a236
--- /dev/null
+++ b/sci-astronomy/stellarium/stellarium-23.2.ebuild
@@ -0,0 +1,189 @@
+# Copyright 1999-2023 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+PYTHON_COMPAT=( python3_{9..11} )
+inherit cmake desktop flag-o-matic python-any-r1 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.19"
+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 ~ppc ~ppc64 ~riscv ~x86"
+IUSE="debug deep-sky doc gps media nls qt6 +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-doc/doxygen[dot] )
+	nls? (
+		!qt6? ( dev-qt/linguist-tools:5 )
+		qt6? ( dev-qt/qttools:6[linguist] )
+	)
+	verify-sig? ( sec-keys/openpgp-keys-stellarium )
+"
+RDEPEND="
+	media-fonts/dejavu
+	sys-libs/zlib
+	gps? ( sci-geosciences/gpsd:=[cxx] )
+	media? ( virtual/opengl )
+	!qt6? (
+		dev-qt/qtcharts:5
+		dev-qt/qtcore:5
+		dev-qt/qtgui:5=
+		dev-qt/qtnetwork:5
+		dev-qt/qtwidgets:5
+		>=sci-astronomy/calcmysky-0.3.0:=[qt5]
+		gps? (
+			dev-qt/qtpositioning:5
+			dev-qt/qtserialport:5
+		)
+		media? (
+			dev-qt/qtmultimedia:5[widgets]
+			dev-qt/qtopengl:5
+		)
+		scripting? ( dev-qt/qtscript:5 )
+		telescope? ( dev-qt/qtserialport:5 )
+		webengine? ( dev-qt/qtwebengine:5[widgets] )
+		xlsx? ( dev-libs/qxlsx:=[qt5] )
+	)
+	qt6? (
+		dev-qt/qtbase:6=[gui,network,widgets]
+		dev-qt/qtcharts:6
+		>=sci-astronomy/calcmysky-0.3.0:=[qt6]
+		gps? (
+			dev-qt/qtpositioning:6
+			dev-qt/qtserialport:6
+		)
+		media? (
+			dev-qt/qtmultimedia:6[gstreamer]
+		)
+		scripting? ( dev-qt/qtdeclarative:6 )
+		telescope? ( dev-qt/qtserialport:6 )
+		webengine? ( dev-qt/qtwebengine:6[widgets] )
+		xlsx? ( dev-libs/qxlsx:=[qt6] )
+	)
+	telescope? ( sci-libs/indilib:= )
+"
+DEPEND="${RDEPEND}
+	!qt6? (
+		dev-qt/qtconcurrent:5
+		test? ( dev-qt/qttest:5 )
+	)
+	qt6? ( dev-qt/qtbase:6=[concurrent] )
+"
+
+RESTRICT="!test? ( test )"
+
+PATCHES=(
+	"${FILESDIR}/stellarium-0.20.3-unbundle-zlib.patch"
+	"${FILESDIR}/stellarium-0.22.2-ccache.patch"
+)
+
+VERIFY_SIG_OPENPGP_KEY_PATH=${BROOT}/usr/share/openpgp-keys/stellarium.asc
+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/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=(
+		-DCPM_LOCAL_PACKAGES_ONLY=yes
+		-DENABLE_GPS="$(usex gps)"
+		-DENABLE_MEDIA="$(usex media)"
+		-DENABLE_NLS="$(usex nls)"
+		-DENABLE_QT6="$(usex qt6)"
+		-DENABLE_QTWEBENGINE="$(usex webengine)"
+		-DENABLE_SHOWMYSKY=$(usex show-my-sky)
+		-DENABLE_SCRIPTING=$(usex scripting)
+		-DENABLE_TESTING="$(usex test)"
+		-DENABLE_XLSX="$(usex xlsx)"
+		-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	other threads:[~2023-07-26  7:42 UTC|newest]

Thread overview: 137+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-07-26  7:42 Joonas Niilola [this message]
  -- strict thread matches above, loose matches on Subject: below --
2025-02-10 20:10 [gentoo-commits] repo/gentoo:master commit in: sci-astronomy/stellarium/ Arthur Zamarin
2025-02-10 19:01 Arthur Zamarin
2025-01-30 16:23 Andreas Sturmlechner
2025-01-24 20:10 Andreas Sturmlechner
2025-01-08 21:46 Andreas Sturmlechner
2024-12-31  4:57 Sam James
2024-12-31  4:57 Sam James
2024-10-23 19:50 Arthur Zamarin
2024-10-19 14:07 Jakov Smolić
2024-10-17 23:36 Sam James
2024-10-17 14:03 Joonas Niilola
2024-09-13 19:37 Arthur Zamarin
2024-09-13 19:33 Arthur Zamarin
2024-07-05  2:59 Eli Schwartz
2024-07-05  2:59 Eli Schwartz
2024-05-28 22:01 Sam James
2024-04-30  6:42 Sam James
2024-03-02 14:55 Arthur Zamarin
2024-02-18  8:50 Joonas Niilola
2024-01-11  9:38 Sam James
2024-01-10 12:31 Jakov Smolić
2024-01-10 12:10 Sam James
2023-11-29 19:02 Arthur Zamarin
2023-10-25  7:40 Joonas Niilola
2023-09-06  8:29 Joonas Niilola
2023-08-29  7:57 Joonas Niilola
2023-05-25  2:53 John Helmert III
2023-05-06  9:28 Arthur Zamarin
2023-05-06  9:28 Arthur Zamarin
2023-04-29 21:21 Sam James
2023-04-29 20:20 Sam James
2023-03-30  9:05 Florian Schmaus
2023-02-02 18:58 Arthur Zamarin
2023-01-29 17:08 Joonas Niilola
2023-01-29  5:26 Sam James
2023-01-29  5:07 Sam James
2023-01-14  8:55 Joonas Niilola
2023-01-13 10:55 Joonas Niilola
2022-12-18 21:07 Arthur Zamarin
2022-12-18 20:22 Arthur Zamarin
2022-12-18 19:50 Arthur Zamarin
2022-11-18 12:47 Arthur Zamarin
2022-11-18 12:46 Arthur Zamarin
2022-11-15  7:16 Yixun Lan
2022-08-22  8:54 Agostino Sarubbo
2022-08-22  7:53 Agostino Sarubbo
2022-05-26 12:58 Joonas Niilola
2022-05-23 18:55 Sam James
2022-05-23 18:55 Sam James
2022-05-23  6:43 Joonas Niilola
2022-04-19 16:57 Arthur Zamarin
2022-04-18 20:29 Sam James
2022-04-18 20:29 Sam James
2022-04-18 20:29 Sam James
2022-02-10  0:42 Sam James
2022-02-10  0:42 Sam James
2022-02-07 22:22 Sam James
2022-02-07  9:39 Sam James
2021-11-22  7:51 Agostino Sarubbo
2021-11-22  7:48 Agostino Sarubbo
2021-11-21 14:27 Sam James
2021-11-21 14:27 Sam James
2021-11-04  5:43 Yixun Lan
2021-09-11 21:34 Sam James
2021-08-27 20:06 Sam James
2021-08-27 20:00 Sam James
2021-08-27 20:00 Sam James
2021-07-04 20:32 David Seifert
2021-06-07 13:20 Agostino Sarubbo
2021-06-07  6:28 Sergei Trofimovich
2021-06-06 23:19 Sam James
2021-03-07  6:59 Joonas Niilola
2021-03-05  6:11 Joonas Niilola
2021-01-20 14:13 Joonas Niilola
2020-11-11  8:40 Joonas Niilola
2020-11-11  8:40 Joonas Niilola
2020-11-04 14:46 Joonas Niilola
2020-11-04  8:11 Joonas Niilola
2020-10-10  7:22 Joonas Niilola
2020-09-18  7:54 Agostino Sarubbo
2020-09-07 15:43 Joonas Niilola
2020-08-30 19:10 Thomas Deutschmann
2020-08-22  5:43 Agostino Sarubbo
2020-07-16 14:39 Joonas Niilola
2020-06-28 20:37 Agostino Sarubbo
2020-06-28 20:33 Agostino Sarubbo
2020-06-28 20:27 Agostino Sarubbo
2020-05-24 21:30 Andreas Sturmlechner
2020-05-24 21:30 Andreas Sturmlechner
2020-01-13  9:12 Agostino Sarubbo
2020-01-13  8:45 Agostino Sarubbo
2020-01-12 23:22 Sergei Trofimovich
2020-01-12 22:53 Sergei Trofimovich
2020-01-01 10:08 Andreas Sturmlechner
2019-11-02 16:37 Andreas Sturmlechner
2019-11-02 15:23 Andreas Sturmlechner
2019-07-21 21:48 Andreas Sturmlechner
2019-07-02  8:28 Sergei Trofimovich
2019-07-02  8:24 Sergei Trofimovich
2019-06-28 15:21 Agostino Sarubbo
2019-06-28 11:37 Agostino Sarubbo
2019-02-14 18:37 Andreas Sturmlechner
2019-02-12 21:03 Sergei Trofimovich
2019-02-10  7:19 Mikle Kolyada
2019-02-09 18:36 Thomas Deutschmann
2018-11-12 23:00 Andreas Sturmlechner
2018-11-12 23:00 Andreas Sturmlechner
2018-11-12 23:00 Andreas Sturmlechner
2018-10-09  8:27 Andreas Sturmlechner
2018-10-06 19:45 Andreas Sturmlechner
2018-06-12 15:58 Mikle Kolyada
2018-06-12 11:36 Thomas Deutschmann
2018-06-12  7:37 Andreas Sturmlechner
2018-06-12  7:37 Andreas Sturmlechner
2018-06-12  7:33 Andreas Sturmlechner
2018-05-26 22:36 David Seifert
2018-01-05 22:02 Ulrich Müller
2017-08-30 14:05 Michael Palimaka
2017-07-05 19:32 Sebastien Fabbro
2017-03-19 13:23 David Seifert
2017-01-15 10:13 David Seifert
2016-10-22 12:01 David Seifert
2016-10-14 18:41 David Seifert
2016-08-02 11:13 Jeroen Roovers
2016-05-13 14:51 Agostino Sarubbo
2016-04-06  2:49 Michael Sterrett
2016-03-16  8:03 Jeroen Roovers
2016-03-06 12:58 Agostino Sarubbo
2016-02-12 16:48 Michael Sterrett
2016-02-05 18:52 Michael Sterrett
2016-01-11  6:51 Michael Sterrett
2015-12-26 10:36 Agostino Sarubbo
2015-12-25 15:13 Agostino Sarubbo
2015-11-20 20:13 Michael Sterrett
2015-10-25 17:11 Jeroen Roovers
2015-10-23  9:05 Agostino Sarubbo

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1690357340.116cc21a8b9c9e86ab094f71f55ef41953e01e36.juippis@gentoo \
    --to=juippis@gentoo.org \
    --cc=gentoo-commits@lists.gentoo.org \
    --cc=gentoo-dev@lists.gentoo.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox