summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMatteo Bernardini <ponce@slackbuilds.org>2013-11-16 12:19:19 +0100
committerRobby Workman <rworkman@slackbuilds.org>2013-11-16 13:58:36 -0600
commitcd6f4ec95dcee0d9411085c8b83ec0eda44d5977 (patch)
treebded323d0312ca1eadf133a6c01257a91c52be69
parent450476db2ed97791ad6910e73542086610418063 (diff)
downloadslackbuilds-cd6f4ec95dcee0d9411085c8b83ec0eda44d5977.tar.gz
audio/fmit: Fixed build when jack is not present.
Signed-off-by: Matteo Bernardini <ponce@slackbuilds.org>
-rw-r--r--audio/fmit/README6
-rw-r--r--audio/fmit/fmit.SlackBuild2
2 files changed, 5 insertions, 3 deletions
diff --git a/audio/fmit/README b/audio/fmit/README
index 58afb69a1d..0ecb16fe55 100644
--- a/audio/fmit/README
+++ b/audio/fmit/README
@@ -4,6 +4,6 @@ PortAudio for audio input. Features error and volume history, tuning scales
using Scala (.scl) files, microtonal tuning, harmonic ratios, wave shapes, and
more.
-fmit will automatically detect ALSA and JACK, if present, and if OSS or
-PORTAUDIO support is desired, pass OSS="ON" or PORTAUDIO="ON" to the
-SlackBuild.
+fmit will automatically detect ALSA and if jack-audio-connection-kit, oss or
+portaudio support is desired, pass JACK="ON", OSS="ON" or PORTAUDIO="ON" to
+the SlackBuild.
diff --git a/audio/fmit/fmit.SlackBuild b/audio/fmit/fmit.SlackBuild
index b69421783f..336528e76b 100644
--- a/audio/fmit/fmit.SlackBuild
+++ b/audio/fmit/fmit.SlackBuild
@@ -28,6 +28,7 @@ BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
# To support OSS or PortAudio, pass OSS="ON" or PORTAUDIO="ON".
+JACK=${JACK:-OFF}
OSS=${OSS:-OFF}
PORTAUDIO=${PORTAUDIO:-OFF}
@@ -80,6 +81,7 @@ cd build
-DCMAKE_C_FLAGS:STRING="$SLKCFLAGS" \
-DCMAKE_CXX_FLAGS:STRING="$SLKCFLAGS" \
-DCMAKE_INSTALL_PREFIX=/usr \
+ -DSOUNDSYSTEM_USE_JACK=$JACK \
-DSOUNDSYSTEM_USE_OSS=$OSS \
-DSOUNDSYSTEM_USE_PORTAUDIO=$PORTAUDIO \
-DCMAKE_BUILD_TYPE=Release ..