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.

22 lines
617B

  1. #!/bin/bash
  2. set -e
  3. export DESTDIR=/tmp/distrho-ports
  4. if [ "${TARGET}" = "win32" ]; then
  5. EXTRA_ARGS="--cross-file scripts/meson/win32.ini -Dbuild-legacy-only=true"
  6. elif [ "${TARGET}" = "win64" ]; then
  7. EXTRA_ARGS="--cross-file scripts/meson/win64.ini -Dbuild-legacy-only=true"
  8. fi
  9. echo "meson build --buildtype=release ${EXTRA_ARGS}"
  10. meson build --buildtype=release --prefix=/usr ${EXTRA_ARGS}
  11. ninja -v -C build
  12. ninja -C build install
  13. if [ "${TARGET}" = "linux" ]; then
  14. export LV2_PATH=${DESTDIR}/usr/lib/lv2:/usr/lib/lv2
  15. for uri in $(lv2ls); do lv2lint -W lv2_generate_ttl -Snowarn ${uri}; done
  16. fi