summaryrefslogtreecommitdiff
blob: 386360ca855652a1898eac4aafb444d707408ee2 (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
32
33
34
35
36
37
38
39
40
41
# Copyright 1999-2015 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/sys-auth/polkit-kde-agent/polkit-kde-agent-0.99.1.ebuild,v 1.2 2015/01/15 15:56:15 mrueg Exp $

EAPI=5

MY_PN="${PN}-1"
MY_P="${MY_PN}-${PV}"
EGIT_REPONAME="${MY_PN}"
KDE_LINGUAS="ar bs ca ca@valencia cs da de el en_GB eo es et fi fr
	ga gl hr hu is it ja kk km lt mai mr ms nb nds nl pa pl pt pt_BR
	ro ru sk sl sr sr@ijekavian sr@ijekavianlatin sr@latin sv th tr
	ug uk vi zh_CN zh_TW"
inherit kde4-base

DESCRIPTION="PolKit agent module for KDE"
HOMEPAGE="http://www.kde.org"
if [[ ${KDE_BUILD_TYPE} != live ]] ; then
	SRC_URI="https://launchpad.net/ubuntu/+archive/primary/+files/${MY_PN/-agent/}_${PV}.orig.tar.xz"
fi

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

DEPEND="
	>=sys-auth/polkit-qt-0.103.0
"
RDEPEND="${DEPEND}
	!sys-auth/polkit-kde
"

if [[ ${KDE_BUILD_TYPE} != live ]] ; then
	S=${WORKDIR}/${MY_P}
fi

src_prepare() {
	# Coinstallability with kde-plasma/polkit-kde-agent
	use minimal && rm -rf po
}