summaryrefslogtreecommitdiffstats
path: root/audio/mpd
diff options
context:
space:
mode:
Diffstat (limited to 'audio/mpd')
-rw-r--r--audio/mpd/README7
-rw-r--r--audio/mpd/mpd.SlackBuild18
-rw-r--r--audio/mpd/mpd.info2
3 files changed, 17 insertions, 10 deletions
diff --git a/audio/mpd/README b/audio/mpd/README
index 3e33dbd623..4504f8b21b 100644
--- a/audio/mpd/README
+++ b/audio/mpd/README
@@ -8,16 +8,13 @@ also makes a great desktop music player, especially if you are a console
junkie, like frontend options, or restart X often.
Some optional and important dependencies, detected automatically:
-* ffmpeg: is recommended for support a wide variety of audio file types
* libshout: enables shoutcast streaming output
* libmms: used for play mms:// and mmsh:// type network streams
-* id3lib: add support for edit ID3 tags
* avahi: add support for discovering services on network
* yajl: add support for open soundcloud.com streams
-Other optional dependencies, detected automatically:
-libmpdclient, musepack-tools, lame, faad2, fluidsynth, libsidplay2,
-twolame, libnfs, jack, zziplib.
+Other optional dependencies, detected automatically: libmpdclient,
+musepack-tools, faad2, libsidplay2, twolame, libnfs, jack, zziplib.
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 9ccb34020f..025eda6499 100644
--- a/audio/mpd/mpd.SlackBuild
+++ b/audio/mpd/mpd.SlackBuild
@@ -1,4 +1,4 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for mpd
@@ -26,10 +26,13 @@
# 20200411 bkw: not taking this over, but I'm upgrading it to the latest
# release as part of the migration to fluidsynth-2.x.
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=mpd
VERSION=${VERSION:-0.21.22}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
@@ -39,7 +42,14 @@ if [ -z "$ARCH" ]; then
esac
fi
-CWD=$(pwd)
+# If the variable PRINT_PACKAGE_NAME is set, then this script will report what
+# the name of the created package would be, and then exit. This information
+# could be useful to other scripts.
+if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then
+ echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE"
+ exit 0
+fi
+
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
@@ -92,7 +102,7 @@ cd build
--prefix=/usr \
--sysconfdir=/etc
${NINJA:-ninja}
- DESTDIR=$PKG ninja install
+ DESTDIR=$PKG $NINJA install
cd ..
strip $PKG/usr/bin/$PRGNAM
@@ -120,4 +130,4 @@ cat $CWD/slack-desc > $PKG/install/slack-desc
cat $CWD/doinst.sh > $PKG/install/doinst.sh
cd $PKG
-/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz}
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/audio/mpd/mpd.info b/audio/mpd/mpd.info
index 57ce03e37d..129f6c469c 100644
--- a/audio/mpd/mpd.info
+++ b/audio/mpd/mpd.info
@@ -5,6 +5,6 @@ DOWNLOAD="https://www.musicpd.org/download/mpd/0.21/mpd-0.21.22.tar.xz"
MD5SUM="bb2629c875aae28460cda5cf5257434b"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
-REQUIRES="meson"
+REQUIRES=""
MAINTAINER="DhabyX"
EMAIL="slack.dhabyx@gmail.com"