diff options
Diffstat (limited to 'audio/qm-vamp-plugins/qm-vamp-plugins.SlackBuild')
-rw-r--r-- | audio/qm-vamp-plugins/qm-vamp-plugins.SlackBuild | 28 |
1 files changed, 12 insertions, 16 deletions
diff --git a/audio/qm-vamp-plugins/qm-vamp-plugins.SlackBuild b/audio/qm-vamp-plugins/qm-vamp-plugins.SlackBuild index 9654efac0134f..d411e168366bd 100644 --- a/audio/qm-vamp-plugins/qm-vamp-plugins.SlackBuild +++ b/audio/qm-vamp-plugins/qm-vamp-plugins.SlackBuild @@ -6,12 +6,13 @@ # Licensed under the WTFPL. See http://www.wtfpl.net/txt/copying/ for details. +# 20191202 bkw: update for v1.7.1 # 20150403 bkw: # Bump BUILD to 3, make it build against vamp-plugin-sdk 2.5 (whoops) PRGNAM=qm-vamp-plugins -VERSION=${VERSION:-1.7} -BUILD=${BUILD:-3} +VERSION=${VERSION:-1.7.1} +BUILD=${BUILD:-1} TAG=${TAG:-_SBo} if [ -z "$ARCH" ]; then @@ -68,17 +69,14 @@ LIBNAM=qm-dsp rm -rf $PKG mkdir -p $TMP $PKG $OUTPUT cd $TMP -rm -rf $PRGNAM-$VERSION $LIBNAM-$VERSION +rm -rf $PRGNAM-$VERSION $LIBNAM-$VERSION $LIBNAM tar xvf $CWD/$PRGNAM-$VERSION.tar.gz tar xvf $CWD/$LIBNAM-$VERSION.tar.gz cd $LIBNAM-$VERSION chown -R root:root . -find -L . \ - \( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 -o -perm 511 \) \ - -exec chmod 755 {} \; -o \ - \( -perm 666 -o -perm 664 -o -perm 600 -o -perm 444 -o -perm 440 -o -perm 400 \) \ - -exec chmod 644 {} \; +find -L . -perm /111 -a \! -perm 755 -a -exec chmod 755 {} \+ -o \ + \! -perm /111 -a \! -perm 644 -a -exec chmod 644 {} \+ # Why doesn't the include path include the project's own include/ dir? # (without this, it can't find its own headers) @@ -131,17 +129,17 @@ ln -s $LIBNAM-$VERSION $LIBNAM cd $PRGNAM-$VERSION chown -R root:root . -find -L . \ - \( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 -o -perm 511 \) \ - -exec chmod 755 {} \; -o \ - \( -perm 666 -o -perm 664 -o -perm 600 -o -perm 444 -o -perm 440 -o -perm 400 \) \ - -exec chmod 644 {} \; +find -L . -perm /111 -a \! -perm 755 -a -exec chmod 755 {} \+ -o \ + \! -perm /111 -a \! -perm 644 -a -exec chmod 644 {} \+ # 20150403 bkw: crap. getting rid of vamp-plugin-sdk static libs # breaks this. Fix by getting rid of -Wl,-Bstatic and -Wl,-Bdynamic # options (so it doesn't insisnt on a static libvamp-sdk). sed -i 's/-Wl,-B[^ ]* //g' build/linux/Makefile.linux64 +# 20191202 bkw: this used to be there, have to re-add it: +sed -i "/^LDFLAGS/s,\$, -L$TMP/qm-dsp," build/linux/Makefile.linux64 + fix_sse_flags build/linux/Makefile.linux64 make -f build/linux/Makefile.linux64 @@ -150,9 +148,7 @@ mkdir -p $PKG/usr/lib$LIBDIRSUFFIX/vamp cp $PRGNAM.so $PRGNAM.cat $PRGNAM.n3 $PKG/usr/lib$LIBDIRSUFFIX/vamp mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION -cp -a \ - README.txt COPYING \ - $PKG/usr/doc/$PRGNAM-$VERSION +cp -a README.txt COPYING $PKG/usr/doc/$PRGNAM-$VERSION cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild mkdir -p $PKG/install |