summaryrefslogtreecommitdiff
path: root/dev-util/kdevplatform/kdevplatform-9999.ebuild
blob: 6be08f87361d557f989df07384dfd34bc64e4d36 (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
42
# Copyright 1999-2009 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: $

EAPI="2"

inherit kde4-base

DESCRIPTION="KDE development support libraries and apps"
HOMEPAGE="http://www.kde.org/"

LICENSE="GPL-2 LGPL-2"
KEYWORDS=""
SLOT="1"
# Moved to playground for now
# bazaar mercurial
IUSE="cvs debug git subversion"

DEPEND="
	subversion? ( >=dev-util/subversion-1.3 )
"
# Moved to playground for now
# bazaar? ( dev-util/bzr )
# mercurial? ( dev-util/mercurial )
RDEPEND="${DEPEND}
	!kdeprefix? ( !dev-util/kdevelop:3 )
	cvs? ( dev-util/cvs )
	git? ( dev-util/git )
"

# Moved to playground for now
# -DBUILD_bazaar=$(useq bazaar && echo ON || echo OFF)
# -DBUILD_mercurial=$(useq mercurial && echo ON || echo OFF)
src_configure() {
	mycmakeargs="${mycmakeargs}
		$(cmake-utils_use_build cvs cvs)
		$(cmake-utils_use_build git git)
		$(cmake-utils_use_build subversion subversion)
		$(cmake-utils_use_with subversion SubversionLibrary)"

	kde4-base_src_configure
}