# Template file for 'spice-gtk'
pkgname=spice-gtk
version=0.19
revision=1
build_style=gnu-configure
configure_args="--disable-static --enable-vala --enable-introspection
 --enable-smartcard=no"
makedepends="pkg-config intltool gobject-introspection pixman-devel
 celt051-devel openssl-devel libsasl-devel gtk+3-devel pulseaudio-devel
 libjpeg-turbo-devel spice-devel spice-protocol polkit-devel
 dbus-glib-devel vala-devel"
homepage="http://spice-space.org"
license="LGPL-2"
short_desc="GTK+2/3 SPICE widget"
maintainer="davehome <davehome@redthumb.info.tm>"
distfiles="http://spice-space.org/download/gtk/${pkgname}-${version}.tar.bz2"
checksum=43588f68c03d271ea139ec7366db04872c780577bf8a08584d5c2bff001981cf

spice-gtk-devel_package() {
	depends="gtk+3-devel pixman-devel openssl-devel celt051-devel
		${sourcepkg}-${version}_${revision}"
	short_desc="${short_desc} -- development files"
	pkg_install() {
		vmove usr/include
		vmove usr/lib/pkgconfig
		vmove usr/share/vala
		vmove usr/share/gir-1.0
		vmove usr/share/gtk-doc
	}
}

spice-gtk_package() {
	pkg_install() {
		vmove usr
	}
}
