# Template file for 'suil'
pkgname=suil
version=0.6.4
revision=2
build_style=waf
makedepends="pkg-config python lv2 gtk+-devel qt-devel"
short_desc="Lightweight C library for loading and wrapping LV2 plugin UIs"
maintainer="davehome <davehome@redthumb.info.tm>"
license="BSD-style"
homepage="http://drobilla.net/software/suil/"
distfiles="http://download.drobilla.net/${pkgname}-${version}.tar.bz2"
checksum=42b13627e9c17b697871724d0312fa0e23bec3a146bba9f53311c24c0e17ff8a
long_desc="
 Suil is a lightweight C library for loading and wrapping LV2 plugin UIs.

 Suil makes it possible to load a UI of any toolkit in a host using any other
 toolkit (assuming the toolkits are both supported by Suil). Hosts do not need
 to build against or link to foreign toolkit libraries to use UIs written with
 that toolkit (Suil performs its magic at runtime using dynamically loaded
 modules). The API is designed such that hosts do not need to explicitly
 support particular toolkits whatsoever - if Suil supports a particular
 toolkit, then all hosts that use Suil will support that toolkit - for free.

 Suil currently supports Gtk 2 and Qt 4, i.e. with Suil a Gtk program can
 embed a Qt plugin UI without depending on Qt, and a Qt program can embed a
 Gtk plugin UI without depending on Gtk."

suil-devel_package() {
	depends="suil>=${version}"
	short_desc="${short_desc} - Development files"
	pkg_install() {
        	vmove usr/include
        	vmove usr/lib/pkgconfig
	}
}

suil_package() {
	pkg_install() {
		vmove usr
	}
}