prboom: re-enable music

This commit is contained in:
Jeremy Soller 2025-04-10 13:19:20 -06:00
parent 0b4cb3d2fc
commit faf2ace1df
No known key found for this signature in database
GPG Key ID: 670FDFB5428E05CA

View File

@ -1,4 +1,3 @@
#TODO: remove --without-mixer when it no longer crashes on x86_64
[source]
tar = "https://downloads.sourceforge.net/project/prboom/prboom%20stable/2.5.0/prboom-2.5.0.tar.gz"
blake3 = "24c1b9b5aa15fd73e59162055f2c6d8faa82759b76ddfca9828cd2a5c8dc6b2a"
@ -18,14 +17,13 @@ dependencies = [
"libvorbis"
]
script = """
export CFLAGS="-static"
DYNAMIC_INIT
export MIXER_LIBS="-lSDL_mixer -lvorbisfile -lvorbis -logg"
COOKBOOK_CONFIGURE_FLAGS+=(
--disable-cpu-opt
--disable-i386-asm
--disable-gl
--disable-sdltest
--without-mixer
--without-net
--with-sdl-prefix="${COOKBOOK_SYSROOT}"
ac_cv_lib_SDL_mixer_Mix_OpenAudio=yes