commit:     5b8579dc9bf057de5bf0c150a68432d0213d036d
Author:     Paul Zander <negril.nx+gentoo <AT> gmail <DOT> com>
AuthorDate: Mon May 13 14:53:43 2024 +0000
Commit:     Matt Turner <mattst88 <AT> gentoo <DOT> org>
CommitDate: Wed Jun  5 20:01:31 2024 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=5b8579dc

media-libs/mesa: update USE=xa dependencies

Update vaapi/gallium-xa to match meson.build.
- add intel

https://gitlab.freedesktop.org/mesa/mesa/-/blob/mesa-24.1.0-r1/meson.build?ref_type=tags#L735

Signed-off-by: Paul Zander <negril.nx+gentoo <AT> gmail.com>
Signed-off-by: Matt Turner <mattst88 <AT> gentoo.org>

 media-libs/mesa/mesa-24.1.0-r1.ebuild | 4 +++-
 media-libs/mesa/mesa-9999.ebuild      | 4 +++-
 2 files changed, 6 insertions(+), 2 deletions(-)

diff --git a/media-libs/mesa/mesa-24.1.0-r1.ebuild 
b/media-libs/mesa/mesa-24.1.0-r1.ebuild
index 1e0717ab75a1..193388098fd4 100644
--- a/media-libs/mesa/mesa-24.1.0-r1.ebuild
+++ b/media-libs/mesa/mesa-24.1.0-r1.ebuild
@@ -228,9 +228,10 @@ pkg_pretend() {
 
        if use xa; then
                if ! use video_cards_freedreno &&
+                  ! use video_cards_intel &&
                   ! use video_cards_nouveau &&
                   ! use video_cards_vmware; then
-                       ewarn "Ignoring USE=xa         since VIDEO_CARDS does 
not contain freedreno, nouveau, or vmware"
+                       ewarn "Ignoring USE=xa         since VIDEO_CARDS does 
not contain freedreno, intel, nouveau, or vmware"
                fi
        fi
 
@@ -347,6 +348,7 @@ multilib_src_configure() {
        fi
 
        if use video_cards_freedreno ||
+          use video_cards_intel ||
           use video_cards_nouveau ||
           use video_cards_vmware; then
                emesonargs+=($(meson_feature xa gallium-xa))

diff --git a/media-libs/mesa/mesa-9999.ebuild b/media-libs/mesa/mesa-9999.ebuild
index ac812afd990b..2ecab1a2a381 100644
--- a/media-libs/mesa/mesa-9999.ebuild
+++ b/media-libs/mesa/mesa-9999.ebuild
@@ -225,9 +225,10 @@ pkg_pretend() {
 
        if use xa; then
                if ! use video_cards_freedreno &&
+                  ! use video_cards_intel &&
                   ! use video_cards_nouveau &&
                   ! use video_cards_vmware; then
-                       ewarn "Ignoring USE=xa         since VIDEO_CARDS does 
not contain freedreno, nouveau, or vmware"
+                       ewarn "Ignoring USE=xa         since VIDEO_CARDS does 
not contain freedreno, intel, nouveau, or vmware"
                fi
        fi
 
@@ -344,6 +345,7 @@ multilib_src_configure() {
        fi
 
        if use video_cards_freedreno ||
+          use video_cards_intel ||
           use video_cards_nouveau ||
           use video_cards_vmware; then
                emesonargs+=($(meson_feature xa gallium-xa))

Reply via email to