summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
author B. Watson2021-11-26 23:23:17 +0100
committer Willy Sudiarto Raharjo2021-12-04 04:09:02 +0100
commit98c3ec952bb8b1c2fc09aa880312563a09131edf (patch)
tree804935ee19ead61bb7f7efa49e4b82fd884cf619
parentbf20b411b8af0c504747db0de7dac58f7ed73c2a (diff)
downloadslackbuilds-98c3ec952bb8b1c2fc09aa880312563a09131edf.tar.gz
audio/vamp-plugin-sdk: Add -j1 to make command.
Signed-off-by: B. Watson <yalhcru@gmail.com> Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
-rw-r--r--audio/vamp-plugin-sdk/README2
-rw-r--r--audio/vamp-plugin-sdk/vamp-plugin-sdk.SlackBuild13
2 files changed, 7 insertions, 8 deletions
diff --git a/audio/vamp-plugin-sdk/README b/audio/vamp-plugin-sdk/README
index f9a7d40515..b679a777cf 100644
--- a/audio/vamp-plugin-sdk/README
+++ b/audio/vamp-plugin-sdk/README
@@ -1,2 +1,4 @@
+vamp-plugin-sdk (audio analysis API)
+
Vamp is an API for C and C++ plugins that process sampled audio data
to produce descriptive output (measurements or semantic observations).
diff --git a/audio/vamp-plugin-sdk/vamp-plugin-sdk.SlackBuild b/audio/vamp-plugin-sdk/vamp-plugin-sdk.SlackBuild
index c18bfcceda..11adae81bd 100644
--- a/audio/vamp-plugin-sdk/vamp-plugin-sdk.SlackBuild
+++ b/audio/vamp-plugin-sdk/vamp-plugin-sdk.SlackBuild
@@ -9,6 +9,7 @@
# Licensed under the WTFPL. See http://www.wtfpl.net/txt/copying/ for details.
+# 20211126 bkw: Parallel build broken on -current, add -j1.
# 20191202 bkw: Update for v2.9.0
# 20170712 bkw: Update for v2.7.1
# 20160803 bkw: Update for v2.6, BUILD=1
@@ -38,9 +39,6 @@ if [ -z "$ARCH" ]; then
esac
fi
-# If the variable PRINT_PACKAGE_NAME is set, then this script will report what
-# the name of the created package would be, and then exit. This information
-# could be useful to other scripts.
if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then
echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE"
exit 0
@@ -87,10 +85,12 @@ CXXFLAGS="$SLKCFLAGS" \
--enable-programs \
--build=$ARCH-slackware-linux
-make
+make -j1
make install DESTDIR=$PKG
+strip $PKG/usr/bin/* $PKG/usr/lib*/{lib*.so.*.*.*,vamp/*.so}
-# we don't want the static libs
+# we don't want the static libs, and the configure script ignores
+# --disable-static --enable-shared.
rm -f $PKG/usr/lib$LIBDIRSUFFIX/*.a
# Ryan P.C. McQuen <ryanpcmcquen@member.fsf.org> reports that the .la
@@ -109,9 +109,6 @@ export VAMP_PATH=/usr/lib${LIBDIRSUFFIX}/vamp
EOF
chmod 0755 $PKG/etc/profile.d/*
-find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | grep ELF \
- | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true
-
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
cp -a CHANGELOG COPYING INSTALL README* $PKG/usr/doc/$PRGNAM-$VERSION
cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild