void-packages/srcpkgs/suil/template

34 lines
880 B
Bash

# Template file for 'suil'
pkgname=suil
version=0.10.12
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="https://drobilla.net/software/suil.html"
changelog="https://gitlab.com/lv2/suil/-/raw/master/NEWS"
distfiles="http://download.drobilla.net/${pkgname}-${version}.tar.bz2"
checksum=daa763b231b22a1f532530d3e04c1fae48d1e1e03785e23c9ac138f207b87ecd
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"
}
}