Browse Source

Allow to skip LV2 build

Signed-off-by: falkTX <falktx@falktx.com>
pull/26/head
falkTX 6 months ago
parent
commit
4923f40778
Signed by: falkTX <falktx@falktx.com> GPG Key ID: CDBAA37ABC74FBA0
3 changed files with 34 additions and 1 deletions
  1. +1
    -1
      .github/workflows/bootstrap.yml
  2. +1
    -0
      bootstrap-cardinal.sh
  3. +32
    -0
      bootstrap-plugins.sh

+ 1
- 1
.github/workflows/bootstrap.yml View File

@@ -8,7 +8,7 @@ on:
branches:
- '*'
env:
CACHE_VERSION: 7
CACHE_VERSION: 8
DEBIAN_FRONTEND: noninteractive
HOMEBREW_NO_AUTO_UPDATE: 1
PAWPAW_SKIP_LTO: 1


+ 1
- 0
bootstrap-cardinal.sh View File

@@ -20,6 +20,7 @@ fi

export PAWPAW_SKIP_FFTW=1
export PAWPAW_SKIP_GLIB=1
export PAWPAW_SKIP_LV2=1
export PAWPAW_SKIP_SAMPLERATE=1

./bootstrap-common.sh "${target}"


+ 32
- 0
bootstrap-plugins.sh View File

@@ -159,18 +159,28 @@ fi
# ---------------------------------------------------------------------------------------------------------------------
# lv2

if [ -z "${PAWPAW_SKIP_LV2}" ]; then

git_clone lv2 "${LV2_VERSION}" "${LV2_URL}"
build_waf lv2 "${LV2_VERSION}" "--lv2dir=${PAWPAW_PREFIX}/lib/lv2 --no-coverage --no-plugins"

fi # PAWPAW_SKIP_LV2

# ---------------------------------------------------------------------------------------------------------------------
# serd

if [ -z "${PAWPAW_SKIP_LV2}" ]; then

download serd "${SERD_VERSION}" "${SERD_URL}" "tar.bz2"
build_waf serd "${SERD_VERSION}" "--static --no-shared --no-utils"

fi # PAWPAW_SKIP_LV2

# ---------------------------------------------------------------------------------------------------------------------
# sord

if [ -z "${PAWPAW_SKIP_LV2}" ]; then

if [ "${CROSS_COMPILING}" -eq 1 ] && [ -z "${EXE_WRAPPER}" ]; then
SORD_EXTRAFLAGS="--no-utils"
fi
@@ -178,40 +188,62 @@ fi
download sord "${SORD_VERSION}" "${SORD_URL}" "tar.bz2"
build_waf sord "${SORD_VERSION}" "--static --no-shared ${SORD_EXTRAFLAGS}"

fi # PAWPAW_SKIP_LV2

# ---------------------------------------------------------------------------------------------------------------------
# sratom

if [ -z "${PAWPAW_SKIP_LV2}" ]; then

download sratom "${SRATOM_VERSION}" "${SRATOM_URL}" "tar.bz2"
build_waf sratom "${SRATOM_VERSION}" "--static --no-shared"

fi # PAWPAW_SKIP_LV2

# ---------------------------------------------------------------------------------------------------------------------
# lilv

if [ -z "${PAWPAW_SKIP_LV2}" ]; then

download lilv "${LILV_VERSION}" "${LILV_URL}" "tar.bz2"
build_waf lilv "${LILV_VERSION}" "--static --no-bash-completion --no-bindings --no-shared"
# --static-progs

fi # PAWPAW_SKIP_LV2

# ---------------------------------------------------------------------------------------------------------------------
# lv2lint

if [ -z "${PAWPAW_SKIP_LV2}" ]; then

if [ "${LV2LINT_SUPPORTED}" -eq 1 ]; then
download lv2lint "${LV2LINT_VERSION}" "${LV2LINT_URL}"
build_meson lv2lint "${LV2LINT_VERSION}"
# "-Donline-tests=true -Delf-tests=true"
fi

fi # PAWPAW_SKIP_LV2

# ---------------------------------------------------------------------------------------------------------------------
# kxstudio lv2 extensions

if [ -z "${PAWPAW_SKIP_LV2}" ]; then

git_clone kxstudio-lv2-extensions "${KXSTUDIO_LV2_EXTENSIONS_VERSION}" "${KXSTUDIO_LV2_EXTENSIONS_URL}"
build_make kxstudio-lv2-extensions "${KXSTUDIO_LV2_EXTENSIONS_VERSION}"

fi # PAWPAW_SKIP_LV2

# ---------------------------------------------------------------------------------------------------------------------
# MOD lv2 extensions

if [ -z "${PAWPAW_SKIP_LV2}" ]; then

git_clone mod-sdk "${MOD_SDK_VERSION}" "${MOD_SDK_URL}"
build_make mod-sdk "${MOD_SDK_VERSION}"

fi # PAWPAW_SKIP_LV2

# ---------------------------------------------------------------------------------------------------------------------
# fluidsynth



Loading…
Cancel
Save