summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorB. Watson <yalhcru@gmail.com>2016-08-06 16:08:34 -0400
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2016-08-13 07:22:55 +0700
commita7c73bc5c8a22c157c334ddb69748153fc5bbe45 (patch)
tree4a14ab7116eb38a0eced428f372f44ee210edb57
parent3dc256cdcba32f9d90c542e621059a5dd5f66b0b (diff)
downloadslackbuilds-a7c73bc5c8a22c157c334ddb69748153fc5bbe45.tar.gz
audio/sonic-visualiser: Updated for version 2.5.
-rw-r--r--audio/sonic-visualiser/README8
-rw-r--r--audio/sonic-visualiser/sonic-visualiser.SlackBuild18
-rw-r--r--audio/sonic-visualiser/sonic-visualiser.info8
3 files changed, 23 insertions, 11 deletions
diff --git a/audio/sonic-visualiser/README b/audio/sonic-visualiser/README
index 172a0168b8..0d0578d05d 100644
--- a/audio/sonic-visualiser/README
+++ b/audio/sonic-visualiser/README
@@ -7,11 +7,9 @@ simply listen to it.
Optional dependencies, detected at build time:
-liblo - allows remote control of sonic-visualiser via OSC.
-portaudio - allows sonic-visualiser to run without a JACK server.
-
-If you get compile errors that mention vamphostsdk, update vamp-plugin-sdk
-to version 2.5 (or later, if it exists).
+liblo - allows remote control of sonic-visualiser via OSC.
+portaudio - allows sonic-visualiser to run without a JACK or pulseaudio
+ server.
This package uses POSIX filesystem capabilities to execute with
elevated privileges (required for realtime audio processing). This
diff --git a/audio/sonic-visualiser/sonic-visualiser.SlackBuild b/audio/sonic-visualiser/sonic-visualiser.SlackBuild
index e61e39d019..002743ceb0 100644
--- a/audio/sonic-visualiser/sonic-visualiser.SlackBuild
+++ b/audio/sonic-visualiser/sonic-visualiser.SlackBuild
@@ -6,6 +6,13 @@
# Licensed under the WTFPL. See http://www.wtfpl.net/txt/copying/ for details.
+# 20160806 bkw:
+# - updated to 2.5, which means adding a qt5 dep.
+# - fix parallel build.
+# - according to INSTALL.txt, jack-audio-connection-kit is optional,
+# so I was going to remove it from REQUIRES. I tried building without it,
+# but the build failed, so it remains a hard dep for now.
+
# 20140913 bkw:
# - finally updated (from 1.9 to 2.3)
# - add man page
@@ -14,7 +21,7 @@
# - add realtime capabilities
PRGNAM=sonic-visualiser
-VERSION=${VERSION:-2.3}
+VERSION=${VERSION:-2.5}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
@@ -60,6 +67,7 @@ find -L . \
\( -perm 666 -o -perm 664 -o -perm 600 -o -perm 444 -o -perm 440 -o -perm 400 \) \
-exec chmod 644 {} \;
+QTDIR=$QT5DIR \
CFLAGS="$SLKCFLAGS" \
CXXFLAGS="$SLKCFLAGS" \
./configure \
@@ -71,7 +79,13 @@ CXXFLAGS="$SLKCFLAGS" \
--docdir=/usr/doc/$PRGNAM-$VERSION \
--build=$ARCH-slackware-linux
-make -j1
+# parallel build fails from main Makefile, used to have to do this:
+#make -j1
+
+# ...but forcing libsvcore.a to be built first, allows parallel make
+# to succeed.
+make -C svcore
+make
# There is no 'make install', stick everything where it goes:
mkdir -p $PKG/usr/share/$PRGNAM/samples $PKG/usr/bin
diff --git a/audio/sonic-visualiser/sonic-visualiser.info b/audio/sonic-visualiser/sonic-visualiser.info
index e0615301ac..6d18224ac1 100644
--- a/audio/sonic-visualiser/sonic-visualiser.info
+++ b/audio/sonic-visualiser/sonic-visualiser.info
@@ -1,10 +1,10 @@
PRGNAM="sonic-visualiser"
-VERSION="2.3"
+VERSION="2.5"
HOMEPAGE="http://sonicvisualiser.org/"
-DOWNLOAD="https://code.soundsoftware.ac.uk/attachments/download/918/sonic-visualiser-2.3.tar.gz"
-MD5SUM="3c26444561dcff2ce87d1d3e36f178a3"
+DOWNLOAD="https://code.soundsoftware.ac.uk/attachments/download/1675/sonic-visualiser-2.5.tar.gz"
+MD5SUM="bb79007d4c57391b361cbc51304e1ce2"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
-REQUIRES="jack-audio-connection-kit liblrdf rubberband vamp-plugin-sdk sord"
+REQUIRES="qt5 jack-audio-connection-kit liblrdf rubberband vamp-plugin-sdk sord"
MAINTAINER="B. Watson"
EMAIL="yalhcru@gmail.com"