diff options
Diffstat (limited to 'sci-astronomy')
-rw-r--r-- | sci-astronomy/Manifest.gz | bin | 6525 -> 6527 bytes | |||
-rw-r--r-- | sci-astronomy/celestia/Manifest | 3 | ||||
-rw-r--r-- | sci-astronomy/celestia/celestia-1.7.0_pre20220120.ebuild | 124 | ||||
-rw-r--r-- | sci-astronomy/kstars/Manifest | 2 | ||||
-rw-r--r-- | sci-astronomy/kstars/kstars-3.5.7.ebuild | 98 |
5 files changed, 227 insertions, 0 deletions
diff --git a/sci-astronomy/Manifest.gz b/sci-astronomy/Manifest.gz Binary files differindex 9f60c8539d63..be46b6864a5a 100644 --- a/sci-astronomy/Manifest.gz +++ b/sci-astronomy/Manifest.gz diff --git a/sci-astronomy/celestia/Manifest b/sci-astronomy/celestia/Manifest index f435d740f025..31aadeed380c 100644 --- a/sci-astronomy/celestia/Manifest +++ b/sci-astronomy/celestia/Manifest @@ -2,6 +2,9 @@ AUX celestia-1.5.0-desktop.patch 1371 BLAKE2B f4964ea5794b6fa7eff49cb4d9879226e8 AUX celestia-1.6.99-cfg.patch 781 BLAKE2B 04ff4f7c5159eee81479ed588d302fa6a97475955af733e013fcafb2b37975fb1f2215afe61a715b5ec7716dbd75b5915dd4a5031255adb8fde5f6e64d9b71a5 SHA512 50cce63a701da85b52bee5db5b34eed77118c7c847612b4bc7ae82c80b198c718b4adbf0f21cc82e4afbafe20f53dda191285095d6ee5e796ce7f6c94388b832 AUX celestia-1.7.0-cmake_lua_version.patch 287 BLAKE2B 29a555fd2443ba4c20508566a909cdcfe47b3e2ca8fea68d9fdc5427cfcdbd332c3179f3ea090c076d20cd36ec694b7cbef3008f87407ba4af7c6ea311853e24 SHA512 f1ae5eb360399d817c90b2ab058452f55f8fdc293568bd9b919cc2d71586da9146db2131abfd54c2c7dc9cb6230728e8435f7663b7125d8caaebe241aa8a7e72 DIST celestia-1.7.0_pre20200316.tar.gz 69459012 BLAKE2B 8e718e8a4aa064b9be0bd5f0f1c034f3ffec42671c6eae503216f5ea2787e8c5da3315e3cb39e94e2a0eab5f067e189fe70dc9d04bff4127e9e39fba3a7117ae SHA512 db4213e1d76699ff01390f12e3763596dfd2641389743c27221b4e7934be9daca7a884dd389135894d225e8613830468ebede5664543e27e44e21e19d22d1e7f +DIST celestia-1.7.0_pre20220120-data.tar.gz 310327016 BLAKE2B 507a8d5fd1307fc711b9604e00a1596bc971dbb2c936554ffd1f0e842bec6dc6d2233c04911dcd5a6e1405d9e5806c87ec22ba4f26f0e3d770bd1b6735777b0b SHA512 6443127b42586e4ad16b25fa39193a165065682cd8163b241bdcbbe755c2104e4c29b291898076437c4387cd72cdb3bd347a010738505f39ccb658300aff836d +DIST celestia-1.7.0_pre20220120.tar.gz 5157089 BLAKE2B 5ce0413a58b2f4ca9ac9c585bfe1da9aaf0a0405d7e910b3f639d3b3a0532110dd5d28a0aec1c245a4bcebd549847023c2d84e8c29892e228dd87392bebd9ae3 SHA512 175e2280b334c4a2b6be9fa05a06abf8daa9e890cd03c11d359d26b7f0175b1662e3bf0d8abea04ad2f541780ac8b3898e47bc2bdc9e90e408e4607e2ae3fb29 EBUILD celestia-1.7.0_pre20200316-r100.ebuild 2933 BLAKE2B 771921006634959211a64ea8f9ee46bd745cdb706c5d0b946cc315a662ee5e16b1873be04ccb2825fe3f692da7b5bdf06b7a5a8a2e52197cd6f1870f894317ca SHA512 e832c379a85e311904fe49013b9151cab19d5938c96e9b665da44a86bd15da1f994c557fbe0c8064823df3b2dddab203713b64d36d21ef1087674da503742384 +EBUILD celestia-1.7.0_pre20220120.ebuild 3344 BLAKE2B 5116e022cb04c528ee451286bb2cad2cb5f0c600845e959d521c45695c70b003aab8333f14f50cd9bd5956507a5bd386ede6e710c237c83d6379956f05d250ff SHA512 e9560513c8a06eb9ad0ef10fbc011d9f52b80898f9562b57b1023d0b4880f9a514e5befd32f4436656e71b44e55fff221407c6a4664e8f63e154831fd845dc09 EBUILD celestia-9999.ebuild 2707 BLAKE2B 068b0c78b51227880fcb0c53fe02cf4df222d7cab09e0ae0168999ede5c1e3e48876c77216a6877ba5041801121441b2830c1312ed77986c554ae57798e93310 SHA512 1d96a370e64ccced7da9b6493139dcd230dacb28c9097548f797efe134f2afc8f6959efcd4ebf8bfbe67dd07c2791c7e44592acc4ff9c824dbdce60c5b14e996 MISC metadata.xml 893 BLAKE2B e90df9c864e4406987a19eec6ecb22166a74d7989ba52027b9741cc97d72060243a017de700ebe8c379b93596cf00ea1b23f37926377baab5685558732e14b83 SHA512 a630672b3dd9646114f85d924708c45985a06b0f4e1e614a293ac768a5048df2efc123b5e4d0104765535244ba5e3ff7e8d4be92e37646495c915d846ca58259 diff --git a/sci-astronomy/celestia/celestia-1.7.0_pre20220120.ebuild b/sci-astronomy/celestia/celestia-1.7.0_pre20220120.ebuild new file mode 100644 index 000000000000..63864b39236b --- /dev/null +++ b/sci-astronomy/celestia/celestia-1.7.0_pre20220120.ebuild @@ -0,0 +1,124 @@ +# Copyright 1999-2022 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 +CMAKE_IN_SOURCE_BUILD="yes" +LUA_COMPAT=( lua5-{1..3} luajit ) + +inherit desktop flag-o-matic lua-single xdg cmake + +if [[ ${PV} == *9999 ]] ; then + EGIT_REPO_URI="https://github.com/CelestiaProject/Celestia.git" + inherit git-r3 +else + if [[ ${PV} == *_p* ]] ; then + COMMIT_ID="f969b37c3ee783ed51bf4d1cbeefca4132031316" + COMMIT_ID_DATA="cc0bc0bb4b77e47115a31fbeb42babb30da3b790" + SRC_URI=" + https://github.com/${PN^}Project/${PN^}/archive/${COMMIT_ID}.tar.gz -> ${P}.tar.gz + https://github.com/${PN^}Project/${PN^}Content/archive/${COMMIT_ID_DATA}.tar.gz -> ${P}-data.tar.gz + " + S="${WORKDIR}/${PN^}-${COMMIT_ID}" + KEYWORDS="~amd64 ~x86" + else + SRC_URI="https://github.com/${PN^}Project/${PN^}/archive/${PV/_/-}.tar.gz -> ${P}.tar.gz" + fi +fi + +DESCRIPTION="OpenGL 3D space simulator" +HOMEPAGE="https://celestia.space" + +LICENSE="GPL-2+" +SLOT="0" +IUSE="ffmpeg glut lua nls +qt5" +REQUIRED_USE="|| ( glut qt5 ) + lua? ( ${LUA_REQUIRED_USE} )" + +BDEPEND=" + dev-cpp/eigen + virtual/pkgconfig + nls? ( sys-devel/gettext ) +" +DEPEND=" + dev-libs/libfmt:= + media-libs/glew:0= + media-libs/libepoxy + media-libs/libpng:0= + sys-libs/zlib:= + virtual/glu + virtual/jpeg:0 + virtual/opengl + ffmpeg? ( media-video/ffmpeg:0 ) + glut? ( media-libs/freeglut ) + lua? ( ${LUA_DEPS} ) + qt5? ( + dev-qt/qtcore:5 + dev-qt/qtgui:5 + dev-qt/qtopengl:5 + dev-qt/qtwidgets:5 + ) +" +RDEPEND="${DEPEND}" + +PATCHES=( + # add a ~/.celestia for extra directories + "${FILESDIR}"/${PN}-1.6.99-cfg.patch + # allow forcing CMake to look for a specific Lua version instead of the newest branch installed + "${FILESDIR}"/${PN}-1.7.0-cmake_lua_version.patch +) + +src_prepare() { + mv "${WORKDIR}"/CelestiaContent-${COMMIT_ID_DATA} content || die + + cmake_src_prepare + ### This version of Celestia has a bug in the font rendering and + ### requires -fsigned-char. We should be able to force this flag + ### on all architectures. See bug #316573. + # FIXME: Point to upstream bug report if still valid + #append-flags "-fsigned-char" +} + +src_configure() { + CMAKE_USE_DIR="${CMAKE_USE_DIR}/content" BUILD_DIR="${BUILD_DIR}/content" \ + cmake_src_configure + + local mycmakeargs=( + -DENABLE_CELX="$(usex lua)" + -DENABLE_NLS="$(usex nls)" + -DENABLE_FFMPEG="$(usex ffmpeg)" + -DENABLE_GLUT="$(usex glut)" + -DENABLE_GTK=OFF + -DENABLE_QT="$(usex qt5)" + -DENABLE_WIN=OFF + -DENABLE_SDL=OFF + ) + # Upstream always looks for LuaJIT first unless stopped, and we only need + # the version specification when linking against PUC Lua + if use lua && ! use lua_single_target_luajit; then + mycmakeargs+=( + -DCMAKE_DISABLE_FIND_PACKAGE_LuaJIT=ON + -DLUA_VERSION=$(lua_get_version) + ) + fi + cmake_src_configure +} + +src_compile() { + cmake_src_compile + CMAKE_USE_DIR="${CMAKE_USE_DIR}/content" BUILD_DIR="${BUILD_DIR}/content" cmake_src_compile +} + +src_install() { + cmake_src_install + + doicon -s 48 "${S}"/src/celestia/gtk/data/${PN}.png + newicon -s 128 "${S}"/src/celestia/gtk/data/${PN}-logo.png ${PN}.png + doicon -s scalable "${S}"/src/celestia/gtk/data/${PN}.svg + + use glut && domenu "${S}"/debian/${PN}-glut.desktop + use qt5 && domenu "${S}"/debian//${PN}-qt.desktop + + dodoc AUTHORS README TRANSLATORS *.txt + + CMAKE_USE_DIR="${CMAKE_USE_DIR}/content" BUILD_DIR="${BUILD_DIR}/content" cmake_src_install +} diff --git a/sci-astronomy/kstars/Manifest b/sci-astronomy/kstars/Manifest index f49d23880648..1b23fd5aae98 100644 --- a/sci-astronomy/kstars/Manifest +++ b/sci-astronomy/kstars/Manifest @@ -1,6 +1,8 @@ AUX kstars-3.5.5-FindERFA.cmake.patch 4147 BLAKE2B 1b97ac59da72d4e327e25efb72784d0cf74a5d22624596c2b2a818a6a0879f33f5f21404428748a0879aeb250e2fe9e06e2ca16e79cf2365823633725462a296 SHA512 4318b3aa133fdd3a5b2e36d67ceff3f020dccdc796c20ce85c081aa4753e82bee4bf97552ef40e6428abf9c540d48836be5b7cdc0a6706b494f4669e4626ee6e DIST kstars-3.5.5.tar.xz 79302220 BLAKE2B df8503c72c689301e70345169491dbc8e27116b44c75a78088f91da0d103965f4da359d4de22c3a177898cfe734f66b06810440c2d4dd7ec15862f0ad4d4edf0 SHA512 03ed4db0e3998c9501f77fb22e26046177d4bc427e769be1964ba3d54701a1240908117bc65424768917252710b73811e38ec61e2391182794b30ad6c9d68d96 DIST kstars-3.5.6.tar.xz 79127060 BLAKE2B bb5b2971a6a730237217709c599a11f4f09afa8c37fe56c4da9621c3b178aa9f8158aa3e21fb3461e512d47e6f32660c9a5cbfa2926fa1c2cc978182fce9b5b0 SHA512 5a1fb0e1d9226bdaca2657cf667f882ffca0b79a7be3286e8ba4346b7fee780ca37af1c4ef21d02ddbd25341b750ea95b0d33193baa0dca8d8aafe7d75261ec2 +DIST kstars-3.5.7.tar.xz 86749048 BLAKE2B 12c1502c2b4c2edf3e77bc28338d44ef0d61133b0db4aa800cca1c06a9ab2b9acb2c628ac0681a5ac253b5d105d0368eede5f91739b3be2c6f7a996d9322e320 SHA512 48ac509c8f2241155235a386ccfe321398a39886f1332b2b2829d6db3ebc2bf1161f8900a5f0fcf9b51925a655c547e10eef58526257ee5dafc8d77db9a11845 EBUILD kstars-3.5.5.ebuild 2594 BLAKE2B b598fe83de5103702142e63de88c0f7460129c0de8734754ef63630a46ce18446238c5151e46980fa3adc1b9e678d5444988c8d805510f50c7ce067ca38a792c SHA512 488de12a6649e42874e9ccd1b4cd1d152b1eedbdeabbdc89c2a6bdfb3a2af54303ab3397b2a973fe800bba0f37139fb2f2696bfb6a3758b9c369cbe454d7d1f6 EBUILD kstars-3.5.6.ebuild 2542 BLAKE2B 700100b91ad330c032fd78f565e126ce75d29260bfea19f863d65ed73f3affcc67bf9ae0db5b3ce38cca8ce6d5c3d997b7de73f781f9a505b48fda1f8f08c6d3 SHA512 2cbeff72e04e9bbc44bfe343fea8113e82c72a622862147c22bf18f65b9c1fbfc0801f18255a9b6d97ce74a9003d2eb468d67e2ca67fe3437924c80ece960dd2 +EBUILD kstars-3.5.7.ebuild 2543 BLAKE2B 4c4ff2bf276808ff1de6a3c1725c05203e43f4f6dee81dcc66f87535a4e8defcfa187e2c2e28c99c277f187a56bebd891113175a4a01c696de845fe792043532 SHA512 77ce8c1236e237985dda21053e78a4e6c61cb3f397788e5233174c1f6b926bb9cc240e59877f2d411a192baae4d6a742913683432f140859de47e53c5084546e MISC metadata.xml 692 BLAKE2B a1be7f22ffff993276aaa943528cf39811e6567fdd9fe757d1045ab83e25010230f7d702bfef9c74ec71d62ff647edb4d7073e90dfb6147d100e4de6a225dfa1 SHA512 152e114ca9826e0599b530f6421e2ad5441b50b053cb81135cbf84dda3a7a37e7c7f989bb1d2f9bf826d9bf0cca97a3f0de5d9523f25fd0acbd3482348df0ed8 diff --git a/sci-astronomy/kstars/kstars-3.5.7.ebuild b/sci-astronomy/kstars/kstars-3.5.7.ebuild new file mode 100644 index 000000000000..fd33c32b39ef --- /dev/null +++ b/sci-astronomy/kstars/kstars-3.5.7.ebuild @@ -0,0 +1,98 @@ +# Copyright 1999-2022 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +ECM_HANDBOOK="forceoptional" +KFMIN=5.82.0 +QTMIN=5.15.2 +inherit ecm kde.org optfeature + +DESCRIPTION="Desktop Planetarium" +HOMEPAGE="https://apps.kde.org/kstars/ https://edu.kde.org/kstars/" + +if [[ ${KDE_BUILD_TYPE} = release ]]; then + SRC_URI="mirror://kde/stable/${PN}/${P}.tar.xz" + KEYWORDS="~amd64 ~x86" +fi + +LICENSE="GPL-2+ GPL-3+" +SLOT="5" +IUSE="fits indi +password raw wcs" + +REQUIRED_USE="indi? ( fits ) ${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/kauth-${KFMIN}: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 + sys-libs/zlib + fits? ( sci-libs/cfitsio:= ) + indi? ( + sci-libs/gsl:= + >=sci-libs/indilib-1.9.1 + sci-libs/libnova:= + sci-libs/stellarsolver + ) + password? ( dev-libs/qtkeychain:= ) + raw? ( media-libs/libraw:= ) + wcs? ( sci-astronomy/wcslib:= ) +" +# 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 +" +RDEPEND="${COMMON_DEPEND} + >=dev-qt/qtgraphicaleffects-${QTMIN}:5 + >=dev-qt/qtpositioning-${QTMIN}:5 + >=dev-qt/qtquickcontrols-${QTMIN}:5 + >=dev-qt/qtquickcontrols2-${QTMIN}:5 +" + +src_configure() { + local mycmakeargs=( + -DFETCH_TRANSLATIONS=OFF + -DBUILD_PYKSTARS=OFF + -DBUILD_DOC=$(usex handbook) + $(cmake_use_find_package fits CFitsio) + $(cmake_use_find_package indi INDI) + $(cmake_use_find_package indi Nova) + $(cmake_use_find_package password Qt5Keychain) + $(cmake_use_find_package raw LibRaw) + $(cmake_use_find_package wcs WCSLIB) + ) + + ecm_src_configure +} + +pkg_postinst() { + if [[ -z "${REPLACING_VERSIONS}" ]]; then + optfeature "Display 'current' pictures of planets" x11-misc/xplanet + fi + ecm_pkg_postinst +} |