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.

124 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. qtbase5-dev \
  13. libasound2-dev \
  14. libpulse-dev \
  15. libmagic-dev \
  16. libgl1-mesa-dev \
  17. libx11-dev \
  18. libx11-6:i386 \
  19. liblo-static \
  20. fluidsynth2-static \
  21. mingw-w64 \
  22. binutils-mingw-w64-i686 \
  23. binutils-mingw-w64-x86-64 \
  24. g++-mingw-w64-i686 \
  25. g++-mingw-w64-x86-64 \
  26. wine-devel-dev \
  27. winehq-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. 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. fluidsynth2-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++-multilib \
  54. g++-9-multilib \
  55. pkg-config \
  56. pyqt5-dev-tools \
  57. python3-pyqt5.qtsvg \
  58. python3-rdflib \
  59. libgtk2.0-dev \
  60. libgtk-3-dev \
  61. qtbase5-dev \
  62. libasound2-dev \
  63. libjack-jackd2-dev \
  64. libfreetype6-dev \
  65. libmagic-dev \
  66. libgl1-mesa-dev \
  67. libx11-dev \
  68. libxext-dev \
  69. libx11-6:i386 \
  70. libxext6:i386 \
  71. libfreetype6:i386 \
  72. liblo-static \
  73. fluidsynth2-static
  74. # Fix for 32bit bridge links
  75. sudo ln -s /usr/lib/i386-linux-gnu/libX11.so.6 /usr/lib/i386-linux-gnu/libX11.so
  76. sudo ln -s /usr/lib/i386-linux-gnu/libXext.so.6 /usr/lib/i386-linux-gnu/libXext.so
  77. sudo ln -s /usr/lib/i386-linux-gnu/libfreetype.so.6 /usr/lib/i386-linux-gnu/libfreetype.so
  78. elif [ "${TARGET}" = "macos" ]; then
  79. sudo apt-get install -y \
  80. pkg-config \
  81. apple-x86-setup
  82. elif [ "${TARGET}" = "macos-native" ] || [ "${TARGET}" = "macos-universal" ]; then
  83. HOMEBREW_NO_AUTO_UPDATE=1 brew install cmake jq meson
  84. exit 0
  85. fi
  86. elif [ "${TARGET}" = "win32" ]; then
  87. sudo apt-get install -y \
  88. g++-multilib \
  89. mingw-w64 \
  90. binutils-mingw-w64-i686 \
  91. binutils-mingw-w64-x86-64 \
  92. g++-mingw-w64-i686 \
  93. g++-mingw-w64-x86-64 \
  94. wine-devel-dev \
  95. winehq-stable
  96. elif [ "${TARGET}" = "win64" ]; then
  97. sudo apt-get install -y \
  98. mingw-w64 \
  99. binutils-mingw-w64-x86-64 \
  100. g++-mingw-w64-x86-64 \
  101. wine-devel-dev \
  102. winehq-stable
  103. elif [ "${TARGET}" = "pylint" ]; then
  104. sudo apt-get install -y \
  105. pylint3 \
  106. python3-liblo \
  107. python3-pyqt5 python3-pyqt5.qtsvg python3-pyqt5.qtopengl python3-rdflib \
  108. pyqt5-dev-tools \
  109. qtbase5-dev
  110. fi