# Template file for 'cinnamon-settings-daemon'
pkgname=cinnamon-settings-daemon
version=2.8.4
revision=3
short_desc="The Cinnamon Settings Daemon"
build_style=gnu-configure
configure_args=" --disable-static --disable-schemas-compile --disable-gconf
 --disable-systemd"
hostmakedepends="automake libtool gnome-common pkg-config gobject-introspection
 gettext-devel glib-devel dbus-glib-devel intltool xmlto docbook-xml"
makedepends="gtk+3-devel dbus-devel upower0-devel json-glib-devel libSM-devel
 libnotify-devel cinnamon-desktop-devel lcms2-devel ibus-devel nss-devel
 pulseaudio-devel libcanberra-devel colord-devel cups-devel polkit-devel
 libgnomekbd-devel libxklavier-devel kbproto"
depends="desktop-file-utils hicolor-icon-theme"
maintainer="Juan RP <xtraeme@voidlinux.eu>"
license="GPL-3"
homepage="http://cinnamon.linuxmint.com/"
distfiles="https://github.com/linuxmint/${pkgname}/archive/${version}.tar.gz"
checksum=2f7e8764a842d9b4f21c1e6d5321e4101720f1600462b5452d14a061b608c584

pre_configure() {
	NOCONFIGURE=1 ./autogen.sh
}

cinnamon-settings-daemon-devel_package() {
	short_desc+=" - development files"
	depends="libglib-devel"
	pkg_install() {
		vmove usr/include
		vmove usr/lib/pkgconfig
	}
}