Audio plugin host https://kx.studio/carla
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.

43 lines
1.7KB

  1. #!/bin/bash
  2. set -e
  3. if [ "${TARGET}" = "macos-native" ] || [ "${TARGET}" = "macos-universal" ]; then
  4. exit 0
  5. fi
  6. if [ "${TARGET}" = "macos" ]; then
  7. # sudo rm /etc/apt/sources.list.d/cassandra.list
  8. # sudo rm /etc/apt/sources.list.d/chris-lea-redis-server.list
  9. # sudo rm /etc/apt/sources.list.d/computology_apt-backport.list
  10. # sudo rm /etc/apt/sources.list.d/couchdb.list
  11. # sudo rm /etc/apt/sources.list.d/docker.list
  12. # sudo rm /etc/apt/sources.list.d/github_git-lfs.list
  13. # sudo rm /etc/apt/sources.list.d/git-ppa.list
  14. sudo rm /etc/apt/sources.list.d/google-chrome.list
  15. # sudo rm /etc/apt/sources.list.d/heroku-toolbelt.list
  16. # sudo rm /etc/apt/sources.list.d/mongodb-3.4.list
  17. # sudo rm /etc/apt/sources.list.d/openjdk-r-java-ppa.list
  18. # sudo rm /etc/apt/sources.list.d/pgdg.list
  19. # sudo rm /etc/apt/sources.list.d/pollinate.list
  20. # sudo rm /etc/apt/sources.list.d/rabbitmq_rabbitmq-server.list
  21. # sudo rm /etc/apt/sources.list.d/webupd8team-java-ppa.list
  22. sudo add-apt-repository -y ppa:kxstudio-debian/kxstudio
  23. sudo add-apt-repository -y ppa:kxstudio-debian/mingw
  24. sudo add-apt-repository -y ppa:kxstudio-debian/toolchain
  25. sudo apt-get update -qq
  26. sudo apt-get install kxstudio-repos
  27. sudo apt-get update -qq
  28. exit 0
  29. fi
  30. if [ "${TARGET}" = "linux" ] || [ "${TARGET}" = "win32" ] || [ "${TARGET}" = "win64" ]; then
  31. wget -qO- https://dl.winehq.org/wine-builds/winehq.key | sudo apt-key add -
  32. sudo apt-add-repository -y 'deb https://dl.winehq.org/wine-builds/ubuntu/ focal main'
  33. sudo dpkg --add-architecture i386
  34. sudo apt-get update -qq
  35. sudo apt-get install -y -o APT::Immediate-Configure=false libc6 libc6:i386 libgcc-s1:i386
  36. sudo apt-get install -y -f
  37. exit 0
  38. fi