# Template file for 'cinnamon-settings-daemon'
pkgname=cinnamon-settings-daemon
version=2.6.3
revision=2
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 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=b71a515f9eed5efd35ef134f291a9dd9674d81026b23c85377493b53ec1cf0ae

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
	}
}
