# Description: MDA VST plugins to LV2
# URL: https://git.drobilla.net/cgit.cgi/mda.lv2.git/about/
# Maintainer: Tim Biermann, tbier at posteo dot de
# Depends on: lv2 meson

name=mda-lv2
version=1.2.10
release=1
source=(https://download.drobilla.net/$name-$version.tar.xz)

build() {
  meson setup $name-$version build \
    --prefix=/usr \
    --buildtype=plain \
    --wrap-mode nodownload \
    -D b_lto=true \
    -D b_pie=true \
    -D tests=disabled

  meson compile -C build
  DESTDIR=$PKG meson install -C build
}
