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.

113 lines
2.9KB

  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. g++-8-multilib \
  55. pkg-config \
  56. pyqt5-dev-tools \
  57. python3-pyqt5.qtsvg \
  58. python3-rdflib \
  59. libgtk2.0-dev \
  60. libgtk-3-dev \
  61. libqt4-dev \
  62. qtbase5-dev \
  63. libasound2-dev \
  64. libjack-jackd2-dev \
  65. libfreetype6-dev \
  66. libmagic-dev \
  67. libgl1-mesa-dev \
  68. libx11-dev \
  69. libxext-dev \
  70. libx11-6:i386 \
  71. libxext6:i386 \
  72. libfreetype6:i386 \
  73. liblo-static \
  74. fluidsynth-static
  75. # Fix for 32bit bridge links
  76. sudo ln -s /usr/lib/i386-linux-gnu/libX11.so.6 /usr/lib/i386-linux-gnu/libX11.so
  77. sudo ln -s /usr/lib/i386-linux-gnu/libXext.so.6 /usr/lib/i386-linux-gnu/libXext.so
  78. sudo ln -s /usr/lib/i386-linux-gnu/libfreetype.so.6 /usr/lib/i386-linux-gnu/libfreetype.so
  79. elif [ "${TARGET}" = "macos" ]; then
  80. sudo apt-get install -y \
  81. pkg-config \
  82. apple-x86-setup
  83. elif [ "${TARGET}" = "win32" ]; then
  84. sudo apt-get install -y \
  85. mingw32-x-gcc \
  86. mingw32-x-pkgconfig
  87. elif [ "${TARGET}" = "win64" ]; then
  88. sudo apt-get install -y \
  89. mingw32-x-gcc \
  90. mingw32-x-pkgconfig \
  91. mingw64-x-gcc \
  92. mingw64-x-pkgconfig
  93. elif [ "${TARGET}" = "pylint" ]; then
  94. sudo apt-get install -y \
  95. pylint3 \
  96. python3-liblo \
  97. python3-pyqt5 python3-pyqt5.qtsvg python3-pyqt5.qtopengl python3-rdflib \
  98. pyqt5-dev-tools \
  99. qtbase5-dev
  100. fi