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.

114 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. fluidsynth2-static \
  22. mingw-w64 \
  23. binutils-mingw-w64-i686 \
  24. binutils-mingw-w64-x86-64 \
  25. g++-mingw-w64-i686 \
  26. g++-mingw-w64-x86-64 \
  27. wine-stable
  28. # Fix for 32bit bridge link
  29. sudo ln -s /usr/lib/i386-linux-gnu/libX11.so.6 /usr/lib/i386-linux-gnu/libX11.so
  30. elif [ "${TARGET}" = "linux-strict" ]; then
  31. sudo apt-get install -y \
  32. g++-multilib \
  33. g++-9-multilib \
  34. pkg-config \
  35. pyqt5-dev-tools \
  36. python3-pyqt5.qtsvg \
  37. python3-rdflib \
  38. libgtk2.0-dev \
  39. libgtk-3-dev \
  40. libqt4-dev \
  41. qtbase5-dev \
  42. libasound2-dev \
  43. libpulse-dev \
  44. libmagic-dev \
  45. libgl1-mesa-dev \
  46. libx11-dev \
  47. libx11-6:i386 \
  48. liblo-static \
  49. fluidsynth2-static
  50. # Fix for 32bit bridge link
  51. sudo ln -s /usr/lib/i386-linux-gnu/libX11.so.6 /usr/lib/i386-linux-gnu/libX11.so
  52. elif [ "${TARGET}" = "linux-juce-strict" ]; then
  53. sudo apt-get install -y \
  54. g++-multilib \
  55. g++-9-multilib \
  56. pkg-config \
  57. pyqt5-dev-tools \
  58. python3-pyqt5.qtsvg \
  59. python3-rdflib \
  60. libgtk2.0-dev \
  61. libgtk-3-dev \
  62. libqt4-dev \
  63. qtbase5-dev \
  64. libasound2-dev \
  65. libjack-jackd2-dev \
  66. libfreetype6-dev \
  67. libmagic-dev \
  68. libgl1-mesa-dev \
  69. libx11-dev \
  70. libxext-dev \
  71. libx11-6:i386 \
  72. libxext6:i386 \
  73. libfreetype6:i386 \
  74. liblo-static \
  75. fluidsynth2-static
  76. # Fix for 32bit bridge links
  77. sudo ln -s /usr/lib/i386-linux-gnu/libX11.so.6 /usr/lib/i386-linux-gnu/libX11.so
  78. sudo ln -s /usr/lib/i386-linux-gnu/libXext.so.6 /usr/lib/i386-linux-gnu/libXext.so
  79. sudo ln -s /usr/lib/i386-linux-gnu/libfreetype.so.6 /usr/lib/i386-linux-gnu/libfreetype.so
  80. elif [ "${TARGET}" = "macos" ]; then
  81. sudo apt-get install -y \
  82. pkg-config \
  83. apple-x86-setup
  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. elif [ "${TARGET}" = "pylint" ]; then
  95. sudo apt-get install -y \
  96. pylint3 \
  97. python3-liblo \
  98. python3-pyqt5 python3-pyqt5.qtsvg python3-pyqt5.qtopengl python3-rdflib \
  99. pyqt5-dev-tools \
  100. qtbase5-dev
  101. fi