# Template file for 'gnome-desktop'
pkgname=gnome-desktop
version=3.8.2
revision=1
build_style=gnu-configure
configure_args="--with-gnome-distributor=voidlinux"
hostmakedepends="which pkg-config intltool itstool gnome-doc-utils gobject-introspection"
makedepends="libxkbfile-devel gtk+3-devel gsettings-desktop-schemas-devel>=3.8.0
 xkeyboard-config iso-codes"
short_desc="GNOME desktop management utilities"
maintainer="Juan RP <xtraeme@gmail.com>"
license="GPL-2, LGPL-2.1"
homepage="http://www.gnome.org"
distfiles="${GNOME_SITE}/$pkgname/3.8/$pkgname-$version.tar.xz"
checksum=af4ec330fa61ee761daf2d5e481e2f9ffbd068d135d5e31a3eaf274524cba33d

gnome-desktop-devel_package() {
	depends="libxkbfile-devel gsettings-desktop-schemas-devel>=3.8.0
		gtk+3-devel>=3.8 ${sourcepkg}-${version}_${revision}"
	short_desc+=" - development files"
	pkg_install() {
		vmove usr/include
		vmove usr/lib/pkgconfig
		vmove usr/share/gir-1.0
		vmove usr/share/gtk-doc
	}
}

gnome-desktop_package() {
	depends="gsettings-desktop-schemas>=3.8.0 xkeyboard-config iso-codes"
	pkg_install() {
		vmove all
	}
}
