From 338095605b6c9c82690f77f27a32490c9a57bdcb Mon Sep 17 00:00:00 2001 From: V3n3RiX Date: Mon, 23 Dec 2024 06:31:00 +0000 Subject: gentoo auto-resync : 23:12:2024 - 06:31:00 --- sci-astronomy/Manifest.gz | Bin 6194 -> 6197 bytes sci-astronomy/celestia/Manifest | 2 +- .../celestia/celestia-1.7.0_pre20221215-r1.ebuild | 118 +++++++++++++++++++++ .../celestia/celestia-1.7.0_pre20221215.ebuild | 118 --------------------- 4 files changed, 119 insertions(+), 119 deletions(-) create mode 100644 sci-astronomy/celestia/celestia-1.7.0_pre20221215-r1.ebuild delete mode 100644 sci-astronomy/celestia/celestia-1.7.0_pre20221215.ebuild (limited to 'sci-astronomy') diff --git a/sci-astronomy/Manifest.gz b/sci-astronomy/Manifest.gz index 6aa4d38dff72..730b2456fe9c 100644 Binary files a/sci-astronomy/Manifest.gz and b/sci-astronomy/Manifest.gz differ diff --git a/sci-astronomy/celestia/Manifest b/sci-astronomy/celestia/Manifest index 2b8d4e54e382..2a9ef4d6b88a 100644 --- a/sci-astronomy/celestia/Manifest +++ b/sci-astronomy/celestia/Manifest @@ -2,5 +2,5 @@ AUX celestia-1.6.99-cfg.patch 781 BLAKE2B 04ff4f7c5159eee81479ed588d302fa6a97475 AUX celestia-1.7.0-cmake_lua_version.patch 287 BLAKE2B 29a555fd2443ba4c20508566a909cdcfe47b3e2ca8fea68d9fdc5427cfcdbd332c3179f3ea090c076d20cd36ec694b7cbef3008f87407ba4af7c6ea311853e24 SHA512 f1ae5eb360399d817c90b2ab058452f55f8fdc293568bd9b919cc2d71586da9146db2131abfd54c2c7dc9cb6230728e8435f7663b7125d8caaebe241aa8a7e72 DIST celestia-1.7.0_pre20221215-data.tar.gz 306465675 BLAKE2B 74f7bb1fd827571e761d3e1f0342733134b20f8333bb06daab9d5d673ec236d830758526d99fe551ac0011eccf8dc7e7f9f108c939ec96c5accb022fa28aafa8 SHA512 a2531c03b534f14886b3ecfc96549ad0cec530e194a9c592bb62d5c05db3c85372b4dbb6c5137ccbe0d305c4689c8616d7120285b570fd8d777394e23b676159 DIST celestia-1.7.0_pre20221215.tar.gz 5215167 BLAKE2B 755bea8c9a6e4f9f5ea961e7dcae2fdbede2ed5eb23b0b5085d11c0f6a56f7f5b31c9daa8d42fe6b1c42590b417248cd5a215d4079963b00a0f843354a137daf SHA512 8c86aa55febf8463f3eef64c54458e2bebb21ce4a344e77c733e77e5d499446cc30c5bb75699f38328e6ebc1d8221f89f65ab962ad38758ae10cc6ee45b9c6b1 -EBUILD celestia-1.7.0_pre20221215.ebuild 3114 BLAKE2B 3ddd8969037dbdb5cfefe2a235aad2c4649c824ad8cd66f7cc6473cbe562af151aa0fe1f1f3286858636208b43340d2c3f5bcecd854b24c72b4f202003e57e99 SHA512 13f785ac05ed6bc98d994eaf52bad52d21828e3969407eaf841cf7b4cdbbdcb7653ac80d499f8227fa479a84eeec1f6d953f06850ce20c281b6d37928e8ea751 +EBUILD celestia-1.7.0_pre20221215-r1.ebuild 3115 BLAKE2B 371cb2d233178f74435e98d23ddc76e7c8a427c6c94143d33f582bbb2c6db517ae75bcd841ccaf04b5b798006b6fddc8c84246b4d244c53b2fbd1df50ebe70da SHA512 994face37e14fe2e91460db48a8b0bead8b586259431de822609ea3a438c9db82a0ca4b872f1e6915ec98b3fc6aa79d41249c6e1d44eea007b51feab51eb32a2 MISC metadata.xml 961 BLAKE2B 9882411b0f8e648bbdbb4b6c3c2ea16827e74c0659d753e745e9fb3539d70964e5eca8e979aeacddeaf429b5e8139e45752c5ab223d5ea2873db954bfc8267fe SHA512 b8ba090ef14e6ec7e5db2e01a690be91611b72366169ae4a815977bcf7db89e09b153faf2adaa71441be0025cff298a0d935c3f56a934aeb21cd44f39dbbcf9b diff --git a/sci-astronomy/celestia/celestia-1.7.0_pre20221215-r1.ebuild b/sci-astronomy/celestia/celestia-1.7.0_pre20221215-r1.ebuild new file mode 100644 index 000000000000..e519cf7a2a7a --- /dev/null +++ b/sci-astronomy/celestia/celestia-1.7.0_pre20221215-r1.ebuild @@ -0,0 +1,118 @@ +# Copyright 1999-2024 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 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="9b00246b17a60f0a6dce724be8f7a3bda04809c3" + COMMIT_ID_DATA="bc8208e4474aee9a1096c6479a1e7f298aa98d02" + 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://celestiaproject.space/ https://github.com/CelestiaProject/Celestia" + +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/libjpeg-turbo:0= + media-libs/libpng:0= + sys-libs/zlib:= + virtual/glu + 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 +} + +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 + + # Icons with more resolutions + 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 + + 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/celestia/celestia-1.7.0_pre20221215.ebuild b/sci-astronomy/celestia/celestia-1.7.0_pre20221215.ebuild deleted file mode 100644 index 81c286e19d18..000000000000 --- a/sci-astronomy/celestia/celestia-1.7.0_pre20221215.ebuild +++ /dev/null @@ -1,118 +0,0 @@ -# Copyright 1999-2023 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 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="9b00246b17a60f0a6dce724be8f7a3bda04809c3" - COMMIT_ID_DATA="bc8208e4474aee9a1096c6479a1e7f298aa98d02" - 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://celestiaproject.space/ https://github.com/CelestiaProject/Celestia" - -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/libjpeg-turbo:0= - media-libs/libpng:0= - sys-libs/zlib:= - virtual/glu - 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 -} - -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 - - # Icons with more resolutions - 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 - - dodoc AUTHORS README TRANSLATORS *.txt - - CMAKE_USE_DIR="${CMAKE_USE_DIR}/content" BUILD_DIR="${BUILD_DIR}/content" cmake_src_install -} -- cgit v1.2.3