repo/gentoo:master commit in: games-simulation/corsix-th/
"Sam James" <[email protected]>
| Newsgroups | gmane.linux.gentoo.cvs |
|---|---|
| Message-ID | <1786147729.076324e7b271fd164646f042cc7e226c5f2e8dd9.sam@gentoo> |
commit: 076324e7b271fd164646f042cc7e226c5f2e8dd9
Author: Sebastian Engel <sighunter <AT> gmx <DOT> de>
AuthorDate: Tue Aug 4 21:33:03 2026 +0000
Commit: Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Sat Aug 8 00:08:49 2026 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=076324e7
games-simulation/corsix-th: update 9999
* now using sdl3 to be compatible with latest upstream git master
* FETCH_CATCH2 is only defined when running tests
* disabled lua5-3 (and lua5-2) because of a failing test
* added a missing dependency for midi playback
Bug: https://bugs.gentoo.org/980175
Bug: https://bugs.gentoo.org/980176
Signed-off-by: Sebastian Engel <sighunter <AT> gmx.de>
Part-of: https://codeberg.org/gentoo/gentoo/pulls/1618
Signed-off-by: Sam James <sam <AT> gentoo.org>
games-simulation/corsix-th/corsix-th-9999.ebuild | 24 ++++++++++++++++--------
1 file changed, 16 insertions(+), 8 deletions(-)
diff --git a/games-simulation/corsix-th/corsix-th-9999.ebuild b/games-simulation/corsix-th/corsix-th-9999.ebuild
index dac5d30fcaa1..9593f316cdf3 100644
--- a/games-simulation/corsix-th/corsix-th-9999.ebuild
+++ b/games-simulation/corsix-th/corsix-th-9999.ebuild
@@ -3,7 +3,7 @@
EAPI=8
-LUA_COMPAT=( lua5-{1..4} luajit )
+LUA_COMPAT=( lua5-1 lua5-4 luajit )
inherit cmake edo lua-single xdg
@@ -38,12 +38,15 @@ RDEPEND="
>=dev-lua/lpeg-0.9[${LUA_USEDEP}]
>=dev-lua/luasocket-3.0_rc1-r4[${LUA_USEDEP}]
')
- media-libs/libsdl2[opengl,video]
+ media-libs/libsdl3[opengl]
media-libs/libpng:=
>=media-libs/freetype-2.5.3:2
- media-libs/sdl2-mixer[midi?]
+ media-libs/sdl3-mixer[midi?]
virtual/zlib:=
- midi? ( media-libs/rtmidi )
+ midi? (
+ media-libs/rtmidi
+ media-sound/fluid-soundfont
+ )
videos? ( >=media-video/ffmpeg-2.2.3:0= )
"
DEPEND="${RDEPEND}"
@@ -75,13 +78,12 @@ src_configure() {
local mycmakeargs=(
-DBUILD_TOOLS=$(usex tools)
-DENABLE_UNIT_TESTS=$(usex test)
+ -DFETCH_SDL_MIXER=OFF
+ -DFETCH_SOUNDFONT=OFF
+ -DFETCH_UNICODE_FONT=OFF
-DWITH_MIDI_DEVICE=$(usex midi)
-DWITH_MOVIES=$(usex videos)
-DWITH_UPDATE_CHECK=OFF
-
- -DFETCH_CATCH2=OFF
- -DFETCH_SOUNDFONT=OFF
- -DFETCH_UNICODE_FONT=OFF
)
if use lua_single_target_luajit ; then
@@ -96,6 +98,12 @@ src_configure() {
)
fi
+ if use test ; then
+ mycmakeargs+=(
+ -DFETCH_CATCH2=OFF
+ )
+ fi
+
cmake_src_configure
}