From f92017207f48f9267c3ad0fb2bfa541abdb2d147 Mon Sep 17 00:00:00 2001 From: Samuli Suominen Date: Tue, 18 Oct 2011 21:20:12 +0000 Subject: Use x11-libs/gtk+:3 instead of :2. Fix autostart desktop entry to include "AutostartCondition" like in polkit-gnome. (Portage version: 2.2.0_alpha69/cvs/Linux x86_64) --- lxde-base/lxpolkit/ChangeLog | 9 ++++++++- lxde-base/lxpolkit/lxpolkit-0.1.0-r1.ebuild | 30 +++++++++++++++++++++++++++++ 2 files changed, 38 insertions(+), 1 deletion(-) create mode 100644 lxde-base/lxpolkit/lxpolkit-0.1.0-r1.ebuild (limited to 'lxde-base/lxpolkit') diff --git a/lxde-base/lxpolkit/ChangeLog b/lxde-base/lxpolkit/ChangeLog index b7e329017f43..deeb25c4d75e 100644 --- a/lxde-base/lxpolkit/ChangeLog +++ b/lxde-base/lxpolkit/ChangeLog @@ -1,6 +1,13 @@ # ChangeLog for lxde-base/lxpolkit # Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/lxde-base/lxpolkit/ChangeLog,v 1.10 2011/10/18 21:09:35 ssuominen Exp $ +# $Header: /var/cvsroot/gentoo-x86/lxde-base/lxpolkit/ChangeLog,v 1.11 2011/10/18 21:20:12 ssuominen Exp $ + +*lxpolkit-0.1.0-r1 (18 Oct 2011) + + 18 Oct 2011; Samuli Suominen + +lxpolkit-0.1.0-r1.ebuild: + Use x11-libs/gtk+:3 instead of :2. Fix autostart desktop entry to include + "AutostartCondition" like in polkit-gnome. 18 Oct 2011; Samuli Suominen -lxpolkit-0_p20110329.ebuild: diff --git a/lxde-base/lxpolkit/lxpolkit-0.1.0-r1.ebuild b/lxde-base/lxpolkit/lxpolkit-0.1.0-r1.ebuild new file mode 100644 index 000000000000..bfadfab7c7b5 --- /dev/null +++ b/lxde-base/lxpolkit/lxpolkit-0.1.0-r1.ebuild @@ -0,0 +1,30 @@ +# Copyright 1999-2011 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/lxde-base/lxpolkit/lxpolkit-0.1.0-r1.ebuild,v 1.1 2011/10/18 21:20:12 ssuominen Exp $ + +EAPI=4 + +DESCRIPTION="A simple PolicyKit authentication agent" +HOMEPAGE="http://lxde.git.sourceforge.net/git/gitweb.cgi?p=lxde/lxpolkit;a=summary http://blog.lxde.org/?p=674" +SRC_URI="mirror://sourceforge/project/lxde/LXPolkit/${P}.tar.gz" + +LICENSE="GPL-3" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="" + +RDEPEND=">=sys-auth/polkit-0.102 + x11-libs/gtk+:3 + !gnome-extra/polkit-gnome" +DEPEND="${RDEPEND} + >=dev-util/intltool-0.40.0 + dev-util/pkgconfig + sys-devel/gettext" + +src_prepare() { + local f=data/lxpolkit.desktop.in.in + sed -i -e '/^NotShowIn/s:GNOME;::' ${f} || die + echo 'AutostartCondition=GNOME3 if-session gnome-fallback' >> ${f} +} + +src_configure() { econf --enable-gtk3; } -- cgit v1.2.3-65-gdbad