Skip to content
Snippets Groups Projects
Commit d8fa264c authored by Jeremy Soller's avatar Jeremy Soller
Browse files

Add sdl_mixer support to prboom

parent 7f65e458
No related branches found
No related tags found
No related merge requests found
VERSION=2.5.0
TAR=https://downloads.sourceforge.net/project/prboom/prboom%20stable/$VERSION/prboom-$VERSION.tar.gz
BUILD_DEPENDS=(sdl liborbital)
BUILD_DEPENDS=(sdl liborbital sdl_mixer libogg libvorbis)
function recipe_version {
echo "$VERSION"
......@@ -9,6 +9,7 @@ function recipe_version {
function recipe_build {
export CFLAGS="-static"
export MIXER_LIBS="-lSDL_mixer -lvorbisfile -lvorbis -logg"
sysroot="$(realpath ../sysroot)"
autoreconf -if
wget -O autotools/config.sub "https://gitlab.redox-os.org/redox-os/gnu-config/-/raw/master/config.sub?inline=false"
......@@ -20,7 +21,8 @@ function recipe_build {
--disable-cpu-opt \
--disable-gl \
--without-net \
--with-sdl-prefix="$sysroot"
--with-sdl-prefix="$sysroot" \
ac_cv_lib_SDL_mixer_Mix_OpenAudio=yes
"$REDOX_MAKE" -j"$($NPROC)"
skip=1
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment