# Template file for 'mutter'
pkgname=mutter
version=3.12.2
revision=2
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.10 startup-notification-devel libcanberra-devel
 clutter-devel>=1.18 gsettings-desktop-schemas-devel>=3.12
 upower-devel>=0.99 gnome-desktop-devel>=3.12 libSM-devel
 zenity>=3.8.0 desktop-file-utils"
depends="zenity>=3.8 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/${version%.*}/$pkgname-$version.tar.xz"
checksum=e653cf3e8c29af8d8c086bebcaa06781c48695be949417b72278fee37fe9e173

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