From cd6f4ec95dcee0d9411085c8b83ec0eda44d5977 Mon Sep 17 00:00:00 2001 From: Matteo Bernardini Date: Sat, 16 Nov 2013 12:19:19 +0100 Subject: audio/fmit: Fixed build when jack is not present. Signed-off-by: Matteo Bernardini --- audio/fmit/README | 6 +++--- audio/fmit/fmit.SlackBuild | 2 ++ 2 files changed, 5 insertions(+), 3 deletions(-) (limited to 'audio/fmit') 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 .. -- cgit v1.2.3