mirror of
https://github.com/Ponce/slackbuilds
synced 2024-11-21 19:42:24 +01:00
audio/mpd: Updated for version 0.19.
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
This commit is contained in:
parent
5965b83616
commit
eaaeec68fe
3 changed files with 44 additions and 12 deletions
|
@ -14,6 +14,13 @@ ISO9660=yes|no (default: no), enable iso9660 archive support
|
|||
SOUNDCLOUD=yes|no (default: no), enable support for soundcloud.com
|
||||
RECORDEROUTPUT=yes|no (default:no), enables the recorder file output plugin
|
||||
ZZIPLIB=yes|no (default: no), requires zziplib
|
||||
ID3=yes|no (default: no), requires id3lib
|
||||
FLAC=yes|no (default: no)
|
||||
SQLITE=yes|no (default: no)
|
||||
|
||||
Optional packages detected automatically: ffmpeg, libmp4v2, opus,
|
||||
musepack-tools, twolame, libmms, avahi, jack, pulse, faad2, mod_dnssd,
|
||||
fluidsynth
|
||||
|
||||
NOTE: Be sure to edit the config file (/etc/mpd.conf or ~/mpd.conf)
|
||||
before running the daemon.
|
||||
|
|
|
@ -24,7 +24,7 @@
|
|||
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
||||
|
||||
PRGNAM=mpd
|
||||
VERSION=${VERSION:-0.18.12}
|
||||
VERSION=${VERSION:-0.19}
|
||||
BUILD=${BUILD:-1}
|
||||
TAG=${TAG:-_SBo}
|
||||
|
||||
|
@ -57,6 +57,20 @@ fi
|
|||
|
||||
set -e
|
||||
|
||||
# flac support
|
||||
if [ "${FLAC:-no}" != "no" ]; then
|
||||
flac="enable"
|
||||
else
|
||||
flac="disable"
|
||||
fi
|
||||
|
||||
# id3 support
|
||||
if [ "${ID3:-no}" != "no" ]; then
|
||||
id3="enable"
|
||||
else
|
||||
id3="disable"
|
||||
fi
|
||||
|
||||
# iso9660 support
|
||||
if [ "${ISO9660:-no}" != "no" ]; then
|
||||
iso9660="enable"
|
||||
|
@ -64,6 +78,13 @@ else
|
|||
iso9660="disable"
|
||||
fi
|
||||
|
||||
# recorder file output support
|
||||
if [ "${RECORDEROUTPUT:-no}" != "no" ]; then
|
||||
recorder="enable"
|
||||
else
|
||||
recorder="disable"
|
||||
fi
|
||||
|
||||
# Soundcloud.com support
|
||||
if [ "${SOUNDCLOUD:-no}" != "no" ]; then
|
||||
soundcloud="enable"
|
||||
|
@ -71,11 +92,11 @@ else
|
|||
soundcloud="disable"
|
||||
fi
|
||||
|
||||
# recorder file output support
|
||||
if [ "${RECORDEROUTPUT:-no}" != "no" ]; then
|
||||
recorder="enable"
|
||||
# sqlite support
|
||||
if [ "${SQLITE:-no}" != "no" ]; then
|
||||
sqlite="enable"
|
||||
else
|
||||
recorder="disable"
|
||||
sqlite="disable"
|
||||
fi
|
||||
|
||||
# zziplib support
|
||||
|
@ -101,17 +122,21 @@ find -L . \
|
|||
#adding LDFLAGS="-lnsl" for libwrap, part of tcp_wrappers package
|
||||
CFLAGS="$SLKCFLAGS" \
|
||||
CXXFLAGS="$SLKCFLAGS" \
|
||||
LDFLAGS="-lnsl" \
|
||||
LDFLAGS="-L/usr/lib${LIBDIRSUFFIX} -lnsl" \
|
||||
./configure \
|
||||
--prefix=/usr \
|
||||
--sysconfdir=/etc \
|
||||
--libdir=/usr/lib${LIBDIRSUFFIX} \
|
||||
--mandir=/usr/man \
|
||||
--enable-documentation \
|
||||
--${flac}-flac \
|
||||
--${id3}-id3 \
|
||||
--${iso9660}-iso9660 \
|
||||
--${soundcloud}-soundcloud \
|
||||
--${zziplib}-zzip \
|
||||
--${recorder}-recorder-output \
|
||||
--${soundcloud}-soundcloud \
|
||||
--${sqlite}-sqlite \
|
||||
--${zziplib}-zzip \
|
||||
--enable-cdio-paranoia \
|
||||
--disable-dependency-tracking \
|
||||
--docdir=/usr/doc/$PRGNAM-$VERSION \
|
||||
--build=$ARCH-slackware-linux
|
||||
|
|
|
@ -1,8 +1,8 @@
|
|||
PRGNAM="mpd"
|
||||
VERSION="0.18.12"
|
||||
VERSION="0.19"
|
||||
HOMEPAGE="http://www.musicpd.org/"
|
||||
DOWNLOAD="http://www.musicpd.org/download/mpd/0.18/mpd-0.18.12.tar.xz"
|
||||
MD5SUM="d42be8d5cf66e8d5345704c3456206ac"
|
||||
DOWNLOAD="http://www.musicpd.org/download/mpd/0.19/mpd-0.19.tar.xz"
|
||||
MD5SUM="770261630e6f086bd7d5b374abf521c0"
|
||||
DOWNLOAD_x86_64=""
|
||||
MD5SUM_x86_64=""
|
||||
REQUIRES=""
|
||||
|
|
Loading…
Reference in a new issue