# Distributed under the terms of the GNU General Public License v2 # Copyright 2018 Gluzskiy Alexandr 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=( "ssh SFTP" ) CMAKE_SRC_CONFIGURE_OPTION_USES=( "clang CLANG" ) CMAKE_SRC_CONFIGURE_OPTION_WITHS=( "flex FLEX" "pch PCH" "ssh SFTP" "webview WEBVIEW" ) CMAKE_SRC_CONFIGURE_PARAMS=( -DCL_PREFIX=/usr/$(exhost --target) )