mirror of
https://github.com/gentoo-mirror/guru.git
synced 2026-07-10 15:45:15 -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:
@@ -4,8 +4,9 @@
|
|||||||
EAPI=8
|
EAPI=8
|
||||||
|
|
||||||
LLVM_COMPAT=( {16..18} )
|
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"
|
DESCRIPTION="Scrollable-tiling Wayland compositor"
|
||||||
HOMEPAGE="https://github.com/YaLTeR/niri"
|
HOMEPAGE="https://github.com/YaLTeR/niri"
|
||||||
@@ -47,7 +48,6 @@ DEPEND="
|
|||||||
RDEPEND="${DEPEND}"
|
RDEPEND="${DEPEND}"
|
||||||
# Clang is required for bindgen
|
# Clang is required for bindgen
|
||||||
BDEPEND="
|
BDEPEND="
|
||||||
>=virtual/rust-1.77.0
|
|
||||||
screencast? ( $(llvm_gen_dep 'sys-devel/clang:${LLVM_SLOT}') )
|
screencast? ( $(llvm_gen_dep 'sys-devel/clang:${LLVM_SLOT}') )
|
||||||
"
|
"
|
||||||
|
|
||||||
@@ -55,6 +55,11 @@ ECARGO_VENDOR="${WORKDIR}/vendor"
|
|||||||
|
|
||||||
QA_FLAGS_IGNORED="usr/bin/niri"
|
QA_FLAGS_IGNORED="usr/bin/niri"
|
||||||
|
|
||||||
|
pkg_setup() {
|
||||||
|
llvm-r1_pkg_setup
|
||||||
|
rust_pkg_setup
|
||||||
|
}
|
||||||
|
|
||||||
src_prepare() {
|
src_prepare() {
|
||||||
sed -i 's/git = "[^ ]*"/version = "*"/' Cargo.toml || die
|
sed -i 's/git = "[^ ]*"/version = "*"/' Cargo.toml || die
|
||||||
default
|
default
|
||||||
Reference in New Issue
Block a user