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.

53 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_GLIB=1
  15. export PAWPAW_SKIP_LV2=1
  16. export PAWPAW_SKIP_SAMPLERATE=1
  17. ./bootstrap-common.sh "${target}"
  18. ./bootstrap-plugins.sh "${target}"
  19. # on Windows, we just build the whole thing
  20. if [ "${target}" = "win32" ] || [ "${target}" = "win64" ]; then
  21. ./bootstrap-carla.sh "${target}"
  22. exit 0
  23. fi
  24. # otherwise we build a very tiny set of dependencies
  25. # ---------------------------------------------------------------------------------------------------------------------
  26. # source setup code
  27. source setup/check_target.sh
  28. source setup/env.sh
  29. source setup/functions.sh
  30. source setup/versions.sh
  31. # ---------------------------------------------------------------------------------------------------------------------
  32. # file/magic (posix only)
  33. if [ "${WIN32}" -eq 0 ]; then
  34. download file "${FILE_VERSION}" "${FILE_URL}"
  35. build_autoconf file "${FILE_VERSION}"
  36. fi
  37. # ---------------------------------------------------------------------------------------------------------------------