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: Thu, 30 Aug 2018 17:50:21
Message-Id: 1535651380.a630c85b702d55a873b2c61f50a715f537dcf07f.mattst88@gentoo
1 commit: a630c85b702d55a873b2c61f50a715f537dcf07f
2 Author: Matt Turner <mattst88 <AT> gentoo <DOT> org>
3 AuthorDate: Thu Aug 30 16:44:52 2018 +0000
4 Commit: Matt Turner <mattst88 <AT> gentoo <DOT> org>
5 CommitDate: Thu Aug 30 17:49:40 2018 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a630c85b
7
8 media-libs/mesa: Allow USE=xa with VIDEO_CARDS=vmware
9
10 Closes: https://bugs.gentoo.org/664524
11
12 media-libs/mesa/mesa-9999.ebuild | 8 +++++---
13 1 file changed, 5 insertions(+), 3 deletions(-)
14
15 diff --git a/media-libs/mesa/mesa-9999.ebuild b/media-libs/mesa/mesa-9999.ebuild
16 index 229179f667a..dd53f7a46a2 100644
17 --- a/media-libs/mesa/mesa-9999.ebuild
18 +++ b/media-libs/mesa/mesa-9999.ebuild
19 @@ -281,8 +281,9 @@ pkg_pretend() {
20
21 if use xa; then
22 if ! use video_cards_freedreno &&
23 - ! use video_cards_nouveau; then
24 - ewarn "Ignoring USE=xa since VIDEO_CARDS does not contain freedreno or nouveau"
25 + ! use video_cards_nouveau &&
26 + ! use video_cards_vmware; then
27 + ewarn "Ignoring USE=xa since VIDEO_CARDS does not contain freedreno, nouveau, or vmware"
28 fi
29 fi
30
31 @@ -387,7 +388,8 @@ multilib_src_configure() {
32 fi
33
34 if use video_cards_freedreno ||
35 - use video_cards_nouveau; then
36 + use video_cards_nouveau ||
37 + use video_cards_vmware; then
38 emesonargs+=($(meson_use xa gallium-xa))
39 else
40 emesonargs+=(-Dgallium-xa=false)