diff options
author | Manuel Palenzuela <manuelpalenzuelamerino@gmail.com> | 2021-04-01 17:36:45 +0200 |
---|---|---|
committer | Andreas Kling <kling@serenityos.org> | 2021-04-01 20:55:49 +0200 |
commit | a8f8e883c19e7c25ccce369dee5f6dcda66fc3ed (patch) | |
tree | 245beaff932d7467104f8f7362e1d020f1dc74e9 | |
parent | 8324e48218ba80cea3d8e1aedc5311792ff72b49 (diff) | |
download | serenity-a8f8e883c19e7c25ccce369dee5f6dcda66fc3ed.zip |
Ports: Updated the SDL2_mixer port to make it compile without
the opus and modplug music libraries.
Previously it wasnt compiling as we do not have ports of those
libraries. I have also changed the install location of the library so it
installs under /usr/include/SDL2 instead of /usr/local/include/SDL2.
-rwxr-xr-x | Ports/SDL2_mixer/package.sh | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/Ports/SDL2_mixer/package.sh b/Ports/SDL2_mixer/package.sh index b395e5f735..0230f89e13 100755 --- a/Ports/SDL2_mixer/package.sh +++ b/Ports/SDL2_mixer/package.sh @@ -9,6 +9,9 @@ configure() { run ./configure \ --host="${SERENITY_ARCH}-pc-serenity" \ --with-sdl-prefix="${SERENITY_BUILD_DIR}/Root/usr" \ + --prefix="/usr" \ + --enable-music-opus=false --enable-music-opus-shared=false \ + --enable-music-mod-modplug=false --enable-music-mod-modplug-shared=false \ EXTRA_LDFLAGS="-lgui -lgfx -lipc -lcore -lcompression" } |