From d9bfebbcebf13717cc8a90e9667ebba53ae54654 Mon Sep 17 00:00:00 2001 From: Luis Henrique Date: Tue, 12 Jul 2011 05:20:25 -0400 Subject: audio/vamp-plugin-sdk: Updated to fix plugin path on x86_64. Signed-off-by: dsomero --- audio/vamp-plugin-sdk/vamp-plugin-sdk.SlackBuild | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) (limited to 'audio') diff --git a/audio/vamp-plugin-sdk/vamp-plugin-sdk.SlackBuild b/audio/vamp-plugin-sdk/vamp-plugin-sdk.SlackBuild index cabac0ca70..c429513de3 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 \ -- cgit v1.2.3