diff options
-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 |