commit:     063c6f4aa0b99385f2a8080414c7a8381728fc37
Author:     Matt Turner <mattst88 <AT> gentoo <DOT> org>
AuthorDate: Sat Oct  1 22:47:42 2022 +0000
Commit:     Matt Turner <mattst88 <AT> gentoo <DOT> org>
CommitDate: Sat Oct  1 22:48:11 2022 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=063c6f4a

media-libs/mesa: Depend on glslang for RADV

And move it to BDEPEND, because it's only used at build-time.

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

 media-libs/mesa/mesa-22.2.0.ebuild | 4 ++--
 media-libs/mesa/mesa-9999.ebuild   | 3 ++-
 2 files changed, 4 insertions(+), 3 deletions(-)

diff --git a/media-libs/mesa/mesa-22.2.0.ebuild 
b/media-libs/mesa/mesa-22.2.0.ebuild
index b67f1493125c..ca85f615d85a 100644
--- a/media-libs/mesa/mesa-22.2.0.ebuild
+++ b/media-libs/mesa/mesa-22.2.0.ebuild
@@ -75,13 +75,11 @@ 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}]
        )
        
${LIBDRM_DEPSTRING}[video_cards_freedreno?,video_cards_intel?,video_cards_nouveau?,video_cards_vc4?,video_cards_vivante?,video_cards_vmware?,${MULTILIB_USEDEP}]
-       vulkan-overlay? ( dev-util/glslang:0=[${MULTILIB_USEDEP}] )
        X? (
                >=x11-libs/libX11-1.6.2:=[${MULTILIB_USEDEP}]
                >=x11-libs/libxshmfence-1.1:=[${MULTILIB_USEDEP}]
@@ -194,6 +192,8 @@ BDEPEND="
        sys-devel/flex
        virtual/pkgconfig
        $(python_gen_any_dep ">=dev-python/mako-0.8.0[\${PYTHON_USEDEP}]")
+       vulkan? ( video_cards_radeonsi? ( dev-util/glslang ) )
+       vulkan-overlay? ( dev-util/glslang )
        wayland? ( dev-util/wayland-scanner )
 "
 

diff --git a/media-libs/mesa/mesa-9999.ebuild b/media-libs/mesa/mesa-9999.ebuild
index 19cf4bf54a9c..72724b3f5546 100644
--- a/media-libs/mesa/mesa-9999.ebuild
+++ b/media-libs/mesa/mesa-9999.ebuild
@@ -79,7 +79,6 @@ RDEPEND="
                >=dev-libs/wayland-1.18.0:=[${MULTILIB_USEDEP}]
        )
        
${LIBDRM_DEPSTRING}[video_cards_freedreno?,video_cards_intel?,video_cards_nouveau?,video_cards_vc4?,video_cards_vivante?,video_cards_vmware?,${MULTILIB_USEDEP}]
-       vulkan-overlay? ( dev-util/glslang:0=[${MULTILIB_USEDEP}] )
        X? (
                >=x11-libs/libX11-1.6.2:=[${MULTILIB_USEDEP}]
                >=x11-libs/libxshmfence-1.1:=[${MULTILIB_USEDEP}]
@@ -192,6 +191,8 @@ BDEPEND="
        sys-devel/flex
        virtual/pkgconfig
        $(python_gen_any_dep ">=dev-python/mako-0.8.0[\${PYTHON_USEDEP}]")
+       vulkan? ( video_cards_radeonsi? ( dev-util/glslang ) )
+       vulkan-overlay? ( dev-util/glslang )
        wayland? ( dev-util/wayland-scanner )
 "
 

Reply via email to