Cross-Platform build scripts for audio plugins
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

54 lines
1.4KB

  1. #!/bin/bash
  2. set -e
  3. cd $(dirname ${0})
  4. PAWPAW_ROOT="${PWD}"
  5. # ---------------------------------------------------------------------------------------------------------------------
  6. # check target
  7. target="${1}"
  8. if [ -z "${target}" ]; then
  9. echo "usage: ${0} <target>"
  10. exit 1
  11. fi
  12. # ---------------------------------------------------------------------------------------------------------------------
  13. # run bootstrap dependencies
  14. export PAWPAW_SKIP_FFTW=1
  15. export PAWPAW_SKIP_GLIB=1
  16. export PAWPAW_SKIP_LV2=1
  17. export PAWPAW_SKIP_SAMPLERATE=1
  18. ./bootstrap-common.sh "${target}"
  19. ./bootstrap-plugins.sh "${target}"
  20. # on Windows, we just build the whole thing
  21. if [ "${target}" = "win32" ] || [ "${target}" = "win64" ]; then
  22. ./bootstrap-carla.sh "${target}"
  23. exit 0
  24. fi
  25. # otherwise we build a very tiny set of dependencies
  26. # ---------------------------------------------------------------------------------------------------------------------
  27. # source setup code
  28. source setup/check_target.sh
  29. source setup/env.sh
  30. source setup/functions.sh
  31. source setup/versions.sh
  32. # ---------------------------------------------------------------------------------------------------------------------
  33. # file/magic (posix only)
  34. if [ "${WIN32}" -eq 0 ]; then
  35. download file "${FILE_VERSION}" "${FILE_URL}"
  36. build_autoconf file "${FILE_VERSION}"
  37. fi
  38. # ---------------------------------------------------------------------------------------------------------------------