aboutsummaryrefslogtreecommitdiff
path: root/audio/vamp-plugin-sdk/vamp-plugin-sdk.SlackBuild
diff options
context:
space:
mode:
Diffstat (limited to 'audio/vamp-plugin-sdk/vamp-plugin-sdk.SlackBuild')
-rw-r--r--audio/vamp-plugin-sdk/vamp-plugin-sdk.SlackBuild7
1 files changed, 6 insertions, 1 deletions
diff --git a/audio/vamp-plugin-sdk/vamp-plugin-sdk.SlackBuild b/audio/vamp-plugin-sdk/vamp-plugin-sdk.SlackBuild
index cabac0ca70e6..c429513de362 100644
--- a/audio/vamp-plugin-sdk/vamp-plugin-sdk.SlackBuild
+++ b/audio/vamp-plugin-sdk/vamp-plugin-sdk.SlackBuild
@@ -6,7 +6,7 @@
PRGNAM=vamp-plugin-sdk
VERSION=${VERSION:-2.2.1}
-BUILD=${BUILD:-1}
+BUILD=${BUILD:-2}
TAG=${TAG:-_SBo}
if [ -z "$ARCH" ]; then
@@ -57,6 +57,11 @@ find . \
# Fix libdir on x86_64
[ "$ARCH" = "x86_64" ] && patch -p1 < $CWD/libdir_x86_64.diff
+# Fix default plugin path on x86_64
+[ "$ARCH" = "x86_64" ] && \
+ sed -i 's,/usr/lib/vamp,/usr/lib64/vamp,' \
+ src/vamp-hostsdk/PluginHostAdapter.cpp
+
CFLAGS="$SLKCFLAGS" \
CXXFLAGS="$SLKCFLAGS" \
./configure \