2010-04-11 13:10:10 +02:00
|
|
|
# Template file for 'polkit-gnome'
|
|
|
|
pkgname=polkit-gnome
|
2011-03-04 12:49:34 +01:00
|
|
|
version=0.101
|
2010-04-11 13:10:10 +02:00
|
|
|
distfiles="http://hal.freedesktop.org/releases/$pkgname-$version.tar.bz2"
|
|
|
|
build_style=gnu_configure
|
2011-03-03 10:29:30 +01:00
|
|
|
configure_args="--localstatedir=/var --with-gtk=3.0"
|
2010-04-11 13:10:10 +02:00
|
|
|
short_desc="PolicyKit integration for the GNOME desktop"
|
|
|
|
maintainer="Juan RP <xtraeme@gmail.com>"
|
2011-03-04 12:49:34 +01:00
|
|
|
checksum=f1452e37b6681a0ade2c0cbb3734e6f78c421b958ab4d4eb6a2cd3b9f50db8d0
|
2010-04-11 13:10:10 +02: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."
|
|
|
|
|
2011-03-02 20:36:07 +01:00
|
|
|
subpackages="$pkgname-devel"
|
2010-04-11 13:10:10 +02:00
|
|
|
|
|
|
|
Add_dependency run glibc
|
|
|
|
Add_dependency run polkit
|
|
|
|
Add_dependency run glib
|
|
|
|
Add_dependency run atk
|
|
|
|
Add_dependency run pango
|
|
|
|
Add_dependency run cairo
|
|
|
|
Add_dependency run freetype
|
|
|
|
Add_dependency run fontconfig
|
2010-10-23 18:30:16 +02:00
|
|
|
Add_dependency run gdk-pixbuf
|
|
|
|
Add_dependency run libpng
|
2011-03-03 10:29:30 +01:00
|
|
|
Add_dependency run gtk+3
|
2010-10-23 18:30:16 +02:00
|
|
|
|
2010-04-11 13:10:10 +02:00
|
|
|
Add_dependency build pkg-config
|
|
|
|
Add_dependency build intltool
|
|
|
|
Add_dependency build polkit-devel
|
|
|
|
Add_dependency build glib-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
|
2010-10-23 18:30:16 +02:00
|
|
|
Add_dependency build gdk-pixbuf-devel
|
|
|
|
Add_dependency build libpng-devel
|
2011-03-03 10:29:30 +01:00
|
|
|
Add_dependency build gtk+3-devel
|
2010-11-04 14:37:19 +01:00
|
|
|
Add_dependency build gobject-introspection
|
2011-03-03 11:03:24 +01:00
|
|
|
|
|
|
|
post_install()
|
|
|
|
{
|
2011-03-04 12:49:34 +01:00
|
|
|
# Disabled for now, will check later.
|
|
|
|
:
|
2011-03-03 11:03:24 +01:00
|
|
|
# Start polkit-gnome-authentication-agent-1 via XDG autostart,
|
|
|
|
# otherwise it will run with the GDM user and won't work.
|
2011-03-04 12:49:34 +01:00
|
|
|
#install -D -m644 \
|
|
|
|
# ${FILESDIR}/polkit-gnome-authentication-agent-1.desktop \
|
|
|
|
# ${DESTDIR}/etc/xdg/autostart/polkit-gnome-authentication-agent-1.desktop
|
2011-03-03 11:03:24 +01:00
|
|
|
}
|