# Contributor: David Demelier <markand@malikania.fr>
# Maintainer: David Demelier <markand@malikania.fr>
pkgname=suil
pkgver=0.10.22
pkgrel=0
pkgdesc="C library for loading and wrapping LV2 plugin UIs"
url="https://drobilla.net/software/suil"
arch="all"
license="ISC"
makedepends="
	gtk+2.0-dev
	gtk+3.0-dev
	lv2-dev
	meson
	qt5-qtbase-dev
	qt5-qtx11extras-dev
	"
subpackages="$pkgname-dev"
source="https://download.drobilla.net/suil-$pkgver.tar.xz"
options="!check" # No tests

build() {
	abuild-meson -Db_lto=true . output
	meson compile -C output
}

package() {
	DESTDIR="$pkgdir" meson install --no-rebuild -C output
}

sha512sums="
fe2f30acd4c6f586ad3b08e5a5fac26a902848065b944852406ae51b74fa5fdbb0ff2417c538cd803ad47074248353c2d704698bcd5e64ade174deb4b5701f7e  suil-0.10.22.tar.xz
"
