# Template file for 'clutter'
pkgname=clutter
version=1.14.4
revision=1
build_style=gnu-configure
configure_args="--enable-introspection"
hostmakedepends="pkg-config intltool gobject-introspection"
makedepends="atk-devel pango-devel libXi-devel libXcomposite-devel json-glib-devel cogl-devel>=1.14"
short_desc="OpenGL based interactive canvas library"
maintainer="Juan RP <xtraeme@gmail.com>"
homepage="http://www.clutter-project.org"
license="LGPL-2.1"
distfiles="${GNOME_SITE}/clutter/${version%.*}/clutter-${version}.tar.xz"
checksum=c996d91fff6fff24d9e23dcd545439ebc6b999fb1cf9ee44c28ca54c49c0ee1c
long_desc="
 Clutter is an open source software library for creating fast, visually
 rich and animated graphical user interfaces."

clutter-devel_package() {
	depends="cogl-devel>=1.14 cairo-devel atk-devel pango-devel json-glib-devel
		libX11-devel libXext-devel libXfixes-devel libXdamage-devel
		libXcomposite-devel libXi-devel clutter-${version}_${revision}"
	short_desc+=" - development files"
	pkg_install() {
		vmove usr/include
		vmove usr/lib/pkgconfig
		vmove usr/share/gtk-doc
		vmove "usr/share/gir-*"
	}
}

clutter_package() {
	pkg_install() {
		vmove all
	}
}
