summaryrefslogtreecommitdiffstats
path: root/audio/calf-ladspa/calf-ladspa.SlackBuild
diff options
context:
space:
mode:
author B. Watson <yalhcru@gmail.com>2021-11-27 17:06:31 -0500
committer Willy Sudiarto Raharjo <willysr@slackbuilds.org>2021-12-04 10:09:04 +0700
commite7ebfac2f3032a81c3c600d81d4db47458c0ccea (patch)
treef7a4a1ab21be52f43a79da68f33a955e4b60f575 /audio/calf-ladspa/calf-ladspa.SlackBuild
parentb059b49a31f46762e2fad1e1ddebf59518cb8e83 (diff)
downloadslackbuilds-e7ebfac2f3032a81c3c600d81d4db47458c0ccea.tar.gz
slackbuilds-e7ebfac2f3032a81c3c600d81d4db47458c0ccea.tar.xz
audio/calf-ladspa: Clean up README and slack-desc.
Signed-off-by: B. Watson <yalhcru@gmail.com> Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'audio/calf-ladspa/calf-ladspa.SlackBuild')
-rw-r--r--audio/calf-ladspa/calf-ladspa.SlackBuild20
1 files changed, 7 insertions, 13 deletions
diff --git a/audio/calf-ladspa/calf-ladspa.SlackBuild b/audio/calf-ladspa/calf-ladspa.SlackBuild
index 53e77de7bb..46a68d7957 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: