summaryrefslogtreecommitdiff
blob: fa62e818d732480d6b85561748e489ea14933bbf (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
31
# Copyright 1999-2013 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/kde-misc/polkit-kde-kcmodules/polkit-kde-kcmodules-0.98_pre20120917-r1.ebuild,v 1.2 2013/01/11 13:09:45 ago Exp $

EAPI=4

inherit kde4-base

DESCRIPTION="PolKit agent module for KDE."
HOMEPAGE="http://www.kde.org"
SRC_URI="http://dev.gentoo.org/~johu/distfiles/${P}.tar.xz"

LICENSE="GPL-2"
KEYWORDS="~amd64 ~arm ~ppc ~x86"
SLOT="4"
IUSE="debug"

DEPEND="
	>=sys-auth/polkit-kde-agent-0.99
	>=sys-auth/polkit-qt-0.103
"
RDEPEND="${DEPEND}"

S="${WORKDIR}"

src_install() {
	local envdfn=99polkit-kde
	echo 'CONFIG_PROTECT="/usr/share/polkit-1/actions"' > "${T}"/${envdfn}
	doenvd "${T}"/${envdfn}
	kde4-base_src_install
}