audio/vamp-plugin-sdk: Updated to fix plugin path on x86_64.

Signed-off-by: dsomero <xgizzmo@slackbuilds.org>
This commit is contained in:
Luis Henrique 2011-07-12 05:20:25 -04:00 committed by Niels Horn
parent 2af8007e4b
commit d9bfebbceb

View file

@ -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 \