aboutsummaryrefslogtreecommitdiff
path: root/audio/mpd
diff options
context:
space:
mode:
authorDhabyX <slack.dhabyx@gmail.com>2014-10-18 16:05:18 +0700
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2014-10-18 16:05:18 +0700
commiteaaeec68feaf0f50630cae4745765777a482e45e (patch)
treef0193286df74c7fec9ea45e9c5e5109295a4d966 /audio/mpd
parent5965b83616662b943cb0e04a162c4b5eb04278e6 (diff)
audio/mpd: Updated for version 0.19.
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'audio/mpd')
-rw-r--r--audio/mpd/README7
-rw-r--r--audio/mpd/mpd.SlackBuild41
-rw-r--r--audio/mpd/mpd.info6
3 files changed, 43 insertions, 11 deletions
diff --git a/audio/mpd/README b/audio/mpd/README
index ef6e13e76bb00..b643c905a5e8f 100644
--- a/audio/mpd/README
+++ b/audio/mpd/README
@@ -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.
diff --git a/audio/mpd/mpd.SlackBuild b/audio/mpd/mpd.SlackBuild
index 22dcc72aba863..b28788ca176f4 100644
--- a/audio/mpd/mpd.SlackBuild
+++ b/audio/mpd/mpd.SlackBuild
@@ -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 \
+ --${recorder}-recorder-output \
--${soundcloud}-soundcloud \
+ --${sqlite}-sqlite \
--${zziplib}-zzip \
- --${recorder}-recorder-output \
+ --enable-cdio-paranoia \
--disable-dependency-tracking \
--docdir=/usr/doc/$PRGNAM-$VERSION \
--build=$ARCH-slackware-linux
diff --git a/audio/mpd/mpd.info b/audio/mpd/mpd.info
index e63a426436569..ad8b5c9871a5a 100644
--- a/audio/mpd/mpd.info
+++ b/audio/mpd/mpd.info
@@ -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=""