Gentoo Archives: gentoo-commits

From: Matt Turner <mattst88@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: media-libs/mesa/
Date: Sat, 30 Oct 2021 23:04:32
Message-Id: 1635635054.2ce2c4236ce68ff169cebe1de33bd0432135f38a.mattst88@gentoo
1 commit: 2ce2c4236ce68ff169cebe1de33bd0432135f38a
2 Author: Matt Turner <mattst88 <AT> gentoo <DOT> org>
3 AuthorDate: Sat Oct 30 22:06:17 2021 +0000
4 Commit: Matt Turner <mattst88 <AT> gentoo <DOT> org>
5 CommitDate: Sat Oct 30 23:04:14 2021 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=2ce2c423
7
8 media-libs/mesa: Enable turnip vulkan driver with VIDEO_CARDS=freedreno
9
10 Signed-off-by: Matt Turner <mattst88 <AT> gentoo.org>
11
12 media-libs/mesa/mesa-9999.ebuild | 6 ++++--
13 1 file changed, 4 insertions(+), 2 deletions(-)
14
15 diff --git a/media-libs/mesa/mesa-9999.ebuild b/media-libs/mesa/mesa-9999.ebuild
16 index 3d6bd95e308..5829adce48f 100644
17 --- a/media-libs/mesa/mesa-9999.ebuild
18 +++ b/media-libs/mesa/mesa-9999.ebuild
19 @@ -255,11 +255,12 @@ llvm_check_deps() {
20
21 pkg_pretend() {
22 if use vulkan; then
23 - if ! use video_cards_i965 &&
24 + if ! use video_cards_freedreno &&
25 + ! use video_cards_i965 &&
26 ! use video_cards_iris &&
27 ! use video_cards_radeonsi &&
28 ! use video_cards_v3d; then
29 - ewarn "Ignoring USE=vulkan since VIDEO_CARDS does not contain i965, iris, radeonsi, or v3d"
30 + ewarn "Ignoring USE=vulkan since VIDEO_CARDS does not contain freedreno, i965, iris, radeonsi, or v3d"
31 fi
32 fi
33
34 @@ -489,6 +490,7 @@ multilib_src_configure() {
35 fi
36
37 if use vulkan; then
38 + vulkan_enable video_cards_freedreno freedreno
39 vulkan_enable video_cards_i965 intel
40 vulkan_enable video_cards_iris intel
41 vulkan_enable video_cards_radeonsi amd