void-packages/srcpkgs/suil/template
2018-09-17 03:56:17 -03:00

32 lines
827 B
Bash

# Template file for 'suil'
pkgname=suil
version=0.10.0
revision=2
build_style=waf
hostmakedepends="pkg-config python lv2"
makedepends="gtk+-devel qt5-devel gtk+3-devel"
short_desc="Lightweight C library for loading and wrapping LV2 plugin UIs"
maintainer="Juan RP <xtraeme@voidlinux.eu>"
license="BSD-style"
homepage="http://drobilla.net/software/suil/"
distfiles="http://download.drobilla.net/${pkgname}-${version}.tar.bz2"
checksum=9895c531f80c7e89a2b4b47de589d73b70bf48db0b0cfe56e5d54237ea4b8848
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"
}
}