void-packages/srcpkgs/polkit-gnome/template
Juan RP 23dd7d008e Update build_style for all templates.
- There's no need to set build_style for custom-install (default).
- gnu_{configure,makefile} renamed to gnu-{configure,makefile}.
2011-10-24 14:14:47 +02:00

45 lines
1.5 KiB
Text

# Template file for 'polkit-gnome'
pkgname=polkit-gnome
version=0.104
distfiles="${GNOME_SITE}/$pkgname/$version/$pkgname-$version.tar.xz"
build_style=gnu-configure
short_desc="PolicyKit integration for the GNOME desktop"
maintainer="Juan RP <xtraeme@gmail.com>"
homepage="http://www.freedesktop.org/wiki/Software/PolicyKit"
license="GPL-2"
checksum=5a59d47cbc87e3e5ac24e5e28b4fa9fc07d6d0096e53fa53d8e6b3fd06854d94
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 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
Add_dependency run gdk-pixbuf
Add_dependency run libpng
Add_dependency run gtk+3
Add_dependency build pkg-config
Add_dependency build intltool
Add_dependency build gobject-introspection
Add_dependency build polkit-devel
Add_dependency build gtk+3-devel
post_install()
{
# Start polkit-gnome-authentication-agent-1 via XDG autostart,
# otherwise it will run with the GDM user and won't work.
vinstall ${FILESDIR}/polkit-gnome-authentication-agent-1.desktop \
644 etc/xdg/autostart
}