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.

26 lines
716B

  1. #!/bin/bash
  2. set -e
  3. # nothing to do for macOS native
  4. if [ "${TARGET}" = "macos" ] || [ "${TARGET}" = "macos-universal" ]; then
  5. exit 0
  6. fi
  7. sudo add-apt-repository -y ppa:kxstudio-debian/kxstudio
  8. sudo add-apt-repository -y ppa:kxstudio-debian/toolchain
  9. if [ "${TARGET}" = "win32" ]; then
  10. sudo dpkg --add-architecture i386
  11. fi
  12. if [ "${TARGET}" = "win32" ] || [ "${TARGET}" = "win64" ]; then
  13. wget -qO- https://dl.winehq.org/wine-builds/winehq.key | sudo apt-key add -
  14. sudo apt-add-repository -y 'deb https://dl.winehq.org/wine-builds/ubuntu/ bionic main'
  15. sudo add-apt-repository -y ppa:kxstudio-debian/ubuntus
  16. fi
  17. sudo apt-get update -qq
  18. sudo apt-get install kxstudio-repos
  19. sudo apt-get update -qq