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.

122 lines
3.1KB

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