# Copyright 1999-2015 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 # $Id$ EAPI="6" WX_GTK_VER="3.0" inherit cmake-utils git-r3 wxwidgets DESCRIPTION="A Free, open source, cross platform C,C++,PHP and Node.js IDE" HOMEPAGE="http://www.codelite.org" EGIT_REPO_URI="git://github.com/eranif/${PN}.git" LICENSE="GPL-2" SLOT="0" KEYWORDS="" IUSE="clang flex mysql pch sftp webview" DEPEND=" dev-db/sqlite:* net-libs/libssh x11-libs/wxGTK:3.0 mysql? ( virtual/mysql ) " RDEPEND="${DEPEND}" PATCHES=( "${FILESDIR}/c++11.patch" ) #src_prepare() { # epatch "${FILESDIR}/codelite_dont_strip.patch" #} src_configure() { local mycmakeargs=( -DENABLE_CLANG="$(usex clang) -DWITH_FLEX="$(usex flex) -DWITH_MYSQL="$(usex mysql) -DWITH_PCH="$(usex pch) -DENABLE_SFTP="$(usex sftp) -DWITH_WEBVIEW="$(usex webview) ) cmake-utils_src_configure }