media-video/wl-screenrec: update eclass, LLVM_COMPAT

update LLVM_COMPAT to support upto 22

change the deprecated llvm-r1 eclass to llvm-r2

Signed-off-by: ingenarel (NeoJesus) <ingenarel_neojesus@disroot.org>
Part-of: https://github.com/gentoo/guru/pull/444
Closes: https://github.com/gentoo/guru/pull/444
This commit is contained in:
ingenarel (NeoJesus)
2026-03-03 16:40:53 +06:00
parent 411c3c319a
commit d44984da29

View File

@@ -132,10 +132,9 @@ declare -A GIT_CRATES=(
)
RUST_MIN_VER="1.85.0"
LLVM_COMPAT=( {19..20} )
RUST_NEEDS_LLVM=1
LLVM_COMPAT=( {19..22} )
inherit cargo shell-completion llvm-r1
inherit cargo shell-completion llvm-r2
DESCRIPTION="High performance screen/audio recorder for wlroots"
HOMEPAGE="https://github.com/russelltg/wl-screenrec"
@@ -168,7 +167,7 @@ DEPEND="
QA_FLAGS_IGNORED="usr/bin/${PN}"
pkg_setup() {
llvm-r1_pkg_setup
llvm-r2_pkg_setup
rust_pkg_setup
}