From: Matt Turner Date: Thu, 30 Aug 2018 16:44:52 +0000 (-0700) Subject: media-libs/mesa: Allow USE=xa with VIDEO_CARDS=vmware X-Git-Url: http://git.tremily.us/gitweb.cgi?a=commitdiff_plain;h=a630c85b702d55a873b2c61f50a715f537dcf07f;p=gentoo.git media-libs/mesa: Allow USE=xa with VIDEO_CARDS=vmware Closes: https://bugs.gentoo.org/664524 --- 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)