aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHenri Gasc <gasc@eurecom.fr>2024-11-15 23:15:36 +0100
committerHenri Gasc <gasc@eurecom.fr>2024-11-15 23:16:23 +0100
commit30464f5d908c42afa9fb3940e3372b958063a7c5 (patch)
tree7aab4ef7f3a08ce45c2944787f19636834aecd9e /media-video
parentapp-crypt/certbot-dns-rfc2136: add 3.0.1 (diff)
downloadguru-30464f5d908c42afa9fb3940e3372b958063a7c5.tar.gz
guru-30464f5d908c42afa9fb3940e3372b958063a7c5.tar.bz2
guru-30464f5d908c42afa9fb3940e3372b958063a7c5.zip
media-video/wl-screenrec: Add correct clang version in BDEPEND
Closes: https://bugs.gentoo.org/943557 Signed-off-by: Henri Gasc <gasc@eurecom.fr>
Diffstat (limited to 'media-video')
-rw-r--r--media-video/wl-screenrec/wl-screenrec-0.1.6-r1.ebuild (renamed from media-video/wl-screenrec/wl-screenrec-0.1.6.ebuild)14
1 files changed, 12 insertions, 2 deletions
diff --git a/media-video/wl-screenrec/wl-screenrec-0.1.6.ebuild b/media-video/wl-screenrec/wl-screenrec-0.1.6-r1.ebuild
index 6177f11b3..98228fd56 100644
--- a/media-video/wl-screenrec/wl-screenrec-0.1.6.ebuild
+++ b/media-video/wl-screenrec/wl-screenrec-0.1.6-r1.ebuild
@@ -110,7 +110,10 @@ CRATES="
windows_x86_64_msvc@0.52.6
"
-inherit cargo shell-completion
+LLVM_COMPAT=( {16..19} )
+RUST_NEEDS_LLVM=1
+
+inherit cargo shell-completion llvm-r1
DESCRIPTION="High performance screen/audio recorder for wlroots"
HOMEPAGE="https://github.com/russelltg/wl-screenrec"
@@ -127,14 +130,21 @@ RESTRICT="test"
BDEPEND="
media-video/ffmpeg:=
- sys-devel/clang
x11-libs/libdrm
+ $(llvm_gen_dep '
+ sys-devel/clang:${LLVM_SLOT}
+ ')
"
RDEPEND="${BDEPEND}"
DEPEND="${RDEPEND}"
QA_FLAGS_IGNORED="usr/bin/${PN}"
+pkg_setup() {
+ llvm-r1_pkg_setup
+ rust_pkg_setup
+}
+
src_compile() {
cargo_src_compile