summaryrefslogtreecommitdiffstats
path: root/audio/qmmp-qt5
diff options
context:
space:
mode:
Diffstat (limited to 'audio/qmmp-qt5')
-rw-r--r--audio/qmmp-qt5/README2
-rw-r--r--audio/qmmp-qt5/qmmp-qt5.SlackBuild18
-rw-r--r--audio/qmmp-qt5/qmmp-qt5.info8
3 files changed, 19 insertions, 9 deletions
diff --git a/audio/qmmp-qt5/README b/audio/qmmp-qt5/README
index db61455cc9..665463d2a1 100644
--- a/audio/qmmp-qt5/README
+++ b/audio/qmmp-qt5/README
@@ -6,7 +6,7 @@ Qmmp is an audio-player, written with help of Qt library.
The user interface is similar to winamp or xmms.
Qmmp can optionally use the following applications:
-libmms, libmpcdec, soxr + jack, libmodplug, ffmpeg, faad2,
+libmms, libmpcdec, soxr + jack, libmodplug, faad2,
libbs2b, libprojectM, and libenca.
You need soxr and jack to enable JACK support.
diff --git a/audio/qmmp-qt5/qmmp-qt5.SlackBuild b/audio/qmmp-qt5/qmmp-qt5.SlackBuild
index e01dfd9ca8..ea549a5b31 100644
--- a/audio/qmmp-qt5/qmmp-qt5.SlackBuild
+++ b/audio/qmmp-qt5/qmmp-qt5.SlackBuild
@@ -1,4 +1,4 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for qmmp-qt5
# Copyright 2018-2020 Isaac Yu <isaacyu1@isaacyu1.com>
@@ -19,10 +19,13 @@
# (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF
# THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=qmmp-qt5
-VERSION=${VERSION:-1.3.7}
+VERSION=${VERSION:-1.5.1}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
SRCNAM=qmmp
@@ -34,7 +37,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}
@@ -93,4 +103,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/qmmp-qt5/qmmp-qt5.info b/audio/qmmp-qt5/qmmp-qt5.info
index 21362fa73b..ab1ffedf07 100644
--- a/audio/qmmp-qt5/qmmp-qt5.info
+++ b/audio/qmmp-qt5/qmmp-qt5.info
@@ -1,10 +1,10 @@
PRGNAM="qmmp-qt5"
-VERSION="1.3.7"
+VERSION="1.5.1"
HOMEPAGE="https://qmmp.ylsoftware.com/"
-DOWNLOAD="https://qmmp.ylsoftware.com/files/qmmp-1.3.7.tar.bz2"
-MD5SUM="23f2d2ea40e0c909030f78da3cefe777"
+DOWNLOAD="https://qmmp.ylsoftware.com/files/qmmp/1.5/qmmp-1.5.1.tar.bz2"
+MD5SUM="830e799402f742bdb866651cdf988361"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
-REQUIRES="qt5"
+REQUIRES=""
MAINTAINER="Isaac Yu"
EMAIL="isaacyu1@isaacyu1.com"