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.

28 lines
769B

  1. #!/bin/bash
  2. set -e
  3. # Special macOS native handling
  4. if [ "${TARGET}" = "macos" ]; then
  5. brew install meson || true
  6. exit 0
  7. fi
  8. # common
  9. sudo apt-get install -y build-essential meson
  10. if [ "${TARGET}" = "linux" ]; then
  11. sudo apt-get install -y \
  12. pkg-config \
  13. libasound2-dev libfreetype6-dev libgl1-mesa-dev libglu1-mesa-dev \
  14. libx11-dev libxcomposite-dev libxrender-dev libxcursor-dev \
  15. lilv-utils lv2-dev lv2lint kxstudio-lv2-extensions
  16. elif [ "${TARGET}" = "win32" ]; then
  17. sudo apt-get install -y mingw-w64 binutils-mingw-w64-i686 g++-mingw-w64-i686 g++-multilib wine-stable wine32
  18. elif [ "${TARGET}" = "win64" ]; then
  19. sudo apt-get install -y mingw-w64 binutils-mingw-w64-x86-64 g++-mingw-w64-x86-64 wine-stable
  20. fi