blob: e49cb64c7d7d1638d695e5b00e48cd285b4c0709 (
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
|
# Copyright 1999-2009 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: $
EAPI="2"
inherit kde4-base
DESCRIPTION="Integrated Development Environment for Unix, supporting KDE/Qt, C/C++ and many other languages."
HOMEPAGE="http://www.kde.org/"
SRC_URI="mirror://kde/unstable/${PN}/${PV}/src/${P}.tar.bz2"
LICENSE="GPL-2 LGPL-2"
KEYWORDS="~amd64 ~x86"
SLOT="4"
IUSE="+cmake +cxx debug +qmake"
DEPEND="
>=dev-util/kdevplatform-0.9.85[kdeprefix=]
"
RDEPEND="${DEPEND}
>=kde-base/kapptemplate-${KDE_MINIMAL}[kdeprefix=]
"
src_configure() {
mycmakeargs="${mycmakeargs}
-DBUILD_cmake=$(useq cmake && echo On || echo Off)
-DBUILD_cmakebuilder=$(useq cmake && echo On || echo Off)
-DBUILD_qmake=$(useq qmake && echo On || echo Off)
-DBUILD_qmakebuilder=$(useq qmake && echo On || echo Off)
-DBUILD_cpp=$(useq cxx && echo On || echo Off)"
kde4-base_src_configure
}
|