summaryrefslogtreecommitdiff
path: root/Ports/SDL2_mixer
diff options
context:
space:
mode:
authorMichael Manganiello <adamantike@users.noreply.github.com>2022-03-26 13:16:26 -0300
committerAndreas Kling <kling@serenityos.org>2022-03-26 18:13:46 +0100
commit16ff2d339a9d66cea1fbd8f3b85d101c4e4fb584 (patch)
tree10457c65b5632671031b0a436f7fcbd32124ee23 /Ports/SDL2_mixer
parent7dfb167b181bb39bd03f16e1f7edc79f7d02b1f5 (diff)
downloadserenity-16ff2d339a9d66cea1fbd8f3b85d101c4e4fb584.zip
Ports: Enable MP3 support for SDL2_mixer
`SDL2_mixer` needs `libmpg123` to support MP3 playback. By adding it as a dependency, its compilation now outputs: ``` checking mpg123.h usability... yes checking mpg123.h presence... yes checking for mpg123.h... yes checking for mpg123_replace_reader_handle in -lmpg123... yes -- dynamic libmpg123 -> libmpg123.so.0 ``` Sound output was tested with [an implementation](https://gist.github.com/cdave1/10563386) found online.
Diffstat (limited to 'Ports/SDL2_mixer')
-rwxr-xr-xPorts/SDL2_mixer/package.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/Ports/SDL2_mixer/package.sh b/Ports/SDL2_mixer/package.sh
index ea3124c1cd..c600b6ab2d 100755
--- a/Ports/SDL2_mixer/package.sh
+++ b/Ports/SDL2_mixer/package.sh
@@ -6,7 +6,7 @@ use_fresh_config_sub=true
config_sub_path=build-scripts/config.sub
files="https://www.libsdl.org/projects/SDL_mixer/release/SDL2_mixer-${version}.tar.gz SDL2_mixer-${version}.tar.gz b4cf5a382c061cd75081cf246c2aa2f9df8db04bdda8dcdc6b6cca55bede2419"
auth_type=sha256
-depends=("libmodplug" "libvorbis" "SDL2")
+depends=("libmodplug" "libmpg123" "libvorbis" "SDL2")
configure() {
export LIBS="-L${SERENITY_INSTALL_ROOT}/usr/local/lib"