summary refs log tree commit diff
path: root/dev-util/ccls
diff options
context:
space:
mode:
authorAzat Bahawi <azahi@teknik.io>2020-04-27 13:54:05 +0300
committerAzat Bahawi <azahi@teknik.io>2020-04-27 13:54:05 +0300
commit821797c276d79eac36f41c885af3db36c81701e2 (patch)
treee22ac3bc8b4a1a23b37641e182c201c3170016aa /dev-util/ccls
parentmedia-fonts/gohufont: Bump EAPI (diff)
dev-util/ccls: Add package
This package is already present in the main Gentoo tree but has a bug that
prevents it from being build on sys-devel/clang:10. By the time of
commiting this bug is still unresolved.
The descision was made to bring back this package to ricerlay for the
time being.
Diffstat (limited to '')
-rw-r--r--dev-util/ccls/ccls-9999.ebuild29
-rw-r--r--dev-util/ccls/metadata.xml8
2 files changed, 37 insertions, 0 deletions
diff --git a/dev-util/ccls/ccls-9999.ebuild b/dev-util/ccls/ccls-9999.ebuild
new file mode 100644
index 0000000..8589e0a
--- /dev/null
+++ b/dev-util/ccls/ccls-9999.ebuild
@@ -0,0 +1,29 @@
+# Copyright 2020 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+inherit cmake git-r3
+
+DESCRIPTION="C/C++/ObjC language server"
+HOMEPAGE="https://github.com/MaskRay/ccls"
+EGIT_REPO_URI="https://github.com/MaskRay/${PN}"
+
+LICENSE="Apache-2.0"
+SLOT="0"
+KEYWORDS=""
+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
+}
diff --git a/dev-util/ccls/metadata.xml b/dev-util/ccls/metadata.xml
new file mode 100644
index 0000000..843575d
--- /dev/null
+++ b/dev-util/ccls/metadata.xml
@@ -0,0 +1,8 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+    <maintainer type="person">
+        <email>azahi@teknik.io</email>
+        <name>azahi</name>
+    </maintainer>
+</pkgmetadata>

Consider giving Nix/NixOS a try! <3