aboutsummaryrefslogtreecommitdiff
path: root/audio/sonic-visualiser/sonic-visualiser.SlackBuild
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 /audio/sonic-visualiser/sonic-visualiser.SlackBuild
parent3dc256cdcba32f9d90c542e621059a5dd5f66b0b (diff)
audio/sonic-visualiser: Updated for version 2.5.
Diffstat (limited to 'audio/sonic-visualiser/sonic-visualiser.SlackBuild')
-rw-r--r--audio/sonic-visualiser/sonic-visualiser.SlackBuild18
1 files changed, 16 insertions, 2 deletions
diff --git a/audio/sonic-visualiser/sonic-visualiser.SlackBuild b/audio/sonic-visualiser/sonic-visualiser.SlackBuild
index e61e39d01944..002743ceb07b 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