aboutsummaryrefslogtreecommitdiff
path: root/audio/vamp-plugin-sdk/vamp-plugin-sdk.SlackBuild
diff options
context:
space:
mode:
authorLuis Henrique <lmello.009@gmail.com>2011-07-12 05:20:25 -0400
committerNiels Horn <niels.horn@slackbuilds.org>2011-07-14 21:54:05 -0300
commitd9bfebbcebf13717cc8a90e9667ebba53ae54654 (patch)
treee8b4c98f29facba85f6ce4d276433516e6bd1b82 /audio/vamp-plugin-sdk/vamp-plugin-sdk.SlackBuild
parent2af8007e4b76ae9c21e4faf53be8410ee7711e94 (diff)
audio/vamp-plugin-sdk: Updated to fix plugin path on x86_64.
Signed-off-by: dsomero <xgizzmo@slackbuilds.org>
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 cabac0ca70e63..c429513de362d 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 \