# Description: Successor to the LADSPA audio plug-in standard.
# URL: https://lv2plug.in/
# Maintainer: Tim Biermann, tbier at posteo dot de
# Depends on: libsndfile meson ninja

name=lv2
version=1.18.10
release=1
source=(http://lv2plug.in/spec/$name-$version.tar.xz)

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

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