# Template file for 'spice-gtk'
pkgname=spice-gtk
version=0.24
revision=2
build_style=gnu-configure
configure_args="--disable-static --enable-vala --enable-introspection
 --enable-smartcard=no --enable-usbredir=no --enable-polkit=yes
 --with-usb-ids-path=/usr/share/hwdata/usb.ids"
hostmakedepends="pkg-config intltool gobject-introspection"
makedepends="dbus-glib-devel vala-devel pixman-devel
 celt051-devel libressl-devel libsasl-devel gtk+3-devel pulseaudio-devel
 libjpeg-turbo-devel polkit-devel libsoup-devel hwids"
depends="hwids"
homepage="http://spice-space.org"
license="LGPL-2.1"
short_desc="GTK+2/3 SPICE widget"
maintainer="Juan RP <xtraeme@gmail.com>"
distfiles="http://spice-space.org/download/gtk/${pkgname}-${version}.tar.bz2"
checksum=6efe500845f910945670f11664f584fd13b9db494075c41137eb7bacd60d1ed1

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