mirror of
https://github.com/chocolate-doom/chocpkg.git
synced 2024-11-27 06:22:07 +00:00
Let SDL2_Mixer prefer libmpg123 over libmad.
This commit is contained in:
parent
59d6d86266
commit
2a077082e8
1 changed files with 4 additions and 1 deletions
|
@ -11,6 +11,7 @@ variant latest fetch_hg https://hg.libsdl.org/SDL_mixer
|
|||
config_options="
|
||||
--disable-music-mod --disable-music-flac-shared
|
||||
--disable-music-ogg-shared
|
||||
--disable-music-mp3-mpg123-shared
|
||||
"
|
||||
|
||||
# ...except ones we have installed:
|
||||
|
@ -28,7 +29,9 @@ else
|
|||
config_options+=" --disable-music-midi-fluidsynth"
|
||||
fi
|
||||
|
||||
if chocpkg installed ${PACKAGE_TYPE}:libmad; then
|
||||
if chocpkg installed ${PACKAGE_TYPE}:libmpg123; then
|
||||
config_options+=" --enable-music-mp3 --disable-music-mp3-mad-gpl --enable-music-mp3-mpg123"
|
||||
elif chocpkg installed ${PACKAGE_TYPE}:libmad; then
|
||||
config_options+=" --enable-music-mp3 --enable-music-mp3-mad-gpl"
|
||||
else
|
||||
config_options+=" --disable-music-mp3 --disable-music-mp3-mad-gpl"
|
||||
|
|
Loading…
Reference in a new issue