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.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. 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. pkg-config \
  33. pyqt5-dev-tools \
  34. python3-pyqt5.qtsvg \
  35. python3-rdflib \
  36. libgtk2.0-dev \
  37. libgtk-3-dev \
  38. libqt4-dev \
  39. qtbase5-dev \
  40. libasound2-dev \
  41. libpulse-dev \
  42. libmagic-dev \
  43. libgl1-mesa-dev \
  44. libx11-dev \
  45. libx11-6:i386 \
  46. liblo-static \
  47. fluidsynth-static
  48. # Fix for 32bit bridge link
  49. sudo ln -s /usr/lib/i386-linux-gnu/libX11.so.6 /usr/lib/i386-linux-gnu/libX11.so
  50. elif [ "${TARGET}" = "linux-juce-strict" ]; then
  51. sudo apt-get install -y \
  52. g++-8 \
  53. pkg-config \
  54. pyqt5-dev-tools \
  55. python3-pyqt5.qtsvg \
  56. python3-rdflib \
  57. libgtk2.0-dev \
  58. libgtk-3-dev \
  59. libqt4-dev \
  60. qtbase5-dev \
  61. libasound2-dev \
  62. libfreetype6-dev \
  63. libmagic-dev \
  64. libgl1-mesa-dev \
  65. libx11-dev \
  66. libxext-dev \
  67. liblo-static \
  68. fluidsynth-static
  69. elif [ "${TARGET}" = "macos" ]; then
  70. sudo apt-get install -y \
  71. pkg-config \
  72. apple-x86-setup
  73. # mkdir /tmp/osx-macports-pkgs
  74. # cd /tmp/osx-macports-pkgs
  75. # wget https://launchpad.net/~kxstudio-team/+archive/ubuntu/builds/+files/apple-macports-flac_1.2.1-1_all.deb
  76. # wget https://launchpad.net/~kxstudio-team/+archive/ubuntu/builds/+files/apple-macports-libiconv_1.14-0_all.deb
  77. # wget https://launchpad.net/~kxstudio-team/+archive/ubuntu/builds/+files/apple-macports-liblo_0.26-1_all.deb
  78. # wget https://launchpad.net/~kxstudio-team/+archive/ubuntu/builds/+files/apple-macports-libogg_1.3.0-1_all.deb
  79. # wget https://launchpad.net/~kxstudio-team/+archive/ubuntu/builds/+files/apple-macports-libsndfile_1.0.25-0_all.deb
  80. # wget https://launchpad.net/~kxstudio-team/+archive/ubuntu/builds/+files/apple-macports-libvorbis_1.3.3-0_all.deb
  81. # cd ~
  82. # rm -r /tmp/osx-macports-pkgs
  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. fi
  94. # mingw32-x-fluidsynth
  95. # mingw32-x-fftw
  96. # mingw32-x-liblo
  97. # mingw32-x-mxml
  98. # mingw32-x-zlib
  99. # mingw64-x-fluidsynth
  100. # mingw64-x-fftw
  101. # mingw64-x-liblo
  102. # mingw64-x-mxml
  103. # mingw64-x-zlib