blob: b2de4a727f9f0de51d82719cafe0539f6ecc7fb1 (
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
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
|
# Copyright 1999-2010 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/dev-util/kdevplatform/kdevplatform-1.0.0.ebuild,v 1.1 2010/04/29 05:05:57 reavertm Exp $
EAPI="2"
if [[ ${PV} == *9999* ]]; then
KDEVELOP_PV="9999"
else
KDE_LINGUAS="ca ca@valencia da de en_GB es et fr gl it nds pt pt_BR sv tr uk zh_CN zh_TW"
inherit versionator
KDEVELOP_PV="$(($(get_major_version)+3)).$(get_after_major_version)"
fi
KMNAME="extragear/sdk"
inherit kde4-base
DESCRIPTION="KDE development support libraries and apps"
HOMEPAGE="http://www.kdevelop.org/"
[[ ${PV} != *9999* ]] && SRC_URI="mirror://kde/stable/kdevelop/${KDEVELOP_PV}/src/${P}.tar.bz2"
LICENSE="GPL-2 LGPL-2"
KEYWORDS="~amd64 ~hppa ~ppc ~ppc64 ~x86"
SLOT="4"
# Moved to playground for now
# bazaar git kompare mercurial
IUSE="cvs debug subversion"
# Moved to playground for now
# bazaar? ( dev-vcs/bzr )
# kompare? ( >=kde-base/kompare-${KDE_MINIMAL} )
# mercurial? ( dev-vcs/mercurial )
# git? ( dev-vcs/git )
# block - some plugins moved to kdevplatform from kdevelop
DEPEND="
dev-libs/boost
cvs? ( dev-util/cvs )
subversion? ( >=dev-util/subversion-1.3 )
"
RDEPEND="${DEPEND}
!<dev-util/kdevelop-${KDEVELOP_PV}
"
src_prepare() {
kde4-base_src_prepare
# FindKDevPlatform.cmake is installed by kdelibs
sed -i \
-e '/cmakeFiles/s/^/#DONOTINSTALL/' \
cmake/modules/CMakeLists.txt || die
}
# Moved to playground for now
# $(cmake-utils_use_build bazaar)
# $(cmake-utils_use_build git)
# $(cmake-utils_use_with kompare)
# $(cmake-utils_use_build mercurial)
src_configure() {
mycmakeargs=(
$(cmake-utils_use_build cvs)
$(cmake-utils_use_build subversion)
$(cmake-utils_use_with subversion SubversionLibrary)
)
kde4-base_src_configure
}
|