blob: db5d6c84b9094f61b0625dafa49dd4c9cca193a5 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
|
# Copyright 1999-2014 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-r2.ebuild,v 1.1 2014/02/28 14:15:50 ssuominen Exp $
EAPI=5
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
sys-devel/gettext
virtual/pkgconfig"
src_prepare() {
local f=data/lxpolkit.desktop.in.in
sed -i -e '/^NotShowIn/s:=.*:=MATE;KDE;:' ${f} || die
echo 'AutostartCondition=GNOME3 if-session gnome-fallback' >> ${f}
}
src_configure() { econf --enable-gtk3; }
|