audio/fmit: Fixed build when jack is not present.

Signed-off-by: Matteo Bernardini <ponce@slackbuilds.org>
This commit is contained in:
Matteo Bernardini 2013-11-16 12:19:19 +01:00 committed by Robby Workman
parent 450476db2e
commit cd6f4ec95d
2 changed files with 5 additions and 3 deletions

View file

@ -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.

View file

@ -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 ..