summaryrefslogtreecommitdiffstats
path: root/audio/sonic-visualiser
diff options
context:
space:
mode:
Diffstat (limited to 'audio/sonic-visualiser')
-rw-r--r--audio/sonic-visualiser/sonic-visualiser.SlackBuild16
-rw-r--r--audio/sonic-visualiser/sonic-visualiser.info2
2 files changed, 14 insertions, 4 deletions
diff --git a/audio/sonic-visualiser/sonic-visualiser.SlackBuild b/audio/sonic-visualiser/sonic-visualiser.SlackBuild
index 41100d34b5..5fe1ea7f81 100644
--- a/audio/sonic-visualiser/sonic-visualiser.SlackBuild
+++ b/audio/sonic-visualiser/sonic-visualiser.SlackBuild
@@ -1,4 +1,4 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for sonic-visualiser
@@ -60,10 +60,13 @@
# - add MIME types for desktop integration
# - add realtime capabilities
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=sonic-visualiser
VERSION=${VERSION:-4.2}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
@@ -73,7 +76,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}
@@ -219,4 +229,4 @@ if [ "${SETCAP:-yes}" = "yes" -a "$JACKYN" = "yes" ]; then
fi
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/sonic-visualiser/sonic-visualiser.info b/audio/sonic-visualiser/sonic-visualiser.info
index 2328b16c2d..d8d930cfd6 100644
--- a/audio/sonic-visualiser/sonic-visualiser.info
+++ b/audio/sonic-visualiser/sonic-visualiser.info
@@ -5,6 +5,6 @@ DOWNLOAD="https://code.soundsoftware.ac.uk/attachments/download/2755/sonic-visua
MD5SUM="8ea411b2014e694f8dfc1a9684f4f538"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
-REQUIRES="qt5 liblrdf rubberband vamp-plugin-sdk sord capnproto opusfile libfishsound"
+REQUIRES="liblrdf rubberband vamp-plugin-sdk sord capnproto libfishsound"
MAINTAINER="B. Watson"
EMAIL="yalhcru@gmail.com"