summaryrefslogtreecommitdiff
path: root/app-crypt/sequoia-sqv
diff options
context:
space:
mode:
Diffstat (limited to 'app-crypt/sequoia-sqv')
-rw-r--r--app-crypt/sequoia-sqv/Manifest2
-rw-r--r--app-crypt/sequoia-sqv/sequoia-sqv-1.1.0.ebuild14
2 files changed, 12 insertions, 4 deletions
diff --git a/app-crypt/sequoia-sqv/Manifest b/app-crypt/sequoia-sqv/Manifest
index df34a6b17b28..6cbb8e1419fc 100644
--- a/app-crypt/sequoia-sqv/Manifest
+++ b/app-crypt/sequoia-sqv/Manifest
@@ -148,5 +148,5 @@ DIST winapi-x86_64-pc-windows-gnu-0.4.0.crate 2947998 BLAKE2B 2ad1ea8b5fa07d544e
DIST xxhash-rust-0.8.2.crate 16721 BLAKE2B 898102bd731013bc18557e5087aa03e8df362004d658705af7c931964e4f436862c8aff53e135e2777c3234f54df36f7b3227715d17e3bd80d17b9644292c916 SHA512 083afaad3e36e18b370eb7ca457289c9aa37c806f45615d65a83f7f6f74ca619181bae3d3bef315fd1625ee23706490606ea61dbe628714940bb53e3a4b85762
DIST zeroize-1.4.3.crate 15573 BLAKE2B 0ebab6e501bcf32c19ea88fdf038c97468b504c5035b2f2477372326e114231e5c959203b2bc897228a05b19ee510f1264d4fad5e33c5539b5c8bdaaff28889e SHA512 c4f3f10790176925fb90ee6325a50c710ff220bb9d37d424e28e8d8de5f801f2ef5fd687f0b720c471ac9e99e02e26011afcc4ecdd10a8229f70bc71a3815002
DIST zeroize_derive-1.2.2.crate 9147 BLAKE2B b270762bba183790042155f4e0d5ba740cff3d8c5d5be60bce37eae3266e62b0530f23b529510d67434506cc87bc7eea1f37710160caa8735823cdb70f4e9f7e SHA512 b8e00d3a1b1fafa705c40de9b0a60059f6f3b921c022360f1248e50ac6b29cced779bd71b74eea0df5afb991712a13906c73f5892ccdf7ffe79b323e103b8712
-EBUILD sequoia-sqv-1.1.0.ebuild 3987 BLAKE2B 01599dc4c0a1e49c812a8efcba4dfd2379ad560295a6133b0f55d8fd79fac30d808f3fbaad1c234b77634b5984dd964fa4f39581e0d8389050faba07cdc3266b SHA512 aab7ee3bc72c557f1c150ff8f7b0a49b47205364948a96cd3489b15f2c9693b2c625afad00da44317081ed4ee134fc2b0a506cf9376e5e4f23e6e53fc1090679
+EBUILD sequoia-sqv-1.1.0.ebuild 4189 BLAKE2B e67feb32b34b708e0af9cd51a4f051f75702e8be85ad242643595b8847d627c124862d3cebd93a7a18670574961275f269a4b071c0934f94a6abf55ce1982f58 SHA512 5db1c7475022099cbd50d104dea0b98ee2b6c5e9c865280f0404f7378b2b3802c4b50583b9850ccce644ea3318580e037d4678b59b83679757a6c2c9bfdf1b9b
MISC metadata.xml 335 BLAKE2B c61579697fece5fe88e3513324e2e711b83080a54559b3d42191f686da21a29187b699cd0e8117153cf3c4c58bfd4e5f3e6f3749db74e52208e65e7e6cb606aa SHA512 fc216b2b58fd707a51fe5cd0e73084edd5045e2af0065fa1fd6d2cf06d37f63e283a00e232182fc64f718a2a9cd2944c8bbb5832979e48f7f0c08ae90601c076
diff --git a/app-crypt/sequoia-sqv/sequoia-sqv-1.1.0.ebuild b/app-crypt/sequoia-sqv/sequoia-sqv-1.1.0.ebuild
index 6d67fc76f141..9fe98046e2db 100644
--- a/app-crypt/sequoia-sqv/sequoia-sqv-1.1.0.ebuild
+++ b/app-crypt/sequoia-sqv/sequoia-sqv-1.1.0.ebuild
@@ -1,4 +1,4 @@
-# Copyright 2021-2022 Gentoo Authors
+# Copyright 2021-2023 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
@@ -155,7 +155,10 @@ CRATES="
zeroize_derive-1.2.2
"
-inherit bash-completion-r1 cargo
+# TODO: Should be able to try 16 in next release after 1.1.0
+LLVM_MAX_SLOT=15
+
+inherit bash-completion-r1 cargo llvm
DESCRIPTION="A simple OpenPGP signature verification program"
HOMEPAGE="https://sequoia-pgp.org/ https://gitlab.com/sequoia-pgp/sequoia"
@@ -176,15 +179,20 @@ COMMON_DEPEND="
"
DEPEND="
- sys-devel/clang
${COMMON_DEPEND}
"
RDEPEND="${COMMON_DEPEND}"
+# Needed for bindgen
BDEPEND="
+ <sys-devel/clang-$((${LLVM_MAX_SLOT} + 1))
sys-apps/help2man
virtual/pkgconfig
"
+llvm_check_deps() {
+ has_version -b "sys-devel/clang:${LLVM_SLOT}"
+}
+
src_compile() {
# Setting CARGO_TARGET_DIR is required to have the build system
# create the bash and zsh completion files.