summaryrefslogtreecommitdiff
path: root/dev-util
diff options
context:
space:
mode:
Diffstat (limited to 'dev-util')
-rw-r--r--dev-util/Manifest.gzbin69126 -> 69135 bytes
-rw-r--r--dev-util/ccls/Manifest4
-rw-r--r--dev-util/ccls/ccls-0.20230717.ebuild46
-rw-r--r--dev-util/ccls/ccls-9999.ebuild4
4 files changed, 51 insertions, 3 deletions
diff --git a/dev-util/Manifest.gz b/dev-util/Manifest.gz
index a4221a48165c..3b1dc6eddaf0 100644
--- a/dev-util/Manifest.gz
+++ b/dev-util/Manifest.gz
Binary files differ
diff --git a/dev-util/ccls/Manifest b/dev-util/ccls/Manifest
index 4f44770cfb39..84b9ed27041a 100644
--- a/dev-util/ccls/Manifest
+++ b/dev-util/ccls/Manifest
@@ -1,4 +1,6 @@
DIST ccls-0.20220729.tar.gz 160861 BLAKE2B db096f0f1e1d56967086e2711af63f4882e77128236b3d1af3cc107a3b320aa29bcacd4b21769904727261b5608bb2c8409dbb0f3b0d9b0907a94f3bb7c966c8 SHA512 63cb4eace1700118f9c8c4d2f4be40aac948f9c658485c8e3f49dcc863ce7bdd8b6de810b95ec8f46c943b65c8aa5fa643b110a6b981a2e43f57569d897d36c1
+DIST ccls-0.20230717.tar.gz 161869 BLAKE2B fea3d484027d6b1493627e1bd3ea8f031b3486db7d41c34b94715a0abee342f0d87f85226ac567736013a71135325b3c9d13f6fe29b73db1b8dbc87586c16e1b SHA512 f0fe31877151b76cabc17aa2ef8d3d87038805fbe43ca807e2e0824e90d952b1f5767f151788480aedf58e2ff569b72978fceeaca6b741b00c643d73f6afb445
EBUILD ccls-0.20220729-r1.ebuild 927 BLAKE2B bca9cf80e84ddfd37b0d51136b4e684a8118bfd1bb2824c00dbc56aeeff7ab93d7dce85ff537c722ebabe9bb53fac5fa2cee034ee946e7b2f8a80dd5dfaef4d9 SHA512 120629d1859d5d29c04fff073280c34c115aa7e38b4df3a923b046ba4608fd5b0707a109bc865dbd05db6a4b6b01cd2b5cd8de5e50d61167e5efff5040912b8f
-EBUILD ccls-9999.ebuild 914 BLAKE2B 0b446493e7068a4a333bd88bb79bd909cb161283fae626f63f578a7897b0dfb30594f60d19ba6462784128f60eba500f870ade5ddc6b7667b2f94df8c35972c8 SHA512 2268f0cf76ed6188984b87d58fcffcd6b7e0f57ec5506b3da1a558c88310f660bafc183ca02e9de454da11137686ad4665f43601d62b39a70be97d903ac95a07
+EBUILD ccls-0.20230717.ebuild 928 BLAKE2B f232d61e41fb1038400fed8e68b2a5884979e6fc74ee53fc48b02bff99fc1b67f63a63eedc90dccd967f6faeb5fcee68ece31513a7298ee42a19dff1fc6199cd SHA512 604c97ee8ef11bf7b0461d78b90f43d961f820d50887d4f27861e6fb9b15fedcb63c49d24e8e28bbc98df5322941143527d4c99d49f21cbaf5006c9f5ee6d6e9
+EBUILD ccls-9999.ebuild 928 BLAKE2B f232d61e41fb1038400fed8e68b2a5884979e6fc74ee53fc48b02bff99fc1b67f63a63eedc90dccd967f6faeb5fcee68ece31513a7298ee42a19dff1fc6199cd SHA512 604c97ee8ef11bf7b0461d78b90f43d961f820d50887d4f27861e6fb9b15fedcb63c49d24e8e28bbc98df5322941143527d4c99d49f21cbaf5006c9f5ee6d6e9
MISC metadata.xml 324 BLAKE2B 83e4ab413a926db1ddf998ec8e5566a9a58fc2b3472b9d137356ebf3c08d4ca888a5252baeb0e10f298e31eca4bb4ea1a9b67c752590807be3ce27f8b3742327 SHA512 00dfaff2972f7ea5df02c207b8211475acafcbba5bef4c5ce3ceb09924db2bb3f009e155aab43866903e7442008d058261f07464f43f9295a4d1be6ed0cfec02
diff --git a/dev-util/ccls/ccls-0.20230717.ebuild b/dev-util/ccls/ccls-0.20230717.ebuild
new file mode 100644
index 000000000000..c6b39f910fd1
--- /dev/null
+++ b/dev-util/ccls/ccls-0.20230717.ebuild
@@ -0,0 +1,46 @@
+# Copyright 2020-2023 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+EGIT_REPO_URI="https://github.com/MaskRay/${PN}"
+
+if [[ ${PV} = 9999* ]]; then
+ GIT_ECLASS="git-r3"
+ LLVM_MAX_SLOT=16
+else
+ LLVM_MAX_SLOT=16
+fi
+
+inherit cmake llvm ${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 ~arm64 ~riscv"
+fi
+
+LICENSE="Apache-2.0"
+SLOT="0"
+IUSE=""
+
+# We only depend on Clang because of a quirk in how dependencies work
+# See comment in llvm.eclass docs
+DEPEND="
+ dev-libs/rapidjson
+ <sys-devel/clang-$((${LLVM_MAX_SLOT} + 1)):=
+"
+RDEPEND="${DEPEND}"
+
+src_configure() {
+ local mycmakeargs=(
+ -DCCLS_VERSION=${PV}
+ -DUSE_SYSTEM_RAPIDJSON=ON
+ -DCLANG_LINK_CLANG_DYLIB=1
+ )
+ cmake_src_configure
+}
diff --git a/dev-util/ccls/ccls-9999.ebuild b/dev-util/ccls/ccls-9999.ebuild
index 6073146e6b16..c6b39f910fd1 100644
--- a/dev-util/ccls/ccls-9999.ebuild
+++ b/dev-util/ccls/ccls-9999.ebuild
@@ -1,7 +1,7 @@
# Copyright 2020-2023 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
-EAPI=7
+EAPI=8
EGIT_REPO_URI="https://github.com/MaskRay/${PN}"
@@ -21,7 +21,7 @@ if [[ ${PV} == *9999 ]] ; then
SRC_URI=""
else
SRC_URI="https://github.com/MaskRay/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz"
- KEYWORDS="~amd64"
+ KEYWORDS="~amd64 ~arm64 ~riscv"
fi
LICENSE="Apache-2.0"