commit:     4b997f291d2430989f981f88afa62b2b7954f6ef
Author:     Matthew Smith <matthew <AT> gentoo <DOT> org>
AuthorDate: Sat Oct  1 10:15:25 2022 +0000
Commit:     Matt Turner <mattst88 <AT> gentoo <DOT> org>
CommitDate: Sat Oct  1 22:34:36 2022 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=4b997f29

media-libs/mesa: Remove USE=xvmc

Removed in upstream commit 8cc766d8f7ea ("remove xvmc").

Closes: https://github.com/gentoo/gentoo/pull/27551
Signed-off-by: Matthew Smith <matthew <AT> gentoo.org>
Signed-off-by: Matt Turner <mattst88 <AT> gentoo.org>

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

diff --git a/media-libs/mesa/mesa-9999.ebuild b/media-libs/mesa/mesa-9999.ebuild
index b67f1493125c..19cf4bf54a9c 100644
--- a/media-libs/mesa/mesa-9999.ebuild
+++ b/media-libs/mesa/mesa-9999.ebuild
@@ -34,7 +34,7 @@ IUSE="${IUSE_VIDEO_CARDS}
        cpu_flags_x86_sse2 d3d9 debug gles1 +gles2 +llvm
        lm-sensors opencl osmesa +proprietary-codecs selinux
        test unwind vaapi valgrind vdpau vulkan
-       vulkan-overlay wayland +X xa xvmc zink +zstd"
+       vulkan-overlay wayland +X xa zink +zstd"
 
 REQUIRED_USE="
        d3d9?   ( || ( video_cards_intel video_cards_r300 video_cards_r600 
video_cards_radeonsi video_cards_nouveau video_cards_vmware ) )
@@ -44,7 +44,6 @@ REQUIRED_USE="
        video_cards_r300?   ( x86? ( llvm ) amd64? ( llvm ) )
        video_cards_radeonsi?   ( llvm )
        xa? ( X )
-       xvmc? ( X )
        zink? ( vulkan )
 "
 
@@ -75,7 +74,6 @@ RDEPEND="
                >=x11-libs/libva-1.7.3:=[${MULTILIB_USEDEP}]
        )
        vdpau? ( >=x11-libs/libvdpau-1.1:=[${MULTILIB_USEDEP}] )
-       xvmc? ( >=x11-libs/libXvMC-1.0.8:=[${MULTILIB_USEDEP}] )
        selinux? ( sys-libs/libselinux[${MULTILIB_USEDEP}] )
        wayland? (
                >=dev-libs/wayland-1.18.0:=[${MULTILIB_USEDEP}]
@@ -268,13 +266,6 @@ pkg_pretend() {
                fi
        fi
 
-       if use xvmc; then
-               if ! use video_cards_r600 &&
-                  ! use video_cards_nouveau; then
-                       ewarn "Ignoring USE=xvmc       since VIDEO_CARDS does 
not contain r600 or nouveau"
-               fi
-       fi
-
        if ! use llvm; then
                use opencl     && ewarn "Ignoring USE=opencl     since USE does 
not contain llvm"
        fi
@@ -366,13 +357,6 @@ multilib_src_configure() {
                emesonargs+=(-Dgallium-xa=disabled)
        fi
 
-       if use video_cards_r600 ||
-          use video_cards_nouveau; then
-               emesonargs+=($(meson_feature xvmc gallium-xvmc))
-       else
-               emesonargs+=(-Dgallium-xvmc=disabled)
-       fi
-
        if use video_cards_freedreno ||
           use video_cards_lima ||
           use video_cards_panfrost ||

Reply via email to