From 64b277f858d171900cba8a53e675ef8c3ff893fc Mon Sep 17 00:00:00 2001 From: V3n3RiX Date: Wed, 6 Sep 2023 10:25:44 +0100 Subject: gentoo auto-resync : 06:09:2023 - 10:25:44 --- sci-astronomy/Manifest.gz | Bin 6847 -> 6839 bytes sci-astronomy/stellarium/Manifest | 3 +- sci-astronomy/stellarium/stellarium-23.2-r1.ebuild | 196 +++++++++++++++++++++ sci-astronomy/stellarium/stellarium-23.2.ebuild | 189 -------------------- 4 files changed, 198 insertions(+), 190 deletions(-) create mode 100644 sci-astronomy/stellarium/stellarium-23.2-r1.ebuild delete mode 100644 sci-astronomy/stellarium/stellarium-23.2.ebuild (limited to 'sci-astronomy') diff --git a/sci-astronomy/Manifest.gz b/sci-astronomy/Manifest.gz index 4a59d7fe8908..b588700a262f 100644 Binary files a/sci-astronomy/Manifest.gz and b/sci-astronomy/Manifest.gz differ diff --git a/sci-astronomy/stellarium/Manifest b/sci-astronomy/stellarium/Manifest index b3ab77b827f8..7fd318c76762 100644 --- a/sci-astronomy/stellarium/Manifest +++ b/sci-astronomy/stellarium/Manifest @@ -1,5 +1,6 @@ AUX stellarium-0.20.3-unbundle-zlib.patch 844 BLAKE2B 24468924728aa9f77ebb2a48d87ecef2eb98768dabc8fcf914972da70feca1dc1de9e32e658afdfb796c769244a2882be8a46c4b9145c6e0109498a5f090baae SHA512 e8a645a302f890e0590369ea6b1642fe38f91b20a3076f8c5201b2b23581394dccc6a0b56e2423e3ab45e926e1a3266bf1fb24e0647ea05e59219147e8b53a1d AUX stellarium-0.22.2-ccache.patch 340 BLAKE2B 0365157d357d55d321b297a61911dd52e7230faa9a4460c1373543e0e6021a2651ddff15457e35c966ee207db56fe4ba0cdc2dc4f9cba2255a8be9c75b2cc02b SHA512 62aa2767f02602b787560c48fa72de3c9d7ed09529abfa60bd7f11651913ea5ecabfa2ed1087a0aae16ec5b6a7f8706956d641a11fd7e29133f69041492a51b8 +DIST indilib-1.8.5.tar.gz 2122866 BLAKE2B 203b6c78664aaf3f87b7f697b76544e6ed0fa6db8ac0fe43e6ebcf00de404e96a49b8cd7f8b0be2e4ff5c7f902b3e34177a244a4a49069887f11d28aea073620 SHA512 4c583f7ff0d96d787c7d035e23074f42db3f836ec74a0a7a1595574ae2d32d56234b16abddabacaf9bd5a10cb88c6c37994aafcef86d65a665b2bceae87446f9 DIST stars_4_1v0_2.cat 16948302 BLAKE2B 6efe02c6343fa3cd121879dddd3017dbd42a7c8965481b1ab79a258cedc4adc85df25240003b95c325eb35a8ed9686c38b2590f78aff9cd400ecac675583232d SHA512 80e5b2d0bc78c09658e84e7ee57309be290ba66a131ff38aa471235ff513d7824b28f6852ba1fdb485f86ede1fb2388cfb6327b2f1fe60bb097ce0cdbe48d2cb DIST stars_5_2v0_1.cat 42580300 BLAKE2B eb6528c0577b3f2001a8b03cc5a4e08fa4e75723f677d0dda98d27c50791d9825c0e0feca7b00f0cb82ce362bc83f3e8dc2260d14e81e4a070cbbfa44f2107ba SHA512 6fc0f7352d1165a0744cc932b6d379741e4614d5a95edd136522c789eaa8d1bcf05d7445f7dfd6896e8183aa64bf37b3610d87902b54542f62f2418b285892e0 DIST stars_6_2v0_1.cat 148352404 BLAKE2B c605b284b3d768cb1619ada3f58d406fa7737f09949e8926d6c14b82a85927d124d7fcb50c6d6c357d21b003938cc0b28937f2adb28ae268bb5c85d575f5e0ff SHA512 794279407595f44bbc1e492086063d98068bf332202a5448cd83dd7afbdcf7c6c3ff2878f3016369ebb5a98552874eb4eddb38e2c40e9a163c6231b640e02977 @@ -16,5 +17,5 @@ DIST stellarium_user_guide-23.1-1.pdf.asc 313 BLAKE2B b573ea45b236ad35cca1614919 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 EBUILD stellarium-23.1.ebuild 5625 BLAKE2B f921a0805b88b3b932532aec76f75776308800d1bcf2f77daa6cd82f5b760d7151b562fee1e8e0e8e6e1f4a8bd9ada0b1dc0599a2be0f9defc0660720bbe4e58 SHA512 fe18193f9ca5e8b2f646504e96c66e2a67ddc25219a4d1dd6618d75258cb8574f84f3c4c7f54f6f733b7d2e7a6d643151a7b2aedf2269bc93a5bac0977e1af38 -EBUILD stellarium-23.2.ebuild 5626 BLAKE2B b1217decebff015dc134fe547a93552faac65c0aa9b2fa83388cb49b379da2378f1e2edac983b18caca094eea427bd5b827b70f40d2df8977e0b6666c935e0fe SHA512 39c98dbf5e12b013ef5ee225699180b63255cdcbeef44affaa04a2a5c87f3d745a87adb9b991f1d19c09502c281d43c219029fbf3eac948031b724015526d6bf +EBUILD stellarium-23.2-r1.ebuild 5789 BLAKE2B 6b25f1e6d1cdfd4bb7c8b33b652c720b5cb7a71bf7331a929c6d71814151f300be779482711ec95f8e8315cfa9239bc531adb5b443ec33b158031a2c4e4aaba5 SHA512 282905342bf06ee9a864c4ec60599fa2e5a38c4ab938a09a3986a52c772181b373035da97451e3647aed34247279bd16a31104eec306a615076c93354a82d8f9 MISC metadata.xml 1667 BLAKE2B dd7848212ed755809c49cdba0ed63138b5f6f188240f71601e113894fded940ed3ea3850028915700961789f150ea7f5d91a4ff6c4570b753dbe6ff397b81b46 SHA512 bea670b08be632304aab3b9d456bce249f2109195e6e309bd703778e5a93561e552212c900897b72e293a3d81d188afabd5e1d8c213334f6d01b1dc035badca6 diff --git a/sci-astronomy/stellarium/stellarium-23.2-r1.ebuild b/sci-astronomy/stellarium/stellarium-23.2-r1.ebuild new file mode 100644 index 000000000000..76d6e6f498a1 --- /dev/null +++ b/sci-astronomy/stellarium/stellarium-23.2-r1.ebuild @@ -0,0 +1,196 @@ +# 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 + ) + telescope? ( + https://github.com/indilib/indi/archive/v1.8.5.tar.gz -> indilib-1.8.5.tar.gz + )" + +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] ) + ) +" +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)" + ) + if use telescope; then + mycmakeargs+=( + -DCPM_indiclient_SOURCE="${WORKDIR}/indi-1.8.5" + ) + fi + 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 +} diff --git a/sci-astronomy/stellarium/stellarium-23.2.ebuild b/sci-astronomy/stellarium/stellarium-23.2.ebuild deleted file mode 100644 index 4c2406c674bd..000000000000 --- a/sci-astronomy/stellarium/stellarium-23.2.ebuild +++ /dev/null @@ -1,189 +0,0 @@ -# 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 -} -- cgit v1.2.3