mirror of
https://github.com/chocolate-doom/chocpkg.git
synced 2024-11-10 07:11:39 +00:00
Merge pull request #18 from chocolate-doom/mpg123-1.25.13
Mpg123 1.25.13
This commit is contained in:
commit
e13fe8f8c5
2 changed files with 11 additions and 1 deletions
|
@ -11,6 +11,7 @@ variant latest fetch_hg https://hg.libsdl.org/SDL_mixer
|
||||||
config_options="
|
config_options="
|
||||||
--disable-music-mod --disable-music-flac-shared
|
--disable-music-mod --disable-music-flac-shared
|
||||||
--disable-music-ogg-shared
|
--disable-music-ogg-shared
|
||||||
|
--disable-music-mp3-mpg123-shared
|
||||||
"
|
"
|
||||||
|
|
||||||
# ...except ones we have installed:
|
# ...except ones we have installed:
|
||||||
|
@ -28,7 +29,9 @@ else
|
||||||
config_options+=" --disable-music-midi-fluidsynth"
|
config_options+=" --disable-music-midi-fluidsynth"
|
||||||
fi
|
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"
|
config_options+=" --enable-music-mp3 --enable-music-mp3-mad-gpl"
|
||||||
else
|
else
|
||||||
config_options+=" --disable-music-mp3 --disable-music-mp3-mad-gpl"
|
config_options+=" --disable-music-mp3 --disable-music-mp3-mad-gpl"
|
||||||
|
|
7
pkgdef/libmpg123.sh
Normal file
7
pkgdef/libmpg123.sh
Normal file
|
@ -0,0 +1,7 @@
|
||||||
|
description "Fast console MPEG Audio Player and decoder library"
|
||||||
|
check_library mpg123
|
||||||
|
variant stable fetch_download \
|
||||||
|
https://www.mpg123.de/download/mpg123-1.25.13.tar.bz2 \
|
||||||
|
90306848359c793fd43b9906e52201df18775742dc3c81c06ab67a806509890a
|
||||||
|
build_autotools
|
||||||
|
|
Loading…
Reference in a new issue