# Template file for 'gnome-settings-daemon'
pkgname=gnome-settings-daemon
version=2.30.1
distfiles="${GNOME_SITE}/$pkgname/2.30/$pkgname-$version.tar.bz2"
build_style=gnu_configure
configure_args="--disable-schemas-install --localstatedir=/var
--with-gconf-schema-file-dir=/usr/share/gconf/schemas
--disable-pulse --enable-gstreamer"
short_desc="GNOME settings daemon"
maintainer="Juan RP <xtraeme@gmail.com>"
checksum=6f66de1bb80af094a640398549799109e60f53d5373a1b0b7719a5a31c900095
long_desc="
 This package provides a daemon to handle settings on the GNOME desktop."

gconf_schemas="
apps_gnome_settings_daemon_housekeeping.schemas
apps_gnome_settings_daemon_keybindings.schemas
apps_gnome_settings_daemon_xrandr.schemas
desktop_gnome_font_rendering.schemas
desktop_gnome_keybindings.schemas
desktop_gnome_peripherals_touchpad.schemas
gnome-settings-daemon.schemas"

gtk_iconcache_dirs="/usr/share/icons/hicolor"
subpackages="$pkgname-devel"

Add_dependency run glibc
Add_dependency run glib
Add_dependency run dbus-glib
Add_dependency run dbus-libs
Add_dependency run startup-notification
Add_dependency run atk
Add_dependency run pango
Add_dependency run cairo
Add_dependency run freetype
Add_dependency run fontconfig
Add_dependency run gtk+
Add_dependency run libxml2
Add_dependency run libSM
Add_dependency run libICE
Add_dependency run libXext
Add_dependency run libX11
Add_dependency run libXxf86misc
Add_dependency run libXi
Add_dependency run libnotify
Add_dependency run libgnomekbd
Add_dependency run libxklavier
Add_dependency run GConf
Add_dependency run gnome-desktop
Add_dependency run gstreamer
Add_dependency run gst-plugins-base
Add_dependency build automake
Add_dependency build pkg-config
Add_dependency build intltool
Add_dependency build libxml2-devel
Add_dependency build GConf-devel
Add_dependency build gnome-desktop-devel
Add_dependency build gtk+-devel
Add_dependency build startup-notification-devel
Add_dependency build atk-devel
Add_dependency build pango-devel
Add_dependency build cairo-devel
Add_dependency build freetype-devel
Add_dependency build fontconfig-devel
Add_dependency build glib-devel
Add_dependency build dbus-glib-devel
Add_dependency build dbus-devel
Add_dependency build libSM-devel
Add_dependency build libICE-devel
Add_dependency build libXext-devel
Add_dependency build libX11-devel
Add_dependency build gstreamer-devel
Add_dependency build gst-plugins-base-devel
Add_dependency build libXxf86misc-devel
Add_dependency build libnotify-devel
Add_dependency build libgnomekbd-devel
Add_dependency build libxklavier-devel
Add_dependency build libXi-devel
Add_dependency full hicolor-icon-theme

pre_configure()
{
	cd ${wrksrc} && autoreconf -fi
}
