From a8f8e883c19e7c25ccce369dee5f6dcda66fc3ed Mon Sep 17 00:00:00 2001 From: Manuel Palenzuela Date: Thu, 1 Apr 2021 17:36:45 +0200 Subject: [PATCH] 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. --- Ports/SDL2_mixer/package.sh | 3 +++ 1 file changed, 3 insertions(+) diff --git a/Ports/SDL2_mixer/package.sh b/Ports/SDL2_mixer/package.sh index b395e5f7350..0230f89e132 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" }