blob: 783a48fcf609445d6ffeb3c36b9f9fa61277b1bd (
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
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
|
# Copyright 1999-2016 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Id$
EAPI=6
EGIT_BRANCH="5.0"
KDE_HANDBOOK="forceoptional"
KDE_TEST="forceoptional-recursive"
VIRTUALX_REQUIRED="test"
inherit kde5
DESCRIPTION="Integrated Development Environment, supporting KF5/Qt, C/C++ and much more"
LICENSE="GPL-2 LGPL-2"
IUSE="+cxx +gdbui +ninja okteta +plasma +qmake qthelp"
[[ ${KDE_BUILD_TYPE} = release ]] && KEYWORDS="~amd64 ~x86"
COMMON_DEPEND="
$(add_frameworks_dep kcmutils)
$(add_frameworks_dep kcompletion)
$(add_frameworks_dep kconfig)
$(add_frameworks_dep kconfigwidgets)
$(add_frameworks_dep kcoreaddons)
$(add_frameworks_dep kcrash)
$(add_frameworks_dep kdeclarative)
$(add_frameworks_dep ki18n)
$(add_frameworks_dep kiconthemes)
$(add_frameworks_dep kio)
$(add_frameworks_dep kitemmodels)
$(add_frameworks_dep kitemviews)
$(add_frameworks_dep kjobwidgets)
$(add_frameworks_dep knewstuff)
$(add_frameworks_dep knotifyconfig)
$(add_frameworks_dep kparts)
$(add_frameworks_dep kservice)
$(add_frameworks_dep ktexteditor)
$(add_frameworks_dep kwidgetsaddons)
$(add_frameworks_dep kwindowsystem)
$(add_frameworks_dep kxmlgui)
$(add_frameworks_dep threadweaver)
$(add_qt_dep qtdbus)
$(add_qt_dep qtdeclarative)
$(add_qt_dep qtgui)
$(add_qt_dep qtnetwork)
$(add_qt_dep qtwebkit)
$(add_qt_dep qtwidgets)
$(add_qt_dep qtxml)
>=dev-util/kdevplatform-${PV}:5
x11-misc/shared-mime-info
cxx? ( >=sys-devel/clang-3.5.0 )
gdbui? ( $(add_plasma_dep libksysguard) )
okteta? ( $(add_kdeapps_dep okteta) )
plasma? (
$(add_frameworks_dep krunner)
$(add_frameworks_dep plasma)
)
qmake? ( dev-util/kdevelop-pg-qt:5 )
qthelp? ( $(add_qt_dep qthelp) )
"
DEPEND="${COMMON_DEPEND}
$(add_qt_dep qtconcurrent)
"
RDEPEND="${COMMON_DEPEND}
$(add_kdeapps_dep kapptemplate)
$(add_kdeapps_dep kio-extras)
>=sys-devel/gdb-7.0[python]
ninja? ( dev-util/ninja )
!dev-util/kdevelop:4
!dev-util/kdevelop-clang
!dev-util/kdevelop-qmake
!dev-util/kdevelop-qmljs
!<kde-apps/kapptemplate-16.04.0
"
RESTRICT+=" test"
# see bug 366471
PATCHES=(
"${FILESDIR}/${P}-ninja-optional.patch"
"${FILESDIR}/${P}-github-crash.patch"
)
src_configure() {
local mycmakeargs=(
-DLEGACY_CPP_SUPPORT=$(usex !cxx)
-DBUILD_cpp=OFF
$(cmake-utils_use_find_package gdbui KF5SysGuard)
-DBUILD_executeplasmoid=$(usex plasma)
$(cmake-utils_use_find_package plasma KF5Plasma)
-DBUILD_ninjabuilder=$(usex ninja)
$(cmake-utils_use_find_package okteta OktetaKastenControllers)
$(cmake-utils_use_find_package qmake KDevelop-PG-Qt)
-DBUILD_qthelp=$(usex qthelp)
)
kde5_src_configure
}
|