void-packages/srcpkgs/suil/template
2020-10-03 19:27:21 +02:00

32 lines
816 B
Bash

# Template file for 'suil'
pkgname=suil
version=0.10.6
revision=1
build_style=waf3
hostmakedepends="pkg-config lv2"
makedepends="gtk+-devel qt5-devel gtk+3-devel"
short_desc="Lightweight C library for loading and wrapping LV2 plugin UIs"
maintainer="Orphaned <orphan@voidlinux.org>"
license="MIT"
homepage="http://drobilla.net/software/suil/"
distfiles="http://download.drobilla.net/${pkgname}-${version}.tar.bz2"
checksum=06fc70abaa33bd7089dd1051af46f89d378e8465d170347a3190132e6f009b7c
if [ "$CROSS_BUILD" ]; then
hostmakedepends+=" qt5-host-tools qt5-devel"
makedepends+=" lv2"
fi
post_install() {
vlicense COPYING
}
suil-devel_package() {
depends="suil>=${version}_${revision}"
short_desc+=" - Development files"
pkg_install() {
vmove usr/include
vmove usr/lib/pkgconfig
vmove "usr/lib/*.so"
}
}