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.

93 lines
2.6KB

  1. #!/bin/bash
  2. set -e
  3. if [ "${TARGET}" = "linux" ]; then
  4. sudo apt-get install -y \
  5. g++-multilib \
  6. pkg-config \
  7. pyqt5-dev-tools \
  8. python3-pyqt5.qtsvg \
  9. python3-rdflib \
  10. libgtk2.0-dev \
  11. libgtk-3-dev \
  12. libqt4-dev \
  13. qtbase5-dev \
  14. libasound2-dev \
  15. libpulse-dev \
  16. libmagic-dev \
  17. libgl1-mesa-dev \
  18. libx11-dev \
  19. libx11-6:i386 \
  20. liblo-static \
  21. fluidsynth-static \
  22. mingw32-x-gcc \
  23. mingw32-x-pkgconfig \
  24. mingw64-x-gcc \
  25. mingw64-x-pkgconfig \
  26. wine-rt-dev
  27. # Fix for 32bit bridge link
  28. sudo ln -s /usr/lib/i386-linux-gnu/libX11.so.6 /usr/lib/i386-linux-gnu/libX11.so
  29. elif [ "${TARGET}" = "linux-strict" ]; then
  30. sudo apt-get install -y \
  31. g++-8 \
  32. pkg-config \
  33. pyqt5-dev-tools \
  34. python3-pyqt5.qtsvg \
  35. python3-rdflib \
  36. libgtk2.0-dev \
  37. libgtk-3-dev \
  38. libqt4-dev \
  39. qtbase5-dev \
  40. libasound2-dev \
  41. libpulse-dev \
  42. libmagic-dev \
  43. libgl1-mesa-dev \
  44. libx11-dev \
  45. libx11-6:i386 \
  46. liblo-static \
  47. fluidsynth-static
  48. elif [ "${TARGET}" = "macos" ]; then
  49. sudo apt-get install -y \
  50. pkg-config \
  51. apple-x86-setup
  52. # mkdir /tmp/osx-macports-pkgs
  53. # cd /tmp/osx-macports-pkgs
  54. # wget https://launchpad.net/~kxstudio-team/+archive/ubuntu/builds/+files/apple-macports-flac_1.2.1-1_all.deb
  55. # wget https://launchpad.net/~kxstudio-team/+archive/ubuntu/builds/+files/apple-macports-libiconv_1.14-0_all.deb
  56. # wget https://launchpad.net/~kxstudio-team/+archive/ubuntu/builds/+files/apple-macports-liblo_0.26-1_all.deb
  57. # wget https://launchpad.net/~kxstudio-team/+archive/ubuntu/builds/+files/apple-macports-libogg_1.3.0-1_all.deb
  58. # wget https://launchpad.net/~kxstudio-team/+archive/ubuntu/builds/+files/apple-macports-libsndfile_1.0.25-0_all.deb
  59. # wget https://launchpad.net/~kxstudio-team/+archive/ubuntu/builds/+files/apple-macports-libvorbis_1.3.3-0_all.deb
  60. # cd ~
  61. # rm -r /tmp/osx-macports-pkgs
  62. elif [ "${TARGET}" = "win32" ]; then
  63. sudo apt-get install -y \
  64. mingw32-x-gcc \
  65. mingw32-x-pkgconfig
  66. elif [ "${TARGET}" = "win64" ]; then
  67. sudo apt-get install -y \
  68. mingw32-x-gcc \
  69. mingw32-x-pkgconfig \
  70. mingw64-x-gcc \
  71. mingw64-x-pkgconfig
  72. fi
  73. # mingw32-x-fluidsynth
  74. # mingw32-x-fftw
  75. # mingw32-x-liblo
  76. # mingw32-x-mxml
  77. # mingw32-x-zlib
  78. # mingw64-x-fluidsynth
  79. # mingw64-x-fftw
  80. # mingw64-x-liblo
  81. # mingw64-x-mxml
  82. # mingw64-x-zlib