From c52f8595ef9398e3e0364edb31f6a772e1120aec Mon Sep 17 00:00:00 2001 From: Tibor Nagy <xnagytibor@gmail.com> Date: Sun, 12 Jan 2020 17:04:14 +0100 Subject: [PATCH] Enable OGG Vorbis in SDL2_mixer --- recipes/sdl2_mixer/recipe.sh | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/recipes/sdl2_mixer/recipe.sh b/recipes/sdl2_mixer/recipe.sh index ad54075b8..d282e05dd 100644 --- a/recipes/sdl2_mixer/recipe.sh +++ b/recipes/sdl2_mixer/recipe.sh @@ -1,6 +1,6 @@ VERSION=2.0.4 TAR=https://www.libsdl.org/projects/SDL_mixer/release/SDL2_mixer-$VERSION.tar.gz -BUILD_DEPENDS=(sdl2 liborbital llvm mesa mesa_glu zlib) +BUILD_DEPENDS=(sdl2 liborbital llvm mesa mesa_glu zlib libogg libvorbis) function recipe_version { echo "$VERSION" @@ -16,7 +16,7 @@ function recipe_build { sysroot="$(realpath ../sysroot)" export CFLAGS="-I$sysroot/include" export LDFLAGS="-L$sysroot/lib" - export SDL_LIBS="-lSDL2 -lorbital $("${PKG_CONFIG}" --libs glu) -lglapi -lz -lm -lpthread -lstdc++" + export SDL_LIBS="-lSDL2 -lorbital $("${PKG_CONFIG}" --libs glu) -lglapi -lvorbis -logg -lz -lm -lpthread -lstdc++" ./autogen.sh ./configure \ --prefix=/ \ @@ -24,6 +24,7 @@ function recipe_build { --host=${HOST} \ --disable-shared \ --disable-sdltest \ + --enable-music-ogg \ --disable-music-cmd \ --disable-music-mp3 \ --disable-smpegtest \ -- GitLab