mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-11-22 10:57:07 -08:00
app-crypt/sequoia-sqv: use llvm.eclass for bindgen
Just like 1fd5803705. Could bump the crates
like gyakovlev said but we're about to do that for a bump anyway.
Closes: https://bugs.gentoo.org/902127
Signed-off-by: Sam James <sam@gentoo.org>
This commit is contained in:
@@ -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.
|
||||
|
||||
Reference in New Issue
Block a user