From 29aabba0ea759c6a2864ff5631735b67ee38e5e0 Mon Sep 17 00:00:00 2001 From: V3n3RiX Date: Wed, 5 Feb 2020 18:44:56 +0000 Subject: gentoo resync : 05.02.2020 --- dev-util/ccls/ccls-9999.ebuild | 40 ++++++++++++++++++++++++++++++++++++++++ 1 file changed, 40 insertions(+) create mode 100644 dev-util/ccls/ccls-9999.ebuild (limited to 'dev-util/ccls/ccls-9999.ebuild') diff --git a/dev-util/ccls/ccls-9999.ebuild b/dev-util/ccls/ccls-9999.ebuild new file mode 100644 index 000000000000..d959663fa6f0 --- /dev/null +++ b/dev-util/ccls/ccls-9999.ebuild @@ -0,0 +1,40 @@ +# Copyright 2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +EGIT_REPO_URI="https://github.com/MaskRay/${PN}" + +if [[ ${PV} = 9999* ]]; then + GIT_ECLASS="git-r3" +fi + +inherit cmake ${GIT_ECLASS} + +DESCRIPTION="C/C++/ObjC language server" +HOMEPAGE="https://github.com/MaskRay/ccls" + +if [[ ${PV} == *9999 ]] ; then + SRC_URI="" +else + SRC_URI="https://github.com/MaskRay/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz" + KEYWORDS="~amd64" +fi + +LICENSE="Apache-2.0" +SLOT="0" +IUSE="" + +DEPEND=" + dev-libs/rapidjson + sys-devel/clang:= + sys-devel/llvm:= +" +RDEPEND="${DEPEND}" + +src_configure() { + local mycmakeargs=( + -DUSE_SYSTEM_RAPIDJSON=ON + ) + cmake_src_configure +} -- cgit v1.2.3