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.

117 lines
3.2KB

  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. g++-8-multilib \
  33. pkg-config \
  34. pyqt5-dev-tools \
  35. python3-pyqt5.qtsvg \
  36. python3-rdflib \
  37. libgtk2.0-dev \
  38. libgtk-3-dev \
  39. libqt4-dev \
  40. qtbase5-dev \
  41. libasound2-dev \
  42. libpulse-dev \
  43. libmagic-dev \
  44. libgl1-mesa-dev \
  45. libx11-dev \
  46. libx11-6:i386 \
  47. liblo-static \
  48. fluidsynth-static
  49. # Fix for 32bit bridge link
  50. sudo ln -s /usr/lib/i386-linux-gnu/libX11.so.6 /usr/lib/i386-linux-gnu/libX11.so
  51. elif [ "${TARGET}" = "linux-juce-strict" ]; then
  52. sudo apt-get install -y \
  53. g++-8 \
  54. pkg-config \
  55. pyqt5-dev-tools \
  56. python3-pyqt5.qtsvg \
  57. python3-rdflib \
  58. libgtk2.0-dev \
  59. libgtk-3-dev \
  60. libqt4-dev \
  61. qtbase5-dev \
  62. libasound2-dev \
  63. libfreetype6-dev \
  64. libmagic-dev \
  65. libgl1-mesa-dev \
  66. libx11-dev \
  67. libxext-dev \
  68. liblo-static \
  69. fluidsynth-static
  70. elif [ "${TARGET}" = "macos" ]; then
  71. sudo apt-get install -y \
  72. pkg-config \
  73. apple-x86-setup
  74. # mkdir /tmp/osx-macports-pkgs
  75. # cd /tmp/osx-macports-pkgs
  76. # wget https://launchpad.net/~kxstudio-team/+archive/ubuntu/builds/+files/apple-macports-flac_1.2.1-1_all.deb
  77. # wget https://launchpad.net/~kxstudio-team/+archive/ubuntu/builds/+files/apple-macports-libiconv_1.14-0_all.deb
  78. # wget https://launchpad.net/~kxstudio-team/+archive/ubuntu/builds/+files/apple-macports-liblo_0.26-1_all.deb
  79. # wget https://launchpad.net/~kxstudio-team/+archive/ubuntu/builds/+files/apple-macports-libogg_1.3.0-1_all.deb
  80. # wget https://launchpad.net/~kxstudio-team/+archive/ubuntu/builds/+files/apple-macports-libsndfile_1.0.25-0_all.deb
  81. # wget https://launchpad.net/~kxstudio-team/+archive/ubuntu/builds/+files/apple-macports-libvorbis_1.3.3-0_all.deb
  82. # cd ~
  83. # rm -r /tmp/osx-macports-pkgs
  84. elif [ "${TARGET}" = "win32" ]; then
  85. sudo apt-get install -y \
  86. mingw32-x-gcc \
  87. mingw32-x-pkgconfig
  88. elif [ "${TARGET}" = "win64" ]; then
  89. sudo apt-get install -y \
  90. mingw32-x-gcc \
  91. mingw32-x-pkgconfig \
  92. mingw64-x-gcc \
  93. mingw64-x-pkgconfig
  94. fi
  95. # mingw32-x-fluidsynth
  96. # mingw32-x-fftw
  97. # mingw32-x-liblo
  98. # mingw32-x-mxml
  99. # mingw32-x-zlib
  100. # mingw64-x-fluidsynth
  101. # mingw64-x-fftw
  102. # mingw64-x-liblo
  103. # mingw64-x-mxml
  104. # mingw64-x-zlib