blob: 6567c9debf93e1d98c54db338e7de8c650d16743 (
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
|
# Distributed under the terms of the GNU General Public License v2
# Copyright 2018 Gluzskiy Alexandr <sss@sss.chaoslab.ru>
require github [ user=eranif ] cmake [ api=2 ]
HOMEPAGE="http://www.codelite.org"
SUMMARY="A Free, open source, cross platform C,C++,PHP and Node.js IDE"
DESCRIPTION=""
SLOT="0"
LICENCES="GPL-2"
MYOPTIONS="
clang [[ description = [ Use clang for codecompletion ] ]]
flex [[ description = [ Add support for sys-devel/flex ] ]]
pch [[ description = [ Use precompilled headers during build (speedup build a lot on single machine, may cause problems with distcc/icecc) ] ]]
ssh [[ description = [ Support ssh in scm modules via libssh ] ]]
webview [[ description = [ Use webview in wxGTK ] ]]
"
DEPENDENCIES="
build+run:
dev-db/sqlite:3
x11-libs/wxGTK:=[>=3]
clang? ( dev-lang/clang )
flex? ( sys-devel/flex )
ssh? ( net-libs/libssh )
webview? ( x11-libs/wxGTK[webkit] )
suggestion:
gnome-desktop/gnome-terminal [[ description = [ terminal for debugger wrapper ] ]]
kde/konsole [[ description = [ terminal for debugger wrapper ] ]]
xfce-extra/xfce4-terminal [[ description = [ terminal for debugger wrapper ] ]]
"
DEFAULT_SRC_PREPARE_PATCHES=(
"${FILES}"/cmake_find_clang.patch
)
CMAKE_SRC_CONFIGURE_OPTION_ENABLES=(
"clang CLANG"
"ssh SFTP"
)
CMAKE_SRC_CONFIGURE_OPTION_WITHS=(
"flex FLEX"
"pch PCH"
"webview WEBVIEW"
)
CMAKE_SRC_CONFIGURE_PARAMS=(
-DCL_PREFIX=/usr/$(exhost --target)
)
|