diff --git a/bootstrap-jack2.sh b/bootstrap-jack2.sh index b953745..dd614f2 100755 --- a/bootstrap-jack2.sh +++ b/bootstrap-jack2.sh @@ -123,7 +123,10 @@ if [ "${LINUX}" -eq 1 ] || [ "${WIN32}" -eq 1 ]; then PORTAUDIO_EXTRAFLAGS+=" --without-asihpi" PORTAUDIO_EXTRAFLAGS+=" --without-oss" - if [ "${LINUX}" -eq 1 ]; then + if [ -n "${MODAUDIO}" ] && [ "${MODAUDIO}" -eq 1 ]; then + PORTAUDIO_EXTRAFLAGS+=" --without-alsa" + PORTAUDIO_EXTRAFLAGS+=" --with-jack" + elif [ "${LINUX}" -eq 1 ]; then PORTAUDIO_EXTRAFLAGS+=" --with-alsa" PORTAUDIO_EXTRAFLAGS+=" --with-jack" else diff --git a/bootstrap-mod.sh b/bootstrap-mod.sh index e8b0e2d..1874fee 100755 --- a/bootstrap-mod.sh +++ b/bootstrap-mod.sh @@ -23,6 +23,8 @@ export PAWPAW_SKIP_LTO=1 # --------------------------------------------------------------------------------------------------------------------- # run bootstrap dependencies +export MODAUDIO=1 + ./bootstrap-common.sh "${target}" ./bootstrap-jack2.sh "${target}" ./bootstrap-plugins.sh "${target}" @@ -213,6 +215,7 @@ if [ "${LINUX}" -eq 1 ]; then fi download jack2 "${JACK2_VERSION}" "${JACK2_URL}" "" "git" +patch_file jack2 "${JACK2_VERSION}" "dbus/audio_reserve.c" "s/Jack audio server/MOD App/" build_waf jack2 "${JACK2_VERSION}" "${JACK2_EXTRAFLAGS}" # patch pkg-config file for static win32 builds