2010-04-11 11:10:10 +00:00
|
|
|
# Template file for 'polkit-gnome'
|
|
|
|
pkgname=polkit-gnome
|
2011-10-27 17:54:53 +00:00
|
|
|
version=0.105
|
2011-09-30 16:33:37 +00:00
|
|
|
distfiles="${GNOME_SITE}/$pkgname/$version/$pkgname-$version.tar.xz"
|
2011-10-24 12:14:47 +00:00
|
|
|
build_style=gnu-configure
|
2011-11-14 17:12:47 +00:00
|
|
|
revision=2
|
2010-04-11 11:10:10 +00:00
|
|
|
short_desc="PolicyKit integration for the GNOME desktop"
|
|
|
|
maintainer="Juan RP <xtraeme@gmail.com>"
|
2011-08-18 07:18:15 +00:00
|
|
|
homepage="http://www.freedesktop.org/wiki/Software/PolicyKit"
|
|
|
|
license="GPL-2"
|
2011-10-27 17:54:53 +00:00
|
|
|
checksum=1784494963b8bf9a00eedc6cd3a2868fb123b8a5e516e66c5eda48df17ab9369
|
2010-04-11 11:10:10 +00:00
|
|
|
long_desc="
|
|
|
|
PolicyKit is an application-level toolkit for defining and handling the
|
|
|
|
policy that allows unprivileged processes to speak to privileged processes.
|
|
|
|
|
|
|
|
It is a framework for centralizing the decision making process with respect
|
|
|
|
to granting access to privileged operations (like calling the HAL Mount()
|
|
|
|
method) for unprivileged (desktop) applications.
|
|
|
|
|
|
|
|
This package contains the glue to integrate with the GNOME desktop."
|
|
|
|
|
|
|
|
Add_dependency build pkg-config
|
|
|
|
Add_dependency build intltool
|
2011-09-30 16:33:37 +00:00
|
|
|
Add_dependency build gobject-introspection
|
2010-04-11 11:10:10 +00:00
|
|
|
Add_dependency build polkit-devel
|
2011-03-03 09:29:30 +00:00
|
|
|
Add_dependency build gtk+3-devel
|
2011-03-03 10:03:24 +00:00
|
|
|
|
|
|
|
post_install()
|
|
|
|
{
|
|
|
|
# Start polkit-gnome-authentication-agent-1 via XDG autostart,
|
|
|
|
# otherwise it will run with the GDM user and won't work.
|
2011-10-17 22:59:05 +00:00
|
|
|
vinstall ${FILESDIR}/polkit-gnome-authentication-agent-1.desktop \
|
|
|
|
644 etc/xdg/autostart
|
2011-03-03 10:03:24 +00:00
|
|
|
}
|