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.

113 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. 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. elif [ "${TARGET}" = "linux-juce-strict" ]; then
  49. sudo apt-get install -y \
  50. g++-8 \
  51. pkg-config \
  52. pyqt5-dev-tools \
  53. python3-pyqt5.qtsvg \
  54. python3-rdflib \
  55. libgtk2.0-dev \
  56. libgtk-3-dev \
  57. libqt4-dev \
  58. qtbase5-dev \
  59. libasound2-dev \
  60. libfreetype6-dev \
  61. libmagic-dev \
  62. libgl1-mesa-dev \
  63. libx11-dev \
  64. libxext-dev \
  65. liblo-static \
  66. fluidsynth-static
  67. elif [ "${TARGET}" = "macos" ]; then
  68. sudo apt-get install -y \
  69. pkg-config \
  70. apple-x86-setup
  71. # mkdir /tmp/osx-macports-pkgs
  72. # cd /tmp/osx-macports-pkgs
  73. # wget https://launchpad.net/~kxstudio-team/+archive/ubuntu/builds/+files/apple-macports-flac_1.2.1-1_all.deb
  74. # wget https://launchpad.net/~kxstudio-team/+archive/ubuntu/builds/+files/apple-macports-libiconv_1.14-0_all.deb
  75. # wget https://launchpad.net/~kxstudio-team/+archive/ubuntu/builds/+files/apple-macports-liblo_0.26-1_all.deb
  76. # wget https://launchpad.net/~kxstudio-team/+archive/ubuntu/builds/+files/apple-macports-libogg_1.3.0-1_all.deb
  77. # wget https://launchpad.net/~kxstudio-team/+archive/ubuntu/builds/+files/apple-macports-libsndfile_1.0.25-0_all.deb
  78. # wget https://launchpad.net/~kxstudio-team/+archive/ubuntu/builds/+files/apple-macports-libvorbis_1.3.3-0_all.deb
  79. # cd ~
  80. # rm -r /tmp/osx-macports-pkgs
  81. elif [ "${TARGET}" = "win32" ]; then
  82. sudo apt-get install -y \
  83. mingw32-x-gcc \
  84. mingw32-x-pkgconfig
  85. elif [ "${TARGET}" = "win64" ]; then
  86. sudo apt-get install -y \
  87. mingw32-x-gcc \
  88. mingw32-x-pkgconfig \
  89. mingw64-x-gcc \
  90. mingw64-x-pkgconfig
  91. fi
  92. # mingw32-x-fluidsynth
  93. # mingw32-x-fftw
  94. # mingw32-x-liblo
  95. # mingw32-x-mxml
  96. # mingw32-x-zlib
  97. # mingw64-x-fluidsynth
  98. # mingw64-x-fftw
  99. # mingw64-x-liblo
  100. # mingw64-x-mxml
  101. # mingw64-x-zlib