# $Id$ PNAME="polkit-gnome" PVER="0.105" PBUILD="r5" PCAT="sys-apps" DESCRIPTION="PolicyKit integration for the GNOME desktop." HOMEPAGE="http://www.freedesktop.org/wiki/Software/PolicyKit" DEPEND=">= sys-apps/polkit-0.111 >= x11-libs/gtk3+-3.16" SDEPEND=">= dev-util/pkgconfig-0.25 >= dev-util/intltool-0.50 >= dev-libs/gobject-introspection-1.44" sminclude gnome2 xdg SRC_URI=( ${SRC_URI[*]} mirror://${PNAME}/polkit-gnome-authentication-agent-1.desktop ) UP2DATE="updatecmd_gnome ${PVER}" src_compile() { cd ${SRCDIR} gn2_configure --libexecdir=/usr/$(mlibdir)/polkit-gnome || die mmake || die } src_install() { cd ${SRCDIR} mmake DESTDIR=${BINDIR} install || die minstallxdg \ --exec /usr/$(mlibdir)/polkit-gnome/polkit-gnome-authentication-agent-1 \ --destination-dir /etc/xdg/autostart \ --file ${SOURCEDIR}/${PNAME}/polkit-gnome-authentication-agent-1.desktop || die }