public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
From: "Henri Gasc" <gasc@eurecom.fr>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/proj/guru:dev commit in: media-video/wl-screenrec/
Date: Fri, 15 Nov 2024 22:16:54 +0000 (UTC)	[thread overview]
Message-ID: <1731708983.30464f5d908c42afa9fb3940e3372b958063a7c5.gasc@gentoo> (raw)

commit:     30464f5d908c42afa9fb3940e3372b958063a7c5
Author:     Henri Gasc <gasc <AT> eurecom <DOT> fr>
AuthorDate: Fri Nov 15 22:15:36 2024 +0000
Commit:     Henri Gasc <gasc <AT> eurecom <DOT> fr>
CommitDate: Fri Nov 15 22:16:23 2024 +0000
URL:        https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=30464f5d

media-video/wl-screenrec: Add correct clang version in BDEPEND

Closes: https://bugs.gentoo.org/943557
Signed-off-by: Henri Gasc <gasc <AT> eurecom.fr>

 ...screenrec-0.1.6.ebuild => wl-screenrec-0.1.6-r1.ebuild} | 14 ++++++++++++--
 1 file 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
similarity index 94%
rename from media-video/wl-screenrec/wl-screenrec-0.1.6.ebuild
rename to 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
 


             reply	other threads:[~2024-11-15 22:17 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2024-11-15 22:16 Henri Gasc [this message]
  -- strict thread matches above, loose matches on Subject: below --
2024-11-17 11:01 [gentoo-commits] repo/proj/guru:dev commit in: media-video/wl-screenrec/ Henri Gasc
2024-11-15 17:02 Henri Gasc
2024-11-15 16:37 Henri Gasc
2024-09-12 11:59 Henri Gasc
2024-03-10 17:45 Henri Gasc
2024-01-08 13:52 Henri Gasc
2023-12-28 20:41 Henri Gasc
2023-12-26 17:40 Henri Gasc

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1731708983.30464f5d908c42afa9fb3940e3372b958063a7c5.gasc@gentoo \
    --to=gasc@eurecom.fr \
    --cc=gentoo-commits@lists.gentoo.org \
    --cc=gentoo-dev@lists.gentoo.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox