void-packages/srcpkgs/suil/template
q66 198501e219 suil: fix build by patching out a check, remove nocross
Qt5 ships this header even on non-Macs => the check breaks build
as the respective obj-c stuff tries to include Cocoa. This also
removes the requirement of an Obj-C++ compiler, so cross should
work.
2019-01-31 10:54:10 +01:00

32 lines
822 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.org>"
license="MIT"
homepage="http://drobilla.net/software/suil/"
distfiles="http://download.drobilla.net/${pkgname}-${version}.tar.bz2"
checksum=9f445910627fb30f4c182b9ee00d1030324910d8a9ce7c9654c34465411da401
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"
}
}