commit: f123e9823effa97371014375576f27efdede3928 Author: Matt Turner <mattst88 <AT> gentoo <DOT> org> AuthorDate: Sat May 13 17:00:56 2023 +0000 Commit: Matt Turner <mattst88 <AT> gentoo <DOT> org> CommitDate: Sat May 13 17:03:09 2023 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f123e982
media-libs/mesa: Depend on libclc for Intel Vulkan And limit it to amd64-only, since upstream only enables ray tracing for amd64. Closes: https://bugs.gentoo.org/906231 Signed-off-by: Matt Turner <mattst88 <AT> gentoo.org> media-libs/mesa/mesa-23.1.0.ebuild | 9 ++++++++- media-libs/mesa/mesa-9999.ebuild | 9 ++++++++- 2 files changed, 16 insertions(+), 2 deletions(-) diff --git a/media-libs/mesa/mesa-23.1.0.ebuild b/media-libs/mesa/mesa-23.1.0.ebuild index 3e8e181feb85..33e29c1d3f7d 100644 --- a/media-libs/mesa/mesa-23.1.0.ebuild +++ b/media-libs/mesa/mesa-23.1.0.ebuild @@ -76,7 +76,14 @@ RDEPEND=" >=media-libs/libva-1.7.3:=[${MULTILIB_USEDEP}] ) vdpau? ( >=x11-libs/libvdpau-1.1:=[${MULTILIB_USEDEP}] ) - vulkan? ( video_cards_intel? ( >=dev-util/spirv-tools-1.3.231.0 ) ) + vulkan? ( + video_cards_intel? ( + amd64? ( + dev-libs/libclc[spirv(-)] + >=dev-util/spirv-tools-1.3.231.0 + ) + ) + ) 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}] diff --git a/media-libs/mesa/mesa-9999.ebuild b/media-libs/mesa/mesa-9999.ebuild index 1cafc813c908..2d73380b5ee3 100644 --- a/media-libs/mesa/mesa-9999.ebuild +++ b/media-libs/mesa/mesa-9999.ebuild @@ -76,7 +76,14 @@ RDEPEND=" >=media-libs/libva-1.7.3:=[${MULTILIB_USEDEP}] ) vdpau? ( >=x11-libs/libvdpau-1.1:=[${MULTILIB_USEDEP}] ) - vulkan? ( video_cards_intel? ( >=dev-util/spirv-tools-1.3.231.0 ) ) + vulkan? ( + video_cards_intel? ( + amd64? ( + dev-libs/libclc[spirv(-)] + >=dev-util/spirv-tools-1.3.231.0 + ) + ) + ) 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}]
