commit:     4e2266e3af2d1a0e9aa8ff0239bf46c7a2138c75
Author:     Matt Turner <mattst88 <AT> gentoo <DOT> org>
AuthorDate: Wed Sep 10 18:42:12 2025 +0000
Commit:     Matt Turner <mattst88 <AT> gentoo <DOT> org>
CommitDate: Thu Sep 11 03:37:20 2025 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=4e2266e3

media-libs/mesa: Drop IUSE=vdpau

Removed in upstream commit 4b54277d2e9 ("Remove VDPAU").

Closes: https://bugs.gentoo.org/962714
Signed-off-by: Matt Turner <mattst88 <AT> gentoo.org>

 media-libs/mesa/mesa-9999.ebuild | 24 +-----------------------
 1 file changed, 1 insertion(+), 23 deletions(-)

diff --git a/media-libs/mesa/mesa-9999.ebuild b/media-libs/mesa/mesa-9999.ebuild
index 04d4be889463..44580b1f889c 100644
--- a/media-libs/mesa/mesa-9999.ebuild
+++ b/media-libs/mesa/mesa-9999.ebuild
@@ -64,7 +64,7 @@ done
 IUSE="${IUSE_VIDEO_CARDS}
        cpu_flags_x86_sse2 debug +llvm
        lm-sensors opencl +opengl +proprietary-codecs
-       sysprof test unwind vaapi valgrind vdpau vulkan
+       sysprof test unwind vaapi valgrind vulkan
        wayland +X +zstd"
 RESTRICT="!test? ( test )"
 REQUIRED_USE="
@@ -74,7 +74,6 @@ REQUIRED_USE="
        video_cards_r300?   ( x86? ( llvm ) amd64? ( llvm ) )
        video_cards_zink? ( vulkan opengl )
        video_cards_nvk? ( vulkan video_cards_nouveau )
-       vdpau? ( X )
 "
 
 LIBDRM_DEPSTRING=">=x11-libs/libdrm-2.4.121"
@@ -109,7 +108,6 @@ RDEPEND="
        vaapi? (
                >=media-libs/libva-1.7.3:=[${MULTILIB_USEDEP}]
        )
-       vdpau? ( >=x11-libs/libvdpau-1.5:=[${MULTILIB_USEDEP}] )
        video_cards_radeonsi? ( virtual/libelf:0=[${MULTILIB_USEDEP}] )
        video_cards_zink? ( media-libs/vulkan-loader:=[${MULTILIB_USEDEP}] )
        vulkan? ( virtual/libudev:= )
@@ -232,16 +230,6 @@ pkg_pretend() {
                fi
        fi
 
-       if use vdpau; then
-               if ! use video_cards_d3d12 &&
-                  ! use video_cards_nouveau &&
-                  ! use video_cards_r600 &&
-                  ! use video_cards_radeonsi &&
-                  ! use video_cards_virgl; then
-                       ewarn "Ignoring USE=vdpau      since VIDEO_CARDS does 
not contain d3d12, nouveau, r600, radeonsi, or virgl"
-               fi
-       fi
-
        if ! use llvm; then
                use opencl     && ewarn "Ignoring USE=opencl     since USE does 
not contain llvm"
        fi
@@ -314,16 +302,6 @@ multilib_src_configure() {
                emesonargs+=($(meson_feature vaapi gallium-d3d12-video))
        fi
 
-       if use video_cards_d3d12 ||
-          use video_cards_nouveau ||
-          use video_cards_r600 ||
-          use video_cards_radeonsi ||
-          use video_cards_virgl; then
-               emesonargs+=($(meson_feature vdpau gallium-vdpau))
-       else
-               emesonargs+=(-Dgallium-vdpau=disabled)
-       fi
-
        gallium_enable !llvm softpipe
        gallium_enable llvm llvmpipe
        gallium_enable video_cards_asahi asahi

Reply via email to