diff options
Diffstat (limited to 'audio/vamp-plugin-sdk')
-rw-r--r-- | audio/vamp-plugin-sdk/README | 2 | ||||
-rw-r--r-- | audio/vamp-plugin-sdk/vamp-plugin-sdk.SlackBuild | 13 |
2 files changed, 7 insertions, 8 deletions
diff --git a/audio/vamp-plugin-sdk/README b/audio/vamp-plugin-sdk/README index f9a7d40515357..b679a777cfe68 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 c18bfccedaf9e..11adae81bdc50 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 |