audio/mpd: Updated for version 0.19.

Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
This commit is contained in:
DhabyX 2014-10-18 16:05:18 +07:00 committed by Willy Sudiarto Raharjo
parent 5965b83616
commit eaaeec68fe
3 changed files with 44 additions and 12 deletions

View file

@ -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.

View file

@ -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
@ -96,22 +117,26 @@ find -L . \
\( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 \
-o -perm 511 \) -exec chmod 755 {} \; -o \
\( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \
-o -perm 440 -o -perm 400 \) -exec chmod 644 {} \;
-o -perm 440 -o -perm 400 \) -exec chmod 644 {} \;
#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

View file

@ -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=""