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

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

# XXX modem manager needs ModemManager.
# XXX Printers panel seems to require samba4.
makedepends="libXi-devel colord-devel>=0.1.3 gsettings-desktop-schemas-devel
 gnome-desktop-devel>=3.8 libgnomekbd-devel>=3.6.0
 gnome-menus-devel>=3.8 network-manager-applet-devel
 gnome-settings-daemon-devel>=3.8 gnome-online-accounts-devel>=3.8
 libsocialweb-devel libcanberra-devel polkit-devel libgtop-devel
 upower-devel pulseaudio-devel libwacom-devel ibus-devel
 gnome-bluetooth-devel>=3.8 tzdata systemd-devel cups-devel
 libpwquality-devel mit-krb5-devel cheese-devel>=3.8.0
 colord-gtk-devel>=0.1.24 accountsservice-devel vala-devel>=0.20
 iso-codes"

gnome-control-center_package() {
	depends="gsettings-desktop-schemas>=3.8 pulseaudio desktop-file-utils
		hicolor-icon-theme sound-theme-freedesktop apg iso-codes"
	pkg_install() {
		vmove all
	}
}
