# Template file for 'cinnamon-settings-daemon'
pkgname=cinnamon-settings-daemon
version=2.0.8
revision=1
patch_args="-Np1"
short_desc="The Cinnamon Settings Daemon"
build_style=gnu-configure
configure_args=" --disable-static --disable-schemas-compile
 --enable-systemd --disable-gconf"
hostmakedepends="automake libtool gnome-common pkg-config gobject-introspection
 gettext-devel intltool which xmlto docbook-xml"
makedepends="gtk+3-devel dbus-devel upower-devel json-glib-devel libSM-devel
 systemd-devel libnotify-devel cinnamon-desktop-devel lcms2-devel ibus-devel 
 pulseaudio-devel libcanberra-devel colord-devel cups-devel nss-devel polkit-devel
 desktop-file-utils hicolor-icon-theme"
depends="desktop-file-utils hicolor-icon-theme"
maintainer="Juan RP <xtraeme@gmail.com>"
license="GPL-3"
homepage="http://cinnamon.linuxmint.com/"

do_fetch() {
	git clone -b ${version} git://github.com/linuxmint/${pkgname} ${pkgname}-${version}
}

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