commit:     6e814d0a7d524fbc4d10948f79e0de8e8604eeef
Author:     Matt Turner <mattst88 <AT> gentoo <DOT> org>
AuthorDate: Wed Oct  4 19:05:38 2023 +0000
Commit:     Matt Turner <mattst88 <AT> gentoo <DOT> org>
CommitDate: Wed Oct  4 19:07:16 2023 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=6e814d0a

media-libs/mesa: Depend on clang for ray tracing

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

 media-libs/mesa/mesa-23.1.9.ebuild | 9 ++++++++-
 media-libs/mesa/mesa-23.2.1.ebuild | 9 ++++++++-
 media-libs/mesa/mesa-9999.ebuild   | 9 ++++++++-
 3 files changed, 24 insertions(+), 3 deletions(-)

diff --git a/media-libs/mesa/mesa-23.1.9.ebuild 
b/media-libs/mesa/mesa-23.1.9.ebuild
index 57d113992835..14ecef460d92 100644
--- a/media-libs/mesa/mesa-23.1.9.ebuild
+++ b/media-libs/mesa/mesa-23.1.9.ebuild
@@ -132,7 +132,14 @@ PER_SLOT_DEPSTR="
                !opencl? ( sys-devel/llvm:@SLOT@[${LLVM_USE_DEPS}] )
                opencl? ( sys-devel/clang:@SLOT@[${LLVM_USE_DEPS}] )
                opencl? ( dev-util/spirv-llvm-translator:@SLOT@ )
-               vulkan? ( video_cards_intel? ( amd64? ( 
dev-util/spirv-llvm-translator:@SLOT@ ) ) )
+               vulkan? (
+                       video_cards_intel? (
+                               amd64? (
+                                       dev-util/spirv-llvm-translator:@SLOT@
+                                       sys-devel/clang:@SLOT@[${LLVM_USE_DEPS}]
+                               )
+                       )
+               )
        )
 "
 LLVM_DEPSTR="

diff --git a/media-libs/mesa/mesa-23.2.1.ebuild 
b/media-libs/mesa/mesa-23.2.1.ebuild
index 4615abed8b4f..e497bccae3f6 100644
--- a/media-libs/mesa/mesa-23.2.1.ebuild
+++ b/media-libs/mesa/mesa-23.2.1.ebuild
@@ -133,7 +133,14 @@ PER_SLOT_DEPSTR="
                !opencl? ( sys-devel/llvm:@SLOT@[${LLVM_USE_DEPS}] )
                opencl? ( sys-devel/clang:@SLOT@[${LLVM_USE_DEPS}] )
                opencl? ( dev-util/spirv-llvm-translator:@SLOT@ )
-               vulkan? ( video_cards_intel? ( amd64? ( 
dev-util/spirv-llvm-translator:@SLOT@ ) ) )
+               vulkan? (
+                       video_cards_intel? (
+                               amd64? (
+                                       dev-util/spirv-llvm-translator:@SLOT@
+                                       sys-devel/clang:@SLOT@[${LLVM_USE_DEPS}]
+                               )
+                       )
+               )
        )
 "
 LLVM_DEPSTR="

diff --git a/media-libs/mesa/mesa-9999.ebuild b/media-libs/mesa/mesa-9999.ebuild
index 9a9b85e889dd..2ea0d844d620 100644
--- a/media-libs/mesa/mesa-9999.ebuild
+++ b/media-libs/mesa/mesa-9999.ebuild
@@ -133,7 +133,14 @@ PER_SLOT_DEPSTR="
                !opencl? ( sys-devel/llvm:@SLOT@[${LLVM_USE_DEPS}] )
                opencl? ( sys-devel/clang:@SLOT@[${LLVM_USE_DEPS}] )
                opencl? ( dev-util/spirv-llvm-translator:@SLOT@ )
-               vulkan? ( video_cards_intel? ( amd64? ( 
dev-util/spirv-llvm-translator:@SLOT@ ) ) )
+               vulkan? (
+                       video_cards_intel? (
+                               amd64? (
+                                       dev-util/spirv-llvm-translator:@SLOT@
+                                       sys-devel/clang:@SLOT@[${LLVM_USE_DEPS}]
+                               )
+                       )
+               )
        )
 "
 LLVM_DEPSTR="

Reply via email to