# Copyright 1999-2018 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 EAPI=6 inherit cmake-utils llvm git-r3 DESCRIPTION="C/C++ language server" HOMEPAGE="https://github.com/cquery-project/cquery" # Tar does not contain 3rdparty files so we have to use git instead EGIT_REPO_URI="https://github.com/cquery-project/cquery.git" EGIT_COMMIT="v${PV}" LICENSE="MIT" SLOT="0" KEYWORDS="~amd64 ~x86" IUSE="" DEPEND="sys-devel/llvm:=" RDEPEND="${DEPEND}" BDEPEND=">=dev-util/cmake-3.1" src_configure() { local mycmakeargs=( -DSYSTEM_CLANG=ON -DCMAKE_PREFIX_PATH="$(get_llvm_prefix)" ) cmake-utils_src_configure }