Browse Source

Build custom carla backend and test plugins with it

tags/v1.0
falkTX 1 year ago
parent
commit
1a378e7464
Signed by: falkTX <falktx@falktx.com> GPG Key ID: CDBAA37ABC74FBA0
3 changed files with 41 additions and 7 deletions
  1. +28
    -0
      bootstrap-plugins.sh
  2. +11
    -7
      build-plugins.sh
  3. +2
    -0
      setup/versions.sh

+ 28
- 0
bootstrap-plugins.sh View File

@@ -196,3 +196,31 @@ if [ "${MACOS}" -eq 0 ]; then
fi

# ---------------------------------------------------------------------------------------------------------------------
# carla (backend only)

CARLA_EXTRAFLAGS="HAVE_ALSA=false"
CARLA_EXTRAFLAGS+=" HAVE_JACK=false"
CARLA_EXTRAFLAGS+=" HAVE_PULSEAUDIO=false"
CARLA_EXTRAFLAGS+=" HAVE_DGL=false"
CARLA_EXTRAFLAGS+=" HAVE_HYLIA=false"
CARLA_EXTRAFLAGS+=" HAVE_GTK2=false"
CARLA_EXTRAFLAGS+=" HAVE_GTK3=false"
CARLA_EXTRAFLAGS+=" HAVE_X11=false"
CARLA_EXTRAFLAGS+=" HAVE_FFMPEG=false"
CARLA_EXTRAFLAGS+=" HAVE_FLUIDSYNTH=false"
CARLA_EXTRAFLAGS+=" HAVE_LIBLO=false"
CARLA_EXTRAFLAGS+=" HAVE_LIBMAGIC=false"
CARLA_EXTRAFLAGS+=" HAVE_PYQT=false"
CARLA_EXTRAFLAGS+=" HAVE_QT=false"
CARLA_EXTRAFLAGS+=" HAVE_QT4=false"
CARLA_EXTRAFLAGS+=" HAVE_QT5=false"
CARLA_EXTRAFLAGS+=" HAVE_SNDFILE=false"
CARLA_EXTRAFLAGS+=" EXTERNAL_PLUGINS=false"
CARLA_EXTRAFLAGS+=" USING_JUCE=false"
CARLA_EXTRAFLAGS+=" USING_JUCE_AUDIO_DEVICES=false"
CARLA_EXTRAFLAGS+=" USING_JUCE_GUI_EXTRA=false"

download carla ${CARLA_VERSION} "https://github.com/falkTX/Carla.git" "" "git"
build_make carla ${CARLA_VERSION} "${CARLA_EXTRAFLAGS}"

# ---------------------------------------------------------------------------------------------------------------------

+ 11
- 7
build-plugins.sh View File

@@ -45,9 +45,11 @@ function validate_lv2_bundle() {
"${LV2DIR}/kx-*/*.ttl" \
"/tmp/pawpaw-plugin-check/${lv2bundle}/*.ttl" 1>&2

env LANG=C LV2_PATH=/tmp/pawpaw-plugin-check WINEDEBUG=-all \
"${EXE_WRAPPER}" \
"${PAWPAW_PREFIX}/bin/lv2ls${APP_EXT}" | tr -d '\r'
if [ "${CROSS_COMPILING}" -eq 0 ] || [ -n "${EXE_WRAPPER}" ]; then
env LANG=C LV2_PATH=/tmp/pawpaw-plugin-check WINEDEBUG=-all \
${EXE_WRAPPER} \
"${PAWPAW_PREFIX}/bin/lv2ls${APP_EXT}" | tr -d '\r'
fi

rm -rf /tmp/pawpaw-plugin-check
}
@@ -55,16 +57,18 @@ function validate_lv2_bundle() {
function validate_lv2_plugin() {
local lv2plugin="${1}"

local carlaenv="CARLA_BRIDGE_DUMMY=1 CARLA_BRIDGE_TESTING=1"
local carlaenv="CARLA_BRIDGE_DUMMY=1"

if [ "${WIN64}" -eq 1 ]; then
carlaenv+=" CARLA_BRIDGE_PLUGIN_BINARY_TYPE=win64"
carlaenv+=" CARLA_BRIDGE_TESTING=win64"
elif [ "${WIN32}" -eq 1 ]; then
carlaenv+=" CARLA_BRIDGE_PLUGIN_BINARY_TYPE=win32"
carlaenv+=" CARLA_BRIDGE_TESTING=win32"
else
carlaenv+=" CARLA_BRIDGE_TESTING=native"
fi

env LANG=C LV2_PATH="${LV2DIR}" WINEDEBUG=-all ${carlaenv} \
carla-single lv2 "${lv2plugin}" 1>/dev/null
"${PAWPAW_PREFIX}/bin/carla-single" lv2 "${lv2plugin}" 1>/dev/null
}

# ---------------------------------------------------------------------------------------------------------------------


+ 2
- 0
setup/versions.sh View File

@@ -22,10 +22,12 @@ LIBVORBIS_VERSION=1.3.7
# ---------------------------------------------------------------------------------------------------------------------
# plugins

CARLA_VERSION=1e7c7dc4bd4da0a6593d096e3ea525321b0983cc
KXSTUDIO_LV2_EXTENSIONS_VERSION=fae65fbc173cd2c4367e85917a6ef97280532d88
LILV_VERSION=0.24.10
LV2_VERSION=1.18.0
LV2LINT_VERSION=0.8.0
MOD_SDK_VERSION=TODO
MXML_VERSION=3.1
SERD_VERSION=0.30.6
SORD_VERSION=0.16.6


Loading…
Cancel
Save