# Template file for 'jalv'
pkgname=jalv
version=1.6.8
revision=1
build_style=meson
hostmakedepends="pkg-config $(vopt_if qt qt5-host-tools)"
makedepends="lv2 lilv-devel suil-devel serd-devel sord-devel sratom-devel
 $(vopt_if portaudio portaudio-devel jack-devel) $(vopt_if gtk3 gtk+3-devel)
 $(vopt_if qt qt5-devel)"
short_desc="LV2 host for JACK"
maintainer="Orphaned <orphan@voidlinux.org>"
license="ISC"
homepage="https://drobilla.net/software/jalv"
changelog="https://drobilla.net/category/jalv/"
distfiles="http://download.drobilla.net/jalv-${version}.tar.xz"
checksum=edae77b1280ea44d4c0b2b732686defd370fde25ed1da289896d9f53b6fc15e1

build_options="portaudio gtk3 qt"
build_options_default="gtk3 qt"
desc_option_portaudio="Use PortAudio backend instead of JACK"

CXXFLAGS="-fPIC"

post_install() {
	vlicense COPYING
}
