From b885be8046317c9833a9839dc2be7b5c0306e45a Mon Sep 17 00:00:00 2001 From: Tim Ledbetter Date: Tue, 22 Aug 2023 17:54:33 +0100 Subject: [PATCH] Ports/SDL_sound: Specify which optional dependencies to include This fixes an issue where building `SDL_sound` with the `libphysfs` port installed would cause the build to fail. Ogg support has also been enabled. This allows playback of the sound effects in GLTron. Both FLAC and `libmodplug` support are currently disabled, even though the build succeeds with them enabled, as there is currently no way to test whether they would work or not. --- Ports/SDL_sound/package.sh | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/Ports/SDL_sound/package.sh b/Ports/SDL_sound/package.sh index c7cd126bf1b..560073bc96a 100755 --- a/Ports/SDL_sound/package.sh +++ b/Ports/SDL_sound/package.sh @@ -5,15 +5,19 @@ useconfigure='true' use_fresh_config_sub='true' depends=( 'libmikmod' + 'libogg' 'sdl12-compat' ) files=( "https://www.icculus.org/SDL_sound/downloads/${port}-${version}.tar.gz 3999fd0bbb485289a52be14b2f68b571cb84e380cc43387eadf778f64c79e6df" ) configopts=( + '--enable-flac=no' '--enable-modplug=no' - '--enable-ogg=no' - "--with-sdl-prefix=${SERENITY_INSTALL_ROOT}/usr/local" + '--enable-physfs=no' + '--enable-smpeg=no' + '--enable-speex=no' + "--with-sdl-prefix=${SERENITY_INSTALL_ROOT}/usr/local" ) makeopts=( 'LDFLAGS=-lm'