# Template file for 'gnome-control-center'
pkgname=gnome-control-center
version=3.16.2
revision=2
build_style=gnu-configure
configure_args="--disable-static --with-cheese"
short_desc="The GNOME control center"
maintainer="Juan RP <xtraeme@voidlinux.eu>"
license="GPL-2"
homepage="http://www.gnome.org"
distfiles="${GNOME_SITE}/$pkgname/${version%.*}/$pkgname-$version.tar.xz"
checksum=2c2636af27a07a064669abdf79a8b0580a9a611fa4f108900167100473028a3d

hostmakedepends="pkg-config intltool gnome-doc-utils gobject-introspection"
makedepends="
 libXi-devel colord-devel libsoup-devel gsettings-desktop-schemas-devel
 gnome-desktop-devel libgnomekbd-devel samba-devel
 gnome-menus-devel network-manager-applet-devel grilo-devel
 gnome-settings-daemon-devel gnome-online-accounts-devel
 libcanberra-devel polkit-devel libgtop-devel alsa-plugins
 upower-devel pulseaudio-devel libwacom-devel ibus-devel
 gnome-bluetooth-devel tzdata cups-devel
 libpwquality-devel mit-krb5-devel cheese-devel
 colord-gtk-devel accountsservice-devel vala-devel
 libXxf86misc-devel ModemManager-devel libSM-devel iso-codes"

depends="gsettings-desktop-schemas>=3.16 alsa-plugins-pulseaudio desktop-file-utils
 hicolor-icon-theme sound-theme-freedesktop apg iso-codes"

gnome-control-center-devel_package() {
	short_desc+=" - development files"
	pkg_install() {
		vmove usr/share/pkgconfig
	}
}
