aboutsummaryrefslogtreecommitdiff
path: root/gui-wm
diff options
context:
space:
mode:
authorTakuya Wakazono <pastalian46@gmail.com>2024-11-09 19:50:05 +0900
committerTakuya Wakazono <pastalian46@gmail.com>2024-11-09 19:50:05 +0900
commit93a88e5acde471e714d2dc57cd6b737d00a6da79 (patch)
treeb68e801d06d01975145bb2cf3a6fedfbac4c0249 /gui-wm
parentgames-engines/fs2_open: drop 23.2.1-r1 (diff)
downloadguru-93a88e5acde471e714d2dc57cd6b737d00a6da79.tar.gz
guru-93a88e5acde471e714d2dc57cd6b737d00a6da79.tar.bz2
guru-93a88e5acde471e714d2dc57cd6b737d00a6da79.zip
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>
Diffstat (limited to 'gui-wm')
-rw-r--r--gui-wm/niri/niri-0.1.9-r1.ebuild (renamed from gui-wm/niri/niri-0.1.9.ebuild)9
1 files changed, 7 insertions, 2 deletions
diff --git a/gui-wm/niri/niri-0.1.9.ebuild b/gui-wm/niri/niri-0.1.9-r1.ebuild
index 9cb46cfc1..b9adbab1e 100644
--- a/gui-wm/niri/niri-0.1.9.ebuild
+++ b/gui-wm/niri/niri-0.1.9-r1.ebuild
@@ -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