summaryrefslogtreecommitdiff
path: root/audio/sonic-visualiser/sonic-visualiser.SlackBuild
diff options
context:
space:
mode:
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 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