Gentoo Archives: gentoo-commits

From: Matt Turner <mattst88@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-util/ccls/
Date: Fri, 24 Apr 2020 22:19:52
Message-Id: 1587766567.97a90dff776eb9b4f723fd47f44154626df8d100.mattst88@gentoo
1 commit: 97a90dff776eb9b4f723fd47f44154626df8d100
2 Author: Matt Turner <mattst88 <AT> gentoo <DOT> org>
3 AuthorDate: Fri Apr 24 22:16:03 2020 +0000
4 Commit: Matt Turner <mattst88 <AT> gentoo <DOT> org>
5 CommitDate: Fri Apr 24 22:16:07 2020 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=97a90dff
7
8 dev-util/ccls: Version bump to 0.20190823.6
9
10 Closes: https://bugs.gentoo.org/712314
11 Closes: https://bugs.gentoo.org/714764
12 Closes: https://bugs.gentoo.org/719034
13 Signed-off-by: Matt Turner <mattst88 <AT> gentoo.org>
14
15 dev-util/ccls/Manifest | 1 +
16 dev-util/ccls/ccls-0.20190823.6.ebuild | 40 ++++++++++++++++++++++++++++++++++
17 2 files changed, 41 insertions(+)
18
19 diff --git a/dev-util/ccls/Manifest b/dev-util/ccls/Manifest
20 index 84534b3e8ac..62b02853fd4 100644
21 --- a/dev-util/ccls/Manifest
22 +++ b/dev-util/ccls/Manifest
23 @@ -1 +1,2 @@
24 DIST ccls-0.20190823.5.tar.gz 158118 BLAKE2B 09b4a985a284fe74adc408eb9e86094aaf4ebfaf50de3238a17299efabe4749326b8239356c2808ca500a44bef664b2a654e9b16c83c3ef04cd7cf90c56fe3ef SHA512 3c4ecac663eb463870153734fa6206701ede9d72bae3b6eae9c26adab2979ad79d2ac860c1ffb07f8cfcea4aa63afed90510734d91f830c99a86b3811959583f
25 +DIST ccls-0.20190823.6.tar.gz 158158 BLAKE2B f2957b310f1bddc17a498191d315327adbeed72ecf3a60f2abde2fe1af8341246670d779807dcfaf98217f648d4fbe5914e4f64108cfe7a3f68e62b00e96dcaa SHA512 c6df96e304f5b7381c67eda4c1bd05873a85fb0d0983b3abcc507987a402860aa6660079a0e7b125f5cda22047da936239480aa0b604cd2598f84a4b9e9c3bdd
26
27 diff --git a/dev-util/ccls/ccls-0.20190823.6.ebuild b/dev-util/ccls/ccls-0.20190823.6.ebuild
28 new file mode 100644
29 index 00000000000..d959663fa6f
30 --- /dev/null
31 +++ b/dev-util/ccls/ccls-0.20190823.6.ebuild
32 @@ -0,0 +1,40 @@
33 +# Copyright 2020 Gentoo Authors
34 +# Distributed under the terms of the GNU General Public License v2
35 +
36 +EAPI=7
37 +
38 +EGIT_REPO_URI="https://github.com/MaskRay/${PN}"
39 +
40 +if [[ ${PV} = 9999* ]]; then
41 + GIT_ECLASS="git-r3"
42 +fi
43 +
44 +inherit cmake ${GIT_ECLASS}
45 +
46 +DESCRIPTION="C/C++/ObjC language server"
47 +HOMEPAGE="https://github.com/MaskRay/ccls"
48 +
49 +if [[ ${PV} == *9999 ]] ; then
50 + SRC_URI=""
51 +else
52 + SRC_URI="https://github.com/MaskRay/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz"
53 + KEYWORDS="~amd64"
54 +fi
55 +
56 +LICENSE="Apache-2.0"
57 +SLOT="0"
58 +IUSE=""
59 +
60 +DEPEND="
61 + dev-libs/rapidjson
62 + sys-devel/clang:=
63 + sys-devel/llvm:=
64 +"
65 +RDEPEND="${DEPEND}"
66 +
67 +src_configure() {
68 + local mycmakeargs=(
69 + -DUSE_SYSTEM_RAPIDJSON=ON
70 + )
71 + cmake_src_configure
72 +}