sci-astronomy/celestia: wire up tests

Signed-off-by: Sam James <sam@gentoo.org>
This commit is contained in:
Sam James
2025-05-30 11:18:30 +01:00
parent 9a97195614
commit 88f1e35975

View File

@@ -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