# Template file for 'mutter'
pkgname=mutter
version=3.8.3
revision=1
build_style=gnu-configure
configure_args="--disable-schemas-compile --disable-static"
hostmakedepends="pkg-config intltool gnome-doc-utils gobject-introspection"
makedepends="gtk+3-devel>=3.8 startup-notification-devel libcanberra-devel
 clutter-devel>=1.14 gsettings-desktop-schemas-devel>=3.8
 zenity>=3.8.0 libICE-devel libSM-devel desktop-file-utils"
short_desc="Lightweight GTK+3 window manager"
maintainer="Juan RP <xtraeme@gmail.com>"
homepage="http://www.gnome.org"
license="GPL-2"
distfiles="${GNOME_SITE}/$pkgname/3.8/$pkgname-$version.tar.xz"
checksum=3078162c3adef95fb207cc1945b863575ff180709d6394f5cf14e7d0f49b6c2a

mutter-devel_package() {
	depends="gsettings-desktop-schemas>=3.8.0 gtk+3-devel>=3.8
		clutter-devel>=1.14 libX11-devel mutter-${version}_${revision}"
	short_desc+=" - development files"
	pkg_install() {
		vmove usr/include
		vmove usr/lib/pkgconfig
		vmove "usr/lib/mutter/*.gir"
	}
}

mutter_package() {
	depends="zenity>=3.8.0 desktop-file-utils"
	pkg_install() {
		vmove all
	}
}
