summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMatt Turner <mattst88@gentoo.org>2020-12-24 17:47:32 -0500
committerMatt Turner <mattst88@gentoo.org>2020-12-24 17:48:53 -0500
commit97b15e1d2e18cb076811f94f58b99d85b28c1806 (patch)
tree3817922a19e3d118da4ec148f13cec607ab708b8 /dev-util/ccls
parentdev-lang/ghc: 8.10.3: add x86 binary built by Jack (diff)
downloadgentoo-97b15e1d2e18cb076811f94f58b99d85b28c1806.tar.gz
gentoo-97b15e1d2e18cb076811f94f58b99d85b28c1806.tar.bz2
gentoo-97b15e1d2e18cb076811f94f58b99d85b28c1806.zip
dev-util/ccls: Version bump to 0.20201219
Signed-off-by: Matt Turner <mattst88@gentoo.org>
Diffstat (limited to 'dev-util/ccls')
-rw-r--r--dev-util/ccls/Manifest1
-rw-r--r--dev-util/ccls/ccls-0.20201219.ebuild41
2 files changed, 42 insertions, 0 deletions
diff --git a/dev-util/ccls/Manifest b/dev-util/ccls/Manifest
index c9a06d0cf736..993f2f350cc5 100644
--- a/dev-util/ccls/Manifest
+++ b/dev-util/ccls/Manifest
@@ -1,2 +1,3 @@
DIST ccls-0.20190823.6.tar.gz 158158 BLAKE2B f2957b310f1bddc17a498191d315327adbeed72ecf3a60f2abde2fe1af8341246670d779807dcfaf98217f648d4fbe5914e4f64108cfe7a3f68e62b00e96dcaa SHA512 c6df96e304f5b7381c67eda4c1bd05873a85fb0d0983b3abcc507987a402860aa6660079a0e7b125f5cda22047da936239480aa0b604cd2598f84a4b9e9c3bdd
DIST ccls-0.20201025.tar.gz 160524 BLAKE2B e4819b465a862195921ac33bdfd844b1921887a4f7211b7d826b8e8e49394dcb598681ba57b5f8c2eb35d5910e3689619ecaaa1fe080d8088937b0eecc2487c9 SHA512 485a42671265a0f76e87f456c6c96137a2f17c60e0c1f45a1979342c9b9fd373303a017126c8bc4649b75225cec7bb3c759a78fecc42f7403e913c6121d1e948
+DIST ccls-0.20201219.tar.gz 160445 BLAKE2B 8d3f536ec13673e7251f09de992f24d88066787442940e3e0913ee201111e97c0d145d8a57b4fcdfeaa886fd5bf5e5be621ef54e307cd08cca8e516103a9c573 SHA512 fba8cc1ec50e55939b2deb167d9d32e946ccab4b322766191a787719b47a39e887afad26b7364dfb40c4a4f2522964af76fc7f51a5d84c10d2b0125f07a19c5e
diff --git a/dev-util/ccls/ccls-0.20201219.ebuild b/dev-util/ccls/ccls-0.20201219.ebuild
new file mode 100644
index 000000000000..ac5830184a31
--- /dev/null
+++ b/dev-util/ccls/ccls-0.20201219.ebuild
@@ -0,0 +1,41 @@
+# 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
+ -DCLANG_LINK_CLANG_DYLIB=1
+ )
+ cmake_src_configure
+}