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

EAPI=5

KDE_HANDBOOK="optional"
KMNAME="kde-runtime"
inherit kde4-meta

DESCRIPTION="The KDE Control Center"
KEYWORDS=" ~amd64 ~x86"
IUSE="debug"

RDEPEND="
	$(add_kdeapps_dep zeroconf-ioslave)
	|| ( $(add_kdebase_dep khotkeys '' 4.11) kde-plasma/khotkeys )
"

src_prepare() {
	kde4-meta_src_prepare
	if use handbook; then
		sed -i -e "/add_subdirectory(kcm_ssl)/d" doc/kcontrol/CMakeLists.txt || die
		sed -i -e "/add_subdirectory(trash)/d" doc/kcontrol/CMakeLists.txt || die
	fi
}