summaryrefslogtreecommitdiff
path: root/audio/mpd
diff options
context:
space:
mode:
authorB. Watson <yalhcru@gmail.com>2022-02-18 16:06:27 -0500
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2022-02-20 15:12:40 +0700
commiteb6bd8ffdb3bcc2d06256d005ad46a04fc87b3d2 (patch)
tree9126e3434ebc0bcc7c7f4f069bd2dc970ba4a9b7 /audio/mpd
parenta4f4228942ce3dc3aeaef620c498e0c4b9a49551 (diff)
downloadslackbuilds-eb6bd8ffdb3bcc2d06256d005ad46a04fc87b3d2.tar.gz
audio/mpd: Updated for version 0.23.5.
Signed-off-by: B. Watson <yalhcru@gmail.com> Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'audio/mpd')
-rw-r--r--audio/mpd/mpd.SlackBuild25
-rw-r--r--audio/mpd/mpd.info6
2 files changed, 17 insertions, 14 deletions
diff --git a/audio/mpd/mpd.SlackBuild b/audio/mpd/mpd.SlackBuild
index 2b396b72a5..f332d1be06 100644
--- a/audio/mpd/mpd.SlackBuild
+++ b/audio/mpd/mpd.SlackBuild
@@ -23,13 +23,23 @@
# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+# 20220218 bkw: Modified by SlackBuilds.org:
+# - build was failing if libmikmod or libupnp were installed, so I
+# updated to the latest version (0.23.5).
+# - the version update didn't fix it, so libmikmod and libupnp are
+# disabled now (via meson -D options).
+
+# Note to whoever's updating this script in the future: try removing
+# the -Dmikmod=disabled and/or -Dupnp=disabled options. Upstream may
+# fix the issue at some point.
+
# 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}
+VERSION=${VERSION:-0.23.5}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
PKGTYPE=${PKGTYPE:-tgz}
@@ -42,9 +52,6 @@ if [ -z "$ARCH" ]; then
esac
fi
-# 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
@@ -94,6 +101,8 @@ cd build
meson .. \
-Dsystemd=disabled \
-Dpulse=$PULSE \
+ -Dupnp=disabled \
+ -Dmikmod=disabled \
--buildtype=release \
--infodir=/usr/info \
--libdir=/usr/lib${LIBDIRSUFFIX} \
@@ -115,13 +124,7 @@ rm -rf $PKG/usr/share/doc
# Use sample config, without overwriting
install -D -m 644 doc/mpdconf.example $PKG/etc/mpd.conf.new
-# 20200411 bkw: after the switch to meson, man pages aren't installed
-# automatically for some reason.
-for SECT in 1 5; do
- mkdir -p $PKG/usr/man/man$SECT
- cp doc/*.$SECT $PKG/usr/man/man$SECT
- gzip -9 $PKG/usr/man/man$SECT/*.$SECT
-done
+gzip -9 $PKG/usr/man/man*/*
cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
diff --git a/audio/mpd/mpd.info b/audio/mpd/mpd.info
index 129f6c469c..c10b63e00f 100644
--- a/audio/mpd/mpd.info
+++ b/audio/mpd/mpd.info
@@ -1,8 +1,8 @@
PRGNAM="mpd"
-VERSION="0.21.22"
+VERSION="0.23.5"
HOMEPAGE="https://www.musicpd.org/"
-DOWNLOAD="https://www.musicpd.org/download/mpd/0.21/mpd-0.21.22.tar.xz"
-MD5SUM="bb2629c875aae28460cda5cf5257434b"
+DOWNLOAD="http://www.musicpd.org/download/mpd/0.23/mpd-0.23.5.tar.xz"
+MD5SUM="624ff40f0f059fab58843ab90ce2bc9a"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES=""