From 287aa7159bcb7a67ecd22609c73bed7abe3988f0 Mon Sep 17 00:00:00 2001 From: "B. Watson" Date: Sun, 22 Apr 2012 12:25:43 -0400 Subject: audio/jack-rack: Optionally enable lash. Signed-off-by: dsomero --- audio/jack-rack/README | 4 +++- audio/jack-rack/jack-rack.SlackBuild | 9 ++++++++- audio/jack-rack/jack-rack.info | 2 +- 3 files changed, 12 insertions(+), 3 deletions(-) (limited to 'audio/jack-rack') diff --git a/audio/jack-rack/README b/audio/jack-rack/README index d8b075c56d..effff9dd9e 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 450c5c4fd0..d8b1e520cd 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 25a35bdb53..6f3cb6f7cb 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" -- cgit v1.2.3