# Description: A C library interface to the LV2 plug-in standard,
# URL: https://drobilla.net/software/lilv.html
# Maintainer: Tim Biermann, tbier at posteo dot de
# Depends on: sratom swig

name=lilv
version=0.24.20
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

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