commit: b95835bc9c9157514ac4545d6ad3d76ccb7a816d
Author: Andreas Sturmlechner <asturm <AT> gentoo <DOT> org>
AuthorDate: Wed Feb 19 21:57:36 2025 +0000
Commit: Andreas Sturmlechner <asturm <AT> gentoo <DOT> org>
CommitDate: Wed Feb 19 21:58:21 2025 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b95835bc
sci-astronomy/celestia: drop 1.7.0_pre20221215-r1
Signed-off-by: Andreas Sturmlechner <asturm <AT> gentoo.org>
sci-astronomy/celestia/Manifest | 2 -
.../celestia/celestia-1.7.0_pre20221215-r1.ebuild | 118 ---------------------
.../celestia/files/celestia-1.6.99-cfg.patch | 25 -----
.../files/celestia-1.7.0-cmake_lua_version.patch | 11 --
4 files changed, 156 deletions(-)
diff --git a/sci-astronomy/celestia/Manifest b/sci-astronomy/celestia/Manifest
index e96fa42bf35b..010c609089fb 100644
--- a/sci-astronomy/celestia/Manifest
+++ b/sci-astronomy/celestia/Manifest
@@ -1,4 +1,2 @@
-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
DIST celestia-1.7.0_pre20241231-data.tar.gz 295402479 BLAKE2B
c6566f60435bb44c38cce0f01bbbda642a4f171e4c6425c48bfbf769fcce8cd4083ed5fa05783571b2adbba857c37c19ec44f0095bc1259f9abdcc2f7c015eef
SHA512
58473a9c10a81740564f97666d991fc507e79c561b3a2388d7358e11ca664015ca81e52e65a4c96916dcd01313b5df8ee0a24337ac716ecf08bdd4208982b8d7
DIST celestia-1.7.0_pre20241231.tar.gz 4587843 BLAKE2B
e6332306a7772a592ac4da6ea3c5713e47c454eb84a79ff2655be30602956e82d68a604c59290ed0b3adf9d4dd01d2dc4c1faf1d6baf7d45d0043242d6e1c440
SHA512
0782f0288388a7069d4a04afee9768be3a4c94779cec63b5b3886899b72c266539b553ae0050d22592f0d677d329873063ab20ef19a95cdf8a07671c79d33a4b
diff --git a/sci-astronomy/celestia/celestia-1.7.0_pre20221215-r1.ebuild
b/sci-astronomy/celestia/celestia-1.7.0_pre20221215-r1.ebuild
deleted file mode 100644
index e519cf7a2a7a..000000000000
--- a/sci-astronomy/celestia/celestia-1.7.0_pre20221215-r1.ebuild
+++ /dev/null
@@ -1,118 +0,0 @@
-# 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/files/celestia-1.6.99-cfg.patch
b/sci-astronomy/celestia/files/celestia-1.6.99-cfg.patch
deleted file mode 100644
index 943d81b416b1..000000000000
--- a/sci-astronomy/celestia/files/celestia-1.6.99-cfg.patch
+++ /dev/null
@@ -1,25 +0,0 @@
-From 82023197fabf148e164c538ce0839e3add31068d Mon Sep 17 00:00:00 2001
-From: Lars Wendler <[email protected]>
-Date: Wed, 2 Jan 2019 14:25:37 +0100
-Subject: [PATCH] celestia.cfg: Add ~/.celestia as extras directory.
-
----
- celestia.cfg | 2 +-
- 1 file changed, 1 insertion(+), 1 deletion(-)
-
-diff --git a/celestia.cfg b/celestia.cfg
-index ea9e4f58..00edf250 100644
---- a/celestia.cfg
-+++ b/celestia.cfg
-@@ -197,7 +197,7 @@ StarTextures
- # or
- # ExtrasDirectories [ "D:\\celestia-extras" ]
- #------------------------------------------------------------------------
-- ExtrasDirectories [ "extras-standard" "extras" ]
-+ ExtrasDirectories [ "extras-standard" "extras" "~/.celestia" ]
-
-
- #------------------------------------------------------------------------
---
-2.20.1
-
diff --git
a/sci-astronomy/celestia/files/celestia-1.7.0-cmake_lua_version.patch
b/sci-astronomy/celestia/files/celestia-1.7.0-cmake_lua_version.patch
deleted file mode 100644
index 80fba5d447a4..000000000000
--- a/sci-astronomy/celestia/files/celestia-1.7.0-cmake_lua_version.patch
+++ /dev/null
@@ -1,11 +0,0 @@
---- a/CMakeLists.txt
-+++ b/CMakeLists.txt
-@@ -179,7 +179,7 @@
-
- find_package(LuaJIT)
- if(NOT LUAJIT_FOUND)
-- find_package(Lua REQUIRED)
-+ find_package(Lua ${LUA_VERSION} EXACT REQUIRED)
- endif()
- include_directories(${LUA_INCLUDE_DIR})
- link_libraries(${LUA_LIBRARIES})