# Template file for 'libgksu'
pkgname=libgksu
version=2.0.12
revision=1
distfiles="http://people.debian.org/~kov/gksu/$pkgname-$version.tar.gz"
build_style=gnu_configure
configure_args="--disable-schemas-install --localstatedir=/var
--with-gconf-schema-file-dir=/usr/share/gconf/schemas --disable-gtk-doc"
short_desc="gksu authorization library"
maintainer="Juan RP <xtraeme@gmail.com>"
checksum=22f9cfc3627dcb6774b9aff66c6ea6554f3b34b82bbfa2467b821e67874c3faf
long_desc="
 This library comes from the gksu program. It provides a simple API to use
 su and sudo in programs that need to execute tasks as other user. It provides
 X authentication facilities for running programs in an X session."
  
gconf_schemas="gksu.schemas"
subpackages="$pkgname-devel"

Add_dependency run glibc
Add_dependency run glib
Add_dependency run startup-notification
Add_dependency run libgnome-keyring
Add_dependency run libgtop
Add_dependency run gtk+
Add_dependency run atk
Add_dependency run pango
Add_dependency run cairo
Add_dependency run freetype
Add_dependency run fontconfig
Add_dependency run GConf

Add_dependency build pkg-config
Add_dependency build intltool
Add_dependency build glib-devel
Add_dependency build startup-notification-devel
Add_dependency build libgnome-keyring-devel
Add_dependency build libgtop-devel
Add_dependency build gtk+-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 GConf-devel

Add_dependency full desktop-file-utils
Add_dependency full sudo
