summaryrefslogtreecommitdiffstats
path: root/multimedia/dssi
diff options
context:
space:
mode:
author B. Watson <yalhcru@gmail.com>2022-02-19 00:34:49 -0500
committer Willy Sudiarto Raharjo <willysr@slackbuilds.org>2022-02-20 15:12:41 +0700
commit363369b36135a83e1ca057ab2491169a96ca9694 (patch)
tree5824cd148d0b830a8e828e23f7361a7ea1ddc5ec /multimedia/dssi
parent4e8f8e11a4671cea8c25c5ccc237f8ffdf2a745c (diff)
downloadslackbuilds-363369b36135a83e1ca057ab2491169a96ca9694.tar.gz
slackbuilds-363369b36135a83e1ca057ab2491169a96ca9694.tar.xz
multimedia/dssi: Document qt4 optional dep.
Signed-off-by: B. Watson <yalhcru@gmail.com> Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'multimedia/dssi')
-rw-r--r--multimedia/dssi/README15
-rw-r--r--multimedia/dssi/dssi.SlackBuild13
2 files changed, 15 insertions, 13 deletions
diff --git a/multimedia/dssi/README b/multimedia/dssi/README
index 9daa911de7..8db4cda608 100644
--- a/multimedia/dssi/README
+++ b/multimedia/dssi/README
@@ -1,6 +1,11 @@
-DSSI (pronounced "dizzy") is an API for audio processing plugins, particularly
-useful for software synthesis plugins with user interfaces.
+DSSI (pronounced "dizzy") is an API for audio processing plugins,
+particularly useful for software synthesis plugins with user
+interfaces.
-DSSI is an open and well-documented specification developed for use in Linux
-audio applications, although portable to other platforms. It may be thought of
-as LADSPA-for-instruments, or something comparable to VSTi.
+DSSI is an open and well-documented specification developed for use
+in Linux audio applications, although portable to other platforms. It
+may be thought of as LADSPA-for-instruments, or something comparable
+to VSTi.
+
+qt4 is an optional dependency. If found, the package will include a
+qt-based 'trivial_sampler_qt' plugin.
diff --git a/multimedia/dssi/dssi.SlackBuild b/multimedia/dssi/dssi.SlackBuild
index 3e3c961b09..ee3849c3ed 100644
--- a/multimedia/dssi/dssi.SlackBuild
+++ b/multimedia/dssi/dssi.SlackBuild
@@ -14,15 +14,12 @@ PKGTYPE=${PKGTYPE:-tgz}
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
- i?86) ARCH=i486 ;;
+ i?86) ARCH=i586 ;;
arm*) ARCH=arm ;;
*) ARCH=$( uname -m ) ;;
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
@@ -32,8 +29,8 @@ TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
-if [ "$ARCH" = "i486" ]; then
- SLKCFLAGS="-O2 -march=i486 -mtune=i686"
+if [ "$ARCH" = "i586" ]; then
+ SLKCFLAGS="-O2 -march=i586 -mtune=i686"
LIBDIRSUFFIX=""
elif [ "$ARCH" = "i686" ]; then
SLKCFLAGS="-O2 -march=i686 -mtune=i686"
@@ -57,9 +54,9 @@ 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 \
+ -exec chmod 755 {} \+ -o \
\( -perm 666 -o -perm 664 -o -perm 600 -o -perm 444 -o -perm 440 -o -perm 400 \) \
- -exec chmod 644 {} \;
+ -exec chmod 644 {} \+
CFLAGS="$SLKCFLAGS" \
CXXFLAGS="$SLKCFLAGS" \