commit:     75efa513eb6d609f9d849f0e59c125e377bdcd80
Author:     Matt Turner <mattst88 <AT> gentoo <DOT> org>
AuthorDate: Tue Aug 29 20:21:13 2023 +0000
Commit:     Matt Turner <mattst88 <AT> gentoo <DOT> org>
CommitDate: Tue Aug 29 20:22:11 2023 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=75efa513

media-libs/mesa: Conditionalize ply check with 'use llvm'

Missed in 0486dbce0557 ("media-libs/mesa: Put raytracing deps behind
USE=llvm").

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

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

diff --git a/media-libs/mesa/mesa-23.1.6.ebuild 
b/media-libs/mesa/mesa-23.1.6.ebuild
index 21f4b200e667..19073addfdf5 100644
--- a/media-libs/mesa/mesa-23.1.6.ebuild
+++ b/media-libs/mesa/mesa-23.1.6.ebuild
@@ -256,7 +256,7 @@ pkg_pretend() {
 
 python_check_deps() {
        python_has_version -b ">=dev-python/mako-0.8.0[${PYTHON_USEDEP}]" || 
return 1
-       if use vulkan && use video_cards_intel && use amd64; then
+       if use llvm && use vulkan && use video_cards_intel && use amd64; then
                python_has_version -b "dev-python/ply[${PYTHON_USEDEP}]" || 
return 1
        fi
 }

diff --git a/media-libs/mesa/mesa-9999.ebuild b/media-libs/mesa/mesa-9999.ebuild
index 38259ac52a7b..11458c0cb174 100644
--- a/media-libs/mesa/mesa-9999.ebuild
+++ b/media-libs/mesa/mesa-9999.ebuild
@@ -252,7 +252,7 @@ pkg_pretend() {
 
 python_check_deps() {
        python_has_version -b ">=dev-python/mako-0.8.0[${PYTHON_USEDEP}]" || 
return 1
-       if use vulkan && use video_cards_intel && use amd64; then
+       if use llvm && use vulkan && use video_cards_intel && use amd64; then
                python_has_version -b "dev-python/ply[${PYTHON_USEDEP}]" || 
return 1
        fi
 }

Reply via email to