# Template file for 'clutter-gst'
pkgname=clutter-gst
version=2.0.4
revision=2
build_style=gnu-configure
configure_args="--disable-debug"
hostmakedepends="pkg-config intltool gobject-introspection"
makedepends="clutter-devel>=1.14 gst-plugins-base1-devel>=1.1.1 gst-plugins-bad1-devel>=1.1.1"
short_desc="GStreamer bindings for the Clutter Toolkit"
maintainer="Juan RP <xtraeme@gmail.com>"
homepage="http://www.gtk.org/"
license="GPL-2"
distfiles="${GNOME_SITE}/${pkgname}/${version%.*}/${pkgname}-${version}.tar.xz"
checksum=bad69cca7dd9c0d54d4f9fc27cba59dd8d8b329db058844716dbdecec6caba97

clutter-gst-devel_package() {
	depends="clutter-devel>=1.14 gst-plugins-base1-devel>=1.1.1 ${sourcepkg}-${version}_${revision}"
	short_desc+=" - development files"
	pkg_install() {
		vmove usr/include
		vmove usr/lib/pkgconfig
		vmove usr/share/gir-1.0
		vmove usr/share/gtk-doc
	}
}

clutter-gst_package() {
	depends="gst-plugins-base1>=1.1.1 gst-plugins-bad1>=1.1.1"
	pkg_install() {
		vmove usr
	}
}
