aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorB. Watson <yalhcru@gmail.com>2015-04-05 00:49:05 +0700
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2015-04-05 00:49:05 +0700
commit034657c2fd14ebba5b73975c6df856fd97a418ed (patch)
treeb97c3ebdbf66062acbffa9973517144002ad14fe
parenta2c5276c484b8101e34f18c03d61f5cc3eea5b6b (diff)
audio/qm-vamp-plugins: Fix link error.
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
-rw-r--r--audio/qm-vamp-plugins/qm-vamp-plugins.SlackBuild9
1 files changed, 8 insertions, 1 deletions
diff --git a/audio/qm-vamp-plugins/qm-vamp-plugins.SlackBuild b/audio/qm-vamp-plugins/qm-vamp-plugins.SlackBuild
index 14b26d8bc45a..dae6bab1f8eb 100644
--- a/audio/qm-vamp-plugins/qm-vamp-plugins.SlackBuild
+++ b/audio/qm-vamp-plugins/qm-vamp-plugins.SlackBuild
@@ -6,9 +6,12 @@
# Licensed under the WTFPL. See http://www.wtfpl.net/txt/copying/ for details.
+# 20150403 bkw:
+# Bump BUILD to 3, make it build against vamp-plugin-sdk 2.5 (whoops)
+
PRGNAM=qm-vamp-plugins
VERSION=${VERSION:-1.7}
-BUILD=${BUILD:-2}
+BUILD=${BUILD:-3}
TAG=${TAG:-_SBo}
if [ -z "$ARCH" ]; then
@@ -134,6 +137,10 @@ find -L . \
\( -perm 666 -o -perm 664 -o -perm 600 -o -perm 444 -o -perm 440 -o -perm 400 \) \
-exec chmod 644 {} \;
+# 20150403 bkw: crap. getting rid of vamp-plugin-sdk static libs
+# breaks this. Fix by getting rid of -Wl,-Bstatic and -Wl,-Bdynamic
+# options (so it doesn't insisnt on a static libvamp-sdk).
+sed -i 's/-Wl,-B[^ ]* //g' build/linux/Makefile.linux64
fix_sse_flags build/linux/Makefile.linux64
make -f build/linux/Makefile.linux64