aboutsummaryrefslogtreecommitdiff
path: root/audio
diff options
context:
space:
mode:
authorB. Watson <yalhcru@gmail.com>2012-04-22 12:25:43 -0400
committerdsomero <xgizzmo@slackbuilds.org>2012-04-22 12:25:43 -0400
commit287aa7159bcb7a67ecd22609c73bed7abe3988f0 (patch)
tree1100c4b30ed35013c6dc68702dbfd456fa7cd9e9 /audio
parentdb08929e7d282de1349d87b2e481b71ecb534503 (diff)
audio/jack-rack: Optionally enable lash.
Signed-off-by: dsomero <xgizzmo@slackbuilds.org>
Diffstat (limited to 'audio')
-rw-r--r--audio/jack-rack/README4
-rw-r--r--audio/jack-rack/jack-rack.SlackBuild9
-rw-r--r--audio/jack-rack/jack-rack.info2
3 files changed, 12 insertions, 3 deletions
diff --git a/audio/jack-rack/README b/audio/jack-rack/README
index d8b075c56db78..effff9dd9ea9d 100644
--- a/audio/jack-rack/README
+++ b/audio/jack-rack/README
@@ -5,5 +5,7 @@ rack can be filled with LADSPA effects plugins and can be controlled using
the ALSA sequencer. It's phat; it turns your computer into an effects box.
This requires jack-audio-connection-kit and ladspa_sdk.
-Optional build dependency: lash
+
+Optional build dependency: lash (pass LASH=yes to the script to enable)
+
Optional runtime dependency: ecasound (for /usr/bin/ecarack script)
diff --git a/audio/jack-rack/jack-rack.SlackBuild b/audio/jack-rack/jack-rack.SlackBuild
index 450c5c4fd0355..d8b1e520cd25c 100644
--- a/audio/jack-rack/jack-rack.SlackBuild
+++ b/audio/jack-rack/jack-rack.SlackBuild
@@ -6,7 +6,7 @@
PRGNAM=jack-rack
VERSION=${VERSION:-1.4.7}
-BUILD=${BUILD:-1}
+BUILD=${BUILD:-2}
TAG=${TAG:-_SBo}
if [ -z "$ARCH" ]; then
@@ -51,6 +51,12 @@ find . \
\( -perm 666 -o -perm 664 -o -perm 600 -o -perm 444 -o -perm 440 -o -perm 400 \) \
-exec chmod 644 {} \;
+if [ "${LASH:-no}" = "yes" ]; then
+ LASH_OPT="--enable-lash"
+else
+ LASH_OPT="--disable-lash"
+fi
+
# --docdir not supported
CFLAGS="$SLKCFLAGS" \
CXXFLAGS="$SLKCFLAGS" \
@@ -60,6 +66,7 @@ CXXFLAGS="$SLKCFLAGS" \
--sysconfdir=/etc \
--localstatedir=/var \
--mandir=/usr/man \
+ $LASH_OPT \
--build=$ARCH-slackware-linux
make
diff --git a/audio/jack-rack/jack-rack.info b/audio/jack-rack/jack-rack.info
index 25a35bdb537f7..6f3cb6f7cb72f 100644
--- a/audio/jack-rack/jack-rack.info
+++ b/audio/jack-rack/jack-rack.info
@@ -7,4 +7,4 @@ MD5SUM="a29ef4001ee2916a1b758952c936adca"
MD5SUM_x86_64=""
MAINTAINER="B. Watson"
EMAIL="yalhcru@gmail.com"
-APPROVED="Niels Horn"
+APPROVED="dsomero"