diff options
author | Khue Nguyen <Z5483Y@gmail.com> | 2021-04-08 18:20:27 -0400 |
---|---|---|
committer | Matt Turner <mattst88@gentoo.org> | 2021-04-08 19:41:29 -0400 |
commit | cfc2ef060d29041b0c879ed2e528cef0f083c17c (patch) | |
tree | 771b619de59472bf5d8f6d5b615f3620ccffcbdc | |
parent | net-misc/electrum: Bump to 4.1.2 (diff) | |
download | gentoo-cfc2ef060d29041b0c879ed2e528cef0f083c17c.tar.gz gentoo-cfc2ef060d29041b0c879ed2e528cef0f083c17c.tar.bz2 gentoo-cfc2ef060d29041b0c879ed2e528cef0f083c17c.zip |
dev-util/ccls: bump to 0.20210330
Closes: https://github.com/gentoo/gentoo/pull/20310
Signed-off-by: Khue Nguyen <Z5483Y@gmail.com>
Signed-off-by: Matt Turner <mattst88@gentoo.org>
-rw-r--r-- | dev-util/ccls/Manifest | 1 | ||||
-rw-r--r-- | dev-util/ccls/ccls-0.20210330.ebuild | 42 |
2 files changed, 43 insertions, 0 deletions
diff --git a/dev-util/ccls/Manifest b/dev-util/ccls/Manifest index 883a7a2c3ab2..f118926cbdfc 100644 --- a/dev-util/ccls/Manifest +++ b/dev-util/ccls/Manifest @@ -1 +1,2 @@ DIST ccls-0.20201219.tar.gz 160445 BLAKE2B 8d3f536ec13673e7251f09de992f24d88066787442940e3e0913ee201111e97c0d145d8a57b4fcdfeaa886fd5bf5e5be621ef54e307cd08cca8e516103a9c573 SHA512 fba8cc1ec50e55939b2deb167d9d32e946ccab4b322766191a787719b47a39e887afad26b7364dfb40c4a4f2522964af76fc7f51a5d84c10d2b0125f07a19c5e +DIST ccls-0.20210330.tar.gz 160487 BLAKE2B f87539a5e726a8742552d811d741c379d62c146bed835c7fa8d32ab5eb1f609513f80051faf07bbb8e346f176c02ab3e54b3446d5e28dae744468f2209a9d037 SHA512 dd78c040c2a51d6b47f8dd2d8bdc0661111f26b9233ffeb41216254b1b0ad0f634190784e6b8c2d7b36475c13020356342d83a9f80047d7da75ce21ca8885b16 diff --git a/dev-util/ccls/ccls-0.20210330.ebuild b/dev-util/ccls/ccls-0.20210330.ebuild new file mode 100644 index 000000000000..377cc36c8068 --- /dev/null +++ b/dev-util/ccls/ccls-0.20210330.ebuild @@ -0,0 +1,42 @@ +# 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=( + -DCCLS_VERSION=${PV} + -DUSE_SYSTEM_RAPIDJSON=ON + -DCLANG_LINK_CLANG_DYLIB=1 + ) + cmake_src_configure +} |