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.

116 lines
3.0KB

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