summaryrefslogtreecommitdiff
path: root/sci-astronomy/celestia
diff options
context:
space:
mode:
authorroot <root@alpha.trunkmasters.com>2026-06-04 16:24:49 -0500
committerroot <root@alpha.trunkmasters.com>2026-06-04 16:24:49 -0500
commita3ceca1b4c0d9bdb550dc23f06ffbb5a8e033bc7 (patch)
tree0c52bbae1c242fbc296bd650fcd1167685f81492 /sci-astronomy/celestia
parentbfd9c39e4712ebdb442d4ca0673061faed1e70e1 (diff)
downloadbaldeagleos-repo-a3ceca1b4c0d9bdb550dc23f06ffbb5a8e033bc7.tar.gz
baldeagleos-repo-a3ceca1b4c0d9bdb550dc23f06ffbb5a8e033bc7.tar.xz
baldeagleos-repo-a3ceca1b4c0d9bdb550dc23f06ffbb5a8e033bc7.zip
Adding metadata
Diffstat (limited to 'sci-astronomy/celestia')
-rw-r--r--sci-astronomy/celestia/Manifest2
-rw-r--r--sci-astronomy/celestia/celestia-1.7.0_pre20241231-r1.ebuild119
-rw-r--r--sci-astronomy/celestia/files/celestia-1.7.0-cmake_lua_version-r1.patch11
-rw-r--r--sci-astronomy/celestia/files/celestia-1.7.0_pre20241231-cmake-minreq-warning.patch42
-rw-r--r--sci-astronomy/celestia/files/celestia-1.7.0_pre20241231-content-cmake-minreqver-3.10.patch40
-rw-r--r--sci-astronomy/celestia/metadata.xml22
6 files changed, 0 insertions, 236 deletions
diff --git a/sci-astronomy/celestia/Manifest b/sci-astronomy/celestia/Manifest
deleted file mode 100644
index 010c609089fb..000000000000
--- a/sci-astronomy/celestia/Manifest
+++ /dev/null
@@ -1,2 +0,0 @@
-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_pre20241231-r1.ebuild b/sci-astronomy/celestia/celestia-1.7.0_pre20241231-r1.ebuild
deleted file mode 100644
index 506a78cc16fe..000000000000
--- a/sci-astronomy/celestia/celestia-1.7.0_pre20241231-r1.ebuild
+++ /dev/null
@@ -1,119 +0,0 @@
-# Copyright 1999-2026 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,4} 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="9292455b420aa865482078c3149ae974367270e5"
- COMMIT_ID_DATA="d20a4500410af19bd508eba567c9220890e9e316"
- 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 gtk lto lua nls +qt6 sdl test"
-RESTRICT="!test? ( test )"
-REQUIRED_USE="|| ( gtk qt6 sdl )
- lua? ( ${LUA_REQUIRED_USE} )"
-
-BDEPEND="
- virtual/pkgconfig
- nls? ( sys-devel/gettext )
-"
-DEPEND="
- dev-cpp/eigen:=
- dev-libs/boost:=
- dev-libs/libfmt:=
- media-libs/freetype
- media-libs/libepoxy
- media-libs/libjpeg-turbo:0=
- media-libs/libpng:0=
- virtual/zlib:=
- virtual/glu
- virtual/opengl
- ffmpeg? ( media-video/ffmpeg:0= )
- gtk? ( x11-libs/gtk+:3[wayland,X] )
- lua? ( ${LUA_DEPS} )
- qt6? ( dev-qt/qtbase:6[gui,opengl,widgets] )
- sdl? ( media-libs/libsdl2[X] )
-"
-RDEPEND="${DEPEND}"
-
-PATCHES=(
- # allow forcing CMake to look for a specific Lua version instead of the newest branch installed
- "${FILESDIR}"/${PN}-1.7.0-cmake_lua_version-r1.patch
- # Pending upstream:
- "${FILESDIR}"/${P}-cmake-minreq-warning.patch # bug 964763
- "${FILESDIR}"/${P}-content-cmake-minreqver-3.10.patch # bug 964763
-)
-
-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=(
- -DCELCFG_EXTRAS_DIRS='"~/.celestia"'
- -DENABLE_CELX="$(usex lua)"
- -DENABLE_NLS="$(usex nls)"
- -DENABLE_FFMPEG="$(usex ffmpeg)"
- -DENABLE_GTK="$(usex gtk)"
- -DUSE_GTK3="$(usex gtk)"
- -DENABLE_LTO="$(usex lto)"
- -DENABLE_QT5=OFF
- -DENABLE_QT6="$(usex qt6)"
- -DENABLE_WIN=OFF
- -DENABLE_SDL="$(usex sdl)"
- -DENABLE_TESTS="$(usex test)"
- )
- # 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
-
- 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.7.0-cmake_lua_version-r1.patch b/sci-astronomy/celestia/files/celestia-1.7.0-cmake_lua_version-r1.patch
deleted file mode 100644
index 145f89a4a784..000000000000
--- a/sci-astronomy/celestia/files/celestia-1.7.0-cmake_lua_version-r1.patch
+++ /dev/null
@@ -1,11 +0,0 @@
---- a/CMakeLists.txt
-+++ b/CMakeLists.txt
-@@ -300,7 +300,7 @@
- if(LUAJIT_FOUND)
- link_libraries(LuaJIT::LuaJIT)
- else()
-- find_package(Lua REQUIRED)
-+ find_package(Lua ${LUA_VERSION} EXACT REQUIRED)
- include(FixLua)
- MakeLuaTarget()
- link_libraries(Lua::Lua)
diff --git a/sci-astronomy/celestia/files/celestia-1.7.0_pre20241231-cmake-minreq-warning.patch b/sci-astronomy/celestia/files/celestia-1.7.0_pre20241231-cmake-minreq-warning.patch
deleted file mode 100644
index 4f93fceccb8c..000000000000
--- a/sci-astronomy/celestia/files/celestia-1.7.0_pre20241231-cmake-minreq-warning.patch
+++ /dev/null
@@ -1,42 +0,0 @@
-Source: https://github.com/CelestiaProject/Celestia/pull/2437
-
-From 129e9254d7a50f453d98951a5b8db12b9ca7e0f7 Mon Sep 17 00:00:00 2001
-From: Andreas Sturmlechner <asturm@gentoo.org>
-Date: Wed, 7 Jan 2026 18:47:09 +0100
-Subject: [PATCH] CMake: Set CMake to 3.10...3.19 range for !WIN32
-
-Raise !WIN32 minimum mildly from 3.9 to 3.10, which was released in 2017.
-If Windows build can deal with 3.19, so should others. This enables policy
-level up to 3.19 when using modern versions of CMake.
-
-Fixes CMake 3.31 warning:
-
-> CMake Deprecation Warning at CMakeLists.txt:1 (cmake_minimum_required):
-> Compatibility with CMake < 3.10 will be removed from a future version of
-> CMake.
->
-> Update the VERSION argument <min> value. Or, use the <min>...<max> syntax
-> to tell CMake that the project requires at least <min> but has been updated
-> to work with policies introduced by <max> or earlier.
-
-Signed-off-by: Andreas Sturmlechner <asturm@gentoo.org>
----
- CMakeLists.txt | 2 +-
- 1 file changed, 1 insertion(+), 1 deletion(-)
-
-diff --git a/CMakeLists.txt b/CMakeLists.txt
-index 033747df..adf2ce7e 100644
---- a/CMakeLists.txt
-+++ b/CMakeLists.txt
-@@ -2,7 +2,7 @@ if(WIN32)
- # Require more recent CMake on Windows because DLLs are a pain
- cmake_minimum_required(VERSION 3.19)
- else()
-- cmake_minimum_required(VERSION 3.9)
-+ cmake_minimum_required(VERSION 3.10...3.19)
- endif()
-
- # Plain and keyword target_link_libraries() signatures cannot be mixed
---
-2.52.0
-
diff --git a/sci-astronomy/celestia/files/celestia-1.7.0_pre20241231-content-cmake-minreqver-3.10.patch b/sci-astronomy/celestia/files/celestia-1.7.0_pre20241231-content-cmake-minreqver-3.10.patch
deleted file mode 100644
index c18cafffe7ac..000000000000
--- a/sci-astronomy/celestia/files/celestia-1.7.0_pre20241231-content-cmake-minreqver-3.10.patch
+++ /dev/null
@@ -1,40 +0,0 @@
-Source: https://github.com/CelestiaProject/CelestiaContent/pull/294
-
-From ca0fe5ab2be77c7ad641548b7e5769ad6b4cee0e Mon Sep 17 00:00:00 2001
-From: Andreas Sturmlechner <asturm@gentoo.org>
-Date: Wed, 7 Jan 2026 19:09:47 +0100
-Subject: [PATCH] CMake: Set CMake minimum to 3.10
-
-Raise minimum version from 3.8 to 3.10, which was released in 2017.
-
-Fixes CMake 3.31 warning:
-
-> CMake Deprecation Warning at CMakeLists.txt:1 (cmake_minimum_required):
-> Compatibility with CMake < 3.10 will be removed from a future version of
-> CMake.
->
-> Update the VERSION argument <min> value. Or, use the <min>...<max> syntax
-> to tell CMake that the project requires at least <min> but has been updated
-> to work with policies introduced by <max> or earlier.
-
-Signed-off-by: Andreas Sturmlechner <asturm@gentoo.org>
----
- CMakeLists.txt | 2 +-
- 1 file changed, 1 insertion(+), 1 deletion(-)
-
-diff --git a/CMakeLists.txt b/CMakeLists.txt
-index f15eec4..e44a08d 100644
---- a/content/CMakeLists.txt
-+++ b/content/CMakeLists.txt
-@@ -1,7 +1,7 @@
- # SPDX-FileCopyrightText: Celestia Development Team
- # SPDX-License-Identifier: GPL-2.0-or-later
-
--cmake_minimum_required(VERSION 3.8)
-+cmake_minimum_required(VERSION 3.10)
-
- # Normalize install(DESTINATION) paths
- if(POLICY CMP0177)
---
-2.52.0
-
diff --git a/sci-astronomy/celestia/metadata.xml b/sci-astronomy/celestia/metadata.xml
deleted file mode 100644
index 8eee0ca14a3e..000000000000
--- a/sci-astronomy/celestia/metadata.xml
+++ /dev/null
@@ -1,22 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd">
-<pkgmetadata>
- <maintainer type="project">
- <email>sci-astronomy@gentoo.org</email>
- <name>Gentoo Astronomy Project</name>
- </maintainer>
- <longdescription lang="en">
- Celestia is a real-time space simulation that lets you experience
- our universe in three dimensions. You can travel throughout the solar
- system, to any of over 100,000 stars, or beyond the galaxy. All
- travel in Celestia is seamless; the exponential zoom feature lets you
- explore space across a range of scales, from galaxy clusters down
- to spacecraft a few meters across. A 'point-and-goto' interface
- is used to navigate through the universe to the object you
- want to visit.
- </longdescription>
- <upstream>
- <remote-id type="github">CelestiaProject/Celestia</remote-id>
- <remote-id type="sourceforge">celestia</remote-id>
- </upstream>
-</pkgmetadata>