commit: 88f1e35975cd00ea1d98dba08de5399083d8b217 Author: Sam James <sam <AT> gentoo <DOT> org> AuthorDate: Fri May 30 10:18:30 2025 +0000 Commit: Sam James <sam <AT> gentoo <DOT> org> CommitDate: Fri May 30 10:18:30 2025 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=88f1e359
sci-astronomy/celestia: wire up tests Signed-off-by: Sam James <sam <AT> gentoo.org> sci-astronomy/celestia/celestia-1.7.0_pre20241231.ebuild | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/sci-astronomy/celestia/celestia-1.7.0_pre20241231.ebuild b/sci-astronomy/celestia/celestia-1.7.0_pre20241231.ebuild index 64d19ddfbd18..e122883248fd 100644 --- a/sci-astronomy/celestia/celestia-1.7.0_pre20241231.ebuild +++ b/sci-astronomy/celestia/celestia-1.7.0_pre20241231.ebuild @@ -30,7 +30,8 @@ HOMEPAGE="https://celestiaproject.space/ https://github.com/CelestiaProject/Cele LICENSE="GPL-2+" SLOT="0" -IUSE="ffmpeg gtk lto lua nls +qt6 sdl" +IUSE="ffmpeg gtk lto lua nls +qt6 sdl test" +RESTRICT="!test? ( test )" REQUIRED_USE="|| ( gtk qt6 sdl ) lua? ( ${LUA_REQUIRED_USE} )" @@ -81,6 +82,7 @@ src_configure() { -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
