diff options
Diffstat (limited to 'audio/calf-ladspa/calf-ladspa.SlackBuild')
-rw-r--r-- | audio/calf-ladspa/calf-ladspa.SlackBuild | 20 |
1 files changed, 7 insertions, 13 deletions
diff --git a/audio/calf-ladspa/calf-ladspa.SlackBuild b/audio/calf-ladspa/calf-ladspa.SlackBuild index 53e77de7bb1f7..46a68d79570de 100644 --- a/audio/calf-ladspa/calf-ladspa.SlackBuild +++ b/audio/calf-ladspa/calf-ladspa.SlackBuild @@ -4,6 +4,9 @@ # Written by B. Watson (yalhcru@gmail.com) +# 20211127 bkw: BUILD=2 +# - rework README and slack-desc, remove mentions of JACK and DSSI. + # 20170706 bkw: # - Patch source so it doesn't check for jack-audio-connection-kit or # fluidsynth. Previously they were required for the build to complete, @@ -46,9 +49,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 @@ -93,11 +93,8 @@ rm -rf $SRCNAM-$VERSION tar xvf $CWD/$SRCNAM-$VERSION.tar.gz cd $SRCNAM-$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 640 -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 {} \+ # There are no --without or --disable options for jack and fluidsynth, # so patch the autoconf to skip them (they're not needed for the LADSPA @@ -105,9 +102,7 @@ find -L . \ patch -p1 < $CWD/disable-jack-and-fluidsynth.diff # gcc 7 is very picky about the argument types of std::min() and std::max(). -# This patch replaces them with C-style MIN and MAX macros. Not actually -# needed on Slack 14.2, so it's commented out, but I'm checking the actual -# patch into git so I won't lose track of it. +# This patch replaces them with C-style MIN and MAX macros. patch -p1 < $CWD/minmax.diff autoreconf -if @@ -142,8 +137,7 @@ make make install DESTDIR=$PKG docdir=/usr/doc/$PRGNAM-$VERSION # install-strip is supported, but doesn't work: -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 +strip $PKG/usr/lib*/ladspa/*.so # This build is only for the ladspa plugins, so none of this # other stuff should be in the package: |