Skip to content
Snippets Groups Projects
Commit c52f8595 authored by Nagy Tibor's avatar Nagy Tibor
Browse files

Enable OGG Vorbis in SDL2_mixer

parent 7f60884d
No related branches found
No related tags found
No related merge requests found
VERSION=2.0.4 VERSION=2.0.4
TAR=https://www.libsdl.org/projects/SDL_mixer/release/SDL2_mixer-$VERSION.tar.gz 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 { function recipe_version {
echo "$VERSION" echo "$VERSION"
...@@ -16,7 +16,7 @@ function recipe_build { ...@@ -16,7 +16,7 @@ function recipe_build {
sysroot="$(realpath ../sysroot)" sysroot="$(realpath ../sysroot)"
export CFLAGS="-I$sysroot/include" export CFLAGS="-I$sysroot/include"
export LDFLAGS="-L$sysroot/lib" 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 ./autogen.sh
./configure \ ./configure \
--prefix=/ \ --prefix=/ \
...@@ -24,6 +24,7 @@ function recipe_build { ...@@ -24,6 +24,7 @@ function recipe_build {
--host=${HOST} \ --host=${HOST} \
--disable-shared \ --disable-shared \
--disable-sdltest \ --disable-sdltest \
--enable-music-ogg \
--disable-music-cmd \ --disable-music-cmd \
--disable-music-mp3 \ --disable-music-mp3 \
--disable-smpegtest \ --disable-smpegtest \
......
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