commit:     a630c85b702d55a873b2c61f50a715f537dcf07f
Author:     Matt Turner <mattst88 <AT> gentoo <DOT> org>
AuthorDate: Thu Aug 30 16:44:52 2018 +0000
Commit:     Matt Turner <mattst88 <AT> gentoo <DOT> org>
CommitDate: Thu Aug 30 17:49:40 2018 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a630c85b

media-libs/mesa: Allow USE=xa with VIDEO_CARDS=vmware

Closes: https://bugs.gentoo.org/664524

 media-libs/mesa/mesa-9999.ebuild | 8 +++++---
 1 file changed, 5 insertions(+), 3 deletions(-)

diff --git a/media-libs/mesa/mesa-9999.ebuild b/media-libs/mesa/mesa-9999.ebuild
index 229179f667a..dd53f7a46a2 100644
--- a/media-libs/mesa/mesa-9999.ebuild
+++ b/media-libs/mesa/mesa-9999.ebuild
@@ -281,8 +281,9 @@ pkg_pretend() {
 
        if use xa; then
                if ! use video_cards_freedreno &&
-                  ! use video_cards_nouveau; then
-                       ewarn "Ignoring USE=xa         since VIDEO_CARDS does 
not contain freedreno or nouveau"
+                  ! use video_cards_nouveau &&
+                  ! use video_cards_vmware; then
+                       ewarn "Ignoring USE=xa         since VIDEO_CARDS does 
not contain freedreno, nouveau, or vmware"
                fi
        fi
 
@@ -387,7 +388,8 @@ multilib_src_configure() {
                fi
 
                if use video_cards_freedreno ||
-                  use video_cards_nouveau; then
+                  use video_cards_nouveau ||
+                  use video_cards_vmware; then
                        emesonargs+=($(meson_use xa gallium-xa))
                else
                        emesonargs+=(-Dgallium-xa=false)

Reply via email to