# Template file for 'gnome-power-manager'
pkgname=gnome-power-manager
version=2.91.90
distfiles="${GNOME_SITE}/$pkgname/2.91/$pkgname-$version.tar.bz2"
build_style=gnu_configure
configure_args="--disable-scrollkeeper --localstatedir=/var --disable-schemas-compile"
short_desc="GNOME power management tool"
maintainer="Juan RP <xtraeme@gmail.com>"
checksum=137b92409a970d28d62d567580aeba1244c65dc1faee666cde6ba6fcbba267f1
long_desc="
 GNOME Power Manager is a session daemon for the GNOME desktop that takes care
 of system or desktop events related to power, and triggers actions
 accordingly. Its philosophy is to completely hide these complex tasks and only
 show some settings important to the user.

 The GNOME power manager displays and manages battery status, power plug events,
 display brightness, CPU, graphics card and hard disk drive power saving, and can
 trigger suspend-to-RAM, hibernate or shutdown events, all integrated to other
 components of the GNOME desktop."

triggers="gsettings-schemas"
gtk_iconcache_dirs="/usr/share/icons/hicolor"

Add_dependency run glibc
Add_dependency run glib
Add_dependency run pango
Add_dependency run cairo
Add_dependency run gtk+3
Add_dependency run libX11
Add_dependency run libXext
Add_dependency run libXrandr
Add_dependency run libcanberra
Add_dependency run libnotify
Add_dependency run upower
Add_dependency run GConf
Add_dependency run libgnome-keyring

Add_dependency build pkg-config
Add_dependency build intltool
Add_dependency build gnome-doc-utils
Add_dependency build glib-devel
Add_dependency build pango-devel
Add_dependency build cairo-devel
Add_dependency build gtk+3-devel
Add_dependency build libX11-devel
Add_dependency build libXext-devel
Add_dependency build libXrandr-devel
Add_dependency build libcanberra-devel
Add_dependency build libnotify-devel
Add_dependency build upower-devel
Add_dependency build GConf-devel
Add_dependency build libgnome-keyring-devel

Add_dependency full polkit-gnome
Add_dependency full hicolor-icon-theme
