audio/fmit: Fixed build when jack is not present.
Signed-off-by: Matteo Bernardini <ponce@slackbuilds.org>
This commit is contained in:
parent
450476db2e
commit
cd6f4ec95d
|
@ -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.
|
||||
|
|
|
@ -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 ..
|
||||
|
|
Loading…
Reference in New Issue