# Template file for 'clutter'
pkgname=clutter
version=1.18.0
revision=1
build_style=gnu-configure
configure_args="--enable-introspection --enable-evdev-input
 --enable-wayland-backend --enable-egl-backend --enable-wayland-compositor"
hostmakedepends="pkg-config intltool gobject-introspection"
makedepends="
 atk-devel pango-devel libXi-devel libXcomposite-devel json-glib-devel
 libxkbcommon-devel cogl-devel>=1.18 libinput-devel"
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=937ac94d10d4562c67554dd3d087bf0859a3bf254922a226fc0c13a39a457869

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