summaryrefslogtreecommitdiff
blob: fbd9eadd470797b1687eddb9bedf0bb3cd194602 (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
# Copyright 1999-2016 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Id$

EAPI=6

VIRTUALX_REQUIRED="test"
KDE_LINGUAS="bs cs da de el fi fr hu ja lt nl pl pt pt_BR ro ru sk sl sv uk"
inherit kde4-base

if [[ ${KDE_BUILD_TYPE} != live ]]; then
	KEYWORDS="~amd64 ~x86"
	SRC_URI="mirror://kde/unstable/${PN}/${PV}/src/${P}.tar.bz2"
else
	KEYWORDS=""
fi

DESCRIPTION="KDE contact person abstraction library"
HOMEPAGE="https://projects.kde.org/projects/playground/network/kpeople"

LICENSE="LGPL-2.1"
SLOT="4/4"
IUSE="debug examples semantic-desktop test"

RDEPEND="
	$(add_kdeapps_dep kdepimlibs)
	semantic-desktop? ( kde-frameworks/baloo:4 )
"
DEPEND="${RDEPEND}
	sys-devel/gettext
"

src_configure() {
	local mycmakeargs=(
		-DENABLE_EXAMPLES=$(usex examples)
		$(cmake-utils_use_find_package semantic-desktop Baloo)
	)

	kde4-base_src_configure
}