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
1 merge request!234Add VVVVVV recipe
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 \
......
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