summaryrefslogtreecommitdiff
path: root/audio/mpd/mpd.SlackBuild
diff options
context:
space:
mode:
Diffstat (limited to 'audio/mpd/mpd.SlackBuild')
-rw-r--r--audio/mpd/mpd.SlackBuild12
1 files changed, 10 insertions, 2 deletions
diff --git a/audio/mpd/mpd.SlackBuild b/audio/mpd/mpd.SlackBuild
index f7a05dcad4..ae32b91de5 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.19.10}
+VERSION=${VERSION:-0.19.17}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
@@ -58,6 +58,13 @@ fi
set -e
# flac support
+if [ "${FFMPEG:-no}" != "no" ]; then
+ ffmpeg="enable"
+else
+ ffmpeg="disable"
+fi
+
+# flac support
if [ "${FLAC:-no}" != "no" ]; then
flac="enable"
else
@@ -130,6 +137,8 @@ LDFLAGS="-L/usr/lib${LIBDIRSUFFIX} -lnsl" \
--mandir=/usr/man \
--enable-documentation \
--enable-database \
+ --enable-pulse \
+ --${ffmpeg}-ffmpeg \
--${flac}-flac \
--${id3}-id3 \
--${iso9660}-iso9660 \
@@ -141,7 +150,6 @@ LDFLAGS="-L/usr/lib${LIBDIRSUFFIX} -lnsl" \
--disable-dependency-tracking \
--docdir=/usr/doc/$PRGNAM-$VERSION \
--build=$ARCH-slackware-linux
-
make
make install DESTDIR=$PKG