void-packages/srcpkgs/suil/template

34 lines
883 B
Bash

# Template file for 'suil'
pkgname=suil
version=0.10.2
revision=1
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="MIT"
homepage="http://drobilla.net/software/suil/"
distfiles="http://download.drobilla.net/${pkgname}-${version}.tar.bz2"
checksum=9f445910627fb30f4c182b9ee00d1030324910d8a9ce7c9654c34465411da401
nocross="Objective-C++ compiler not installed on this system"
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"
}
}