# Copyright 1999-2018 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 EAPI=6 inherit cmake-utils llvm DESCRIPTION="C/C++ language server" HOMEPAGE="https://github.com/cquery-project/cquery" SRC_URI="https://github.com/cquery-project/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz" 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 }