mirror of
https://github.com/gentoo-mirror/guru.git
synced 2025-04-18 23:39:00 -04:00
gui-wm/niri: use slotted rust
Bindgen doesn't care about the Rust/LLVM version, so RUST_NEEDS_LLVM shouldn't be necessary. Signed-off-by: Takuya Wakazono <pastalian46@gmail.com>
This commit is contained in:
parent
9c46b04298
commit
93a88e5acd
@ -4,8 +4,9 @@
|
||||
EAPI=8
|
||||
|
||||
LLVM_COMPAT=( {16..18} )
|
||||
RUST_MIN_VER="1.77.0"
|
||||
|
||||
inherit cargo llvm-r1 systemd
|
||||
inherit llvm-r1 cargo systemd
|
||||
|
||||
DESCRIPTION="Scrollable-tiling Wayland compositor"
|
||||
HOMEPAGE="https://github.com/YaLTeR/niri"
|
||||
@ -47,7 +48,6 @@ DEPEND="
|
||||
RDEPEND="${DEPEND}"
|
||||
# Clang is required for bindgen
|
||||
BDEPEND="
|
||||
>=virtual/rust-1.77.0
|
||||
screencast? ( $(llvm_gen_dep 'sys-devel/clang:${LLVM_SLOT}') )
|
||||
"
|
||||
|
||||
@ -55,6 +55,11 @@ ECARGO_VENDOR="${WORKDIR}/vendor"
|
||||
|
||||
QA_FLAGS_IGNORED="usr/bin/niri"
|
||||
|
||||
pkg_setup() {
|
||||
llvm-r1_pkg_setup
|
||||
rust_pkg_setup
|
||||
}
|
||||
|
||||
src_prepare() {
|
||||
sed -i 's/git = "[^ ]*"/version = "*"/' Cargo.toml || die
|
||||
default
|
Loading…
x
Reference in New Issue
Block a user