Use x11-libs/gtk+:3 instead of :2. Fix autostart desktop entry to include "AutostartC...
authorSamuli Suominen <ssuominen@gentoo.org>
Tue, 18 Oct 2011 21:20:12 +0000 (21:20 +0000)
committerSamuli Suominen <ssuominen@gentoo.org>
Tue, 18 Oct 2011 21:20:12 +0000 (21:20 +0000)
Package-Manager: portage-2.2.0_alpha69/cvs/Linux x86_64

lxde-base/lxpolkit/ChangeLog
lxde-base/lxpolkit/Manifest
lxde-base/lxpolkit/lxpolkit-0.1.0-r1.ebuild [new file with mode: 0644]

index b7e329017f43efa9f95da9be12572b5503bdfa08..deeb25c4d75ee92e18e9f2510146464c978bbf9c 100644 (file)
@@ -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 <ssuominen@gentoo.org>
+  +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 <ssuominen@gentoo.org>
   -lxpolkit-0_p20110329.ebuild:
index a1ada4ecd616166b00897f6792dbc49a05870224..ab8a21c0cf8853905bff2bff6e4502c58ac0219a 100644 (file)
@@ -2,17 +2,18 @@
 Hash: SHA1
 
 DIST lxpolkit-0.1.0.tar.gz 204579 RMD160 823f75ffb2364f08309b2b36371de74d73c07d24 SHA1 8278cd59bc83a8104c1e2316facfbf9a1a6fe121 SHA256 511affca8f55adc67031fb3627b9889064c685e4b983737d8deecdf4f94f008b
+EBUILD lxpolkit-0.1.0-r1.ebuild 905 RMD160 f0156297dfb03440288d6241c26a54833f29c576 SHA1 93c024a3d974712d58ab0123060a6e0080468213 SHA256 1544a8389a615c3a7c35f39d59d5b5f1f87db316528cb52f6440c014e283045a
 EBUILD lxpolkit-0.1.0.ebuild 960 RMD160 0b98744b94338bdf65d959cdb55d45e569cac744 SHA1 bdfb2f438245c10ac21f0ac49155174ad59594e5 SHA256 c61bb2d130e6e1da5db719ffa07c5bcd6db308ed04be713ecb80498d6aacc0fa
-MISC ChangeLog 1410 RMD160 7880a33468c1dc3358f3f18146fbe466afb38089 SHA1 ba314b50653ca31eb48ea314f04ae4eada3118c0 SHA256 071a864bec2ceb91f50402d25052aa68f4d1a16a0e957d49e3db7d6fbc67c734
+MISC ChangeLog 1649 RMD160 86b4c994fe2504d0202417ea4748ed197f4971db SHA1 052536f9c352d02e29b0a9b3aaecbe99cf862d6e SHA256 ab2a4c633db1861f91528c96e376db6454e6cad5bb4820a12dd3dd1bd04ea35c
 MISC metadata.xml 159 RMD160 35036c133a5c9c7edccc3cdfed5789092f884048 SHA1 bdf1b7cc6ffbdd223b6f05aa072e857dfc981c4f SHA256 09574ccad15f69d5367ecbb1a491cd636fb88582f69987d2ec217109dfe8befb
 -----BEGIN PGP SIGNATURE-----
 Version: GnuPG v2.0.18 (GNU/Linux)
 
-iQEcBAEBAgAGBQJOner6AAoJEEdUh39IaPFN9hAIAJbMfldH6sSBnHAaASk6ruZU
-lNzS2NI8OxCFbyaNV6G3ofMvwyCH0BbRHAyopiqSQ8vTPMUBRl6xyVlVWO2DkQnU
-uSRo4ER5U6ZbNVzuezaALiFjNzTJ2eTm+9gBHvrSdO2erMpQGPmwmMSuVggoYgBl
-TGkXzSMI3J8uUsZ6oktmtY7vCygJ8zuyjtXAU/SRlFjNtebqxhw5BQlhkgmZBjYk
-7LDyoCaBjDsZ4UMGmy1hoRs5TOmtlT7w4i1GIkcOfpVAN1alrmZV2y4CghnLE9zl
-/hErMCAKFMC1LbRJZoorNI2JCnGKs5pzA2rFGFkxgBkX1O2NXyo0Y4idIN5sHCA=
-=wqd/
+iQEcBAEBAgAGBQJOne13AAoJEEdUh39IaPFNdl4H/09t+ISCvd0S2wlNFhKgajiQ
+0zw3Dxn5urV91CrxqPiqFc18JjD+mj6Jgn11K/CCSrgUitBXQJTNPIdKbbsKrKbf
+MpzT9EJrnW0hDsPpKbBRQqCpwfSodQDkqOzjv/+hdYzZxTIJL6cQhhxXdioU4qzf
+U3flC07Pgno4nG4f2Lbja0oN6dxBj+3KgxhuE7nMvVNB0sJM/Byr4BRkwiiuS9JN
+KkxS4VfXXM7o5kWd6qo7XgMa8qbg0RVzPtT1vww922h3E6WFVkqY8uJg470GPkoW
+oXJctPsbQmJXHYFpLPHCvf7bfbO9OXA3lBc8+O3WYszxMOSN0Qy1SYCcsnLZ4JQ=
+=tP4F
 -----END PGP SIGNATURE-----
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 (file)
index 0000000..bfadfab
--- /dev/null
@@ -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; }