# Template file for 'clutter'
pkgname=clutter
version=1.2.4
distfiles="http://www.clutter-project.org/sources/clutter/1.2/$pkgname-$version.tar.bz2"
build_style=gnu_configure
configure_args="--with-x --with-flavour=glx --with-imagebackend=gdk-pixbuf
 --enable-xinput"
short_desc="OpenGL based interactive canvas library"
maintainer="Juan RP <xtraeme@gmail.com>"
checksum=14528674af19eca4f6638c6e1e0ac07e40d047a6a31bac2f8cbb6ee0349ccb65
long_desc="
 Clutter is an open source software library for creating fast, visually
 rich and animated graphical user interfaces."

subpackages="gir-$pkgname $pkgname-devel"

Add_dependency run glibc
Add_dependency run glib
Add_dependency run pango
Add_dependency run cairo
Add_dependency run gtk+
Add_dependency run MesaLib
Add_dependency run libX11
Add_dependency run libXext
Add_dependency run libXdamage
Add_dependency run libXfixes
Add_dependency run libXcomposite
Add_dependency run libXi
Add_dependency build pkg-config
Add_dependency build pango-devel
Add_dependency build cairo-devel
Add_dependency build glib-devel
Add_dependency build gtk+-devel
Add_dependency build MesaLib-devel
Add_dependency build libX11-devel
Add_dependency build libXext-devel
Add_dependency build libXdamage-devel
Add_dependency build libXfixes-devel
Add_dependency build libXcomposite-devel
Add_dependency build libXi-devel
Add_dependency build gobject-introspection

pre_configure()
{
	# Use cmp(1) from diffutils.
	export PATH="/usr/bin:$PATH"
}
