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

hostmakedepends="which pkg-config intltool gnome-doc-utils gobject-introspection"

makedepends="
 libXi-devel colord-devel>=1.1.7 libsoup-devel gsettings-desktop-schemas-devel>=3.12
 gnome-desktop-devel>=3.12 libgnomekbd-devel>=3.6.0 samba-devel
 gnome-menus-devel>=3.10 network-manager-applet-devel grilo-devel
 gnome-settings-daemon-devel>=3.12 gnome-online-accounts-devel>=3.12
 libcanberra-devel polkit-devel libgtop-devel alsa-plugins
 upower-devel>=0.99 pulseaudio-devel libwacom-devel ibus-devel
 gnome-bluetooth-devel>=3.12 tzdata cups-devel
 libpwquality-devel mit-krb5-devel cheese-devel>=3.12
 colord-gtk-devel>=0.1.24 accountsservice-devel vala-devel>=0.24
 libXxf86misc-devel ModemManager-devel iso-codes"

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

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