From a630c85b702d55a873b2c61f50a715f537dcf07f Mon Sep 17 00:00:00 2001 From: Matt Turner Date: Thu, 30 Aug 2018 09:44:52 -0700 Subject: [PATCH] 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 229179f667aa..dd53f7a46a23 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) -- 2.26.2