diff options
-rw-r--r-- | audio/mpd/mpd.SlackBuild | 25 | ||||
-rw-r--r-- | audio/mpd/mpd.info | 6 |
2 files changed, 17 insertions, 14 deletions
diff --git a/audio/mpd/mpd.SlackBuild b/audio/mpd/mpd.SlackBuild index 2b396b72a589e..f332d1be068ed 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 129f6c469c71c..c10b63e00fe3c 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="" |