Ports: Compile SDL2_mixer with libmodplug support

This commit is contained in:
Jelle Raaijmakers 2021-12-24 14:37:05 +01:00 committed by Andreas Kling
parent dbdb6abdb9
commit ce37c138b4

View file

@ -4,14 +4,14 @@ version=2.0.4
useconfigure=true
files="https://www.libsdl.org/projects/SDL_mixer/release/SDL2_mixer-${version}.tar.gz SDL2_mixer-${version}.tar.gz b4cf5a382c061cd75081cf246c2aa2f9df8db04bdda8dcdc6b6cca55bede2419"
auth_type=sha256
depends=("SDL2" "libvorbis")
depends=("libmodplug" "libvorbis" "SDL2")
configure() {
run ./configure \
--host="${SERENITY_ARCH}-pc-serenity" \
--with-sdl-prefix="${SERENITY_INSTALL_ROOT}/usr/local" \
--enable-music-opus=false --enable-music-opus-shared=false \
--enable-music-mod-modplug=false --enable-music-mod-modplug-shared=false \
--enable-music-opus=false \
--enable-music-opus-shared=false \
EXTRA_LDFLAGS="-lgui -lgfx -lipc -lcore -lcompression"
}