summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMatt Jolly <kangie@gentoo.org>2024-11-09 17:20:10 +1000
committerMatt Jolly <kangie@gentoo.org>2024-11-09 17:22:47 +1000
commit60aa21be044325680e1001d43a7e04d8791968e0 (patch)
tree67edc0316e4fb67e56958ce3d9088359844057c6 /media-libs/mesa
parentwww-client/firefox: 132: fix LTO check on USE=pgo path (diff)
downloadgentoo-60aa21be044325680e1001d43a7e04d8791968e0.tar.gz
gentoo-60aa21be044325680e1001d43a7e04d8791968e0.tar.bz2
gentoo-60aa21be044325680e1001d43a7e04d8791968e0.zip
media-libs/mesa: properly gate rust_pkg_setup
Previously we called it if USE=vulkan, however it's actually gated by USE=vulkan && USE=video_cards_nvk. Signed-off-by: Matt Jolly <kangie@gentoo.org>
Diffstat (limited to 'media-libs/mesa')
-rw-r--r--media-libs/mesa/mesa-24.1.7-r1.ebuild2
-rw-r--r--media-libs/mesa/mesa-24.2.3-r1.ebuild2
-rw-r--r--media-libs/mesa/mesa-24.2.4-r1.ebuild2
-rw-r--r--media-libs/mesa/mesa-24.2.5-r1.ebuild2
-rw-r--r--media-libs/mesa/mesa-24.2.6-r1.ebuild2
-rw-r--r--media-libs/mesa/mesa-9999.ebuild5
6 files changed, 6 insertions, 9 deletions
diff --git a/media-libs/mesa/mesa-24.1.7-r1.ebuild b/media-libs/mesa/mesa-24.1.7-r1.ebuild
index 5d4171f71288..ebfcea5d7aac 100644
--- a/media-libs/mesa/mesa-24.1.7-r1.ebuild
+++ b/media-libs/mesa/mesa-24.1.7-r1.ebuild
@@ -295,7 +295,7 @@ pkg_setup() {
use llvm && llvm-r1_pkg_setup
python-any-r1_pkg_setup
- if use opencl || use vulkan; then
+ if use opencl || (use vulkan && use video_cards_nvk); then
rust_pkg_setup
fi
}
diff --git a/media-libs/mesa/mesa-24.2.3-r1.ebuild b/media-libs/mesa/mesa-24.2.3-r1.ebuild
index d45bd4b23536..3dd7cb3ad57b 100644
--- a/media-libs/mesa/mesa-24.2.3-r1.ebuild
+++ b/media-libs/mesa/mesa-24.2.3-r1.ebuild
@@ -299,7 +299,7 @@ pkg_setup() {
use llvm && llvm-r1_pkg_setup
python-any-r1_pkg_setup
- if use opencl || use vulkan; then
+ if use opencl || (use vulkan && use video_cards_nvk); then
rust_pkg_setup
fi
}
diff --git a/media-libs/mesa/mesa-24.2.4-r1.ebuild b/media-libs/mesa/mesa-24.2.4-r1.ebuild
index d45bd4b23536..3dd7cb3ad57b 100644
--- a/media-libs/mesa/mesa-24.2.4-r1.ebuild
+++ b/media-libs/mesa/mesa-24.2.4-r1.ebuild
@@ -299,7 +299,7 @@ pkg_setup() {
use llvm && llvm-r1_pkg_setup
python-any-r1_pkg_setup
- if use opencl || use vulkan; then
+ if use opencl || (use vulkan && use video_cards_nvk); then
rust_pkg_setup
fi
}
diff --git a/media-libs/mesa/mesa-24.2.5-r1.ebuild b/media-libs/mesa/mesa-24.2.5-r1.ebuild
index d45bd4b23536..3dd7cb3ad57b 100644
--- a/media-libs/mesa/mesa-24.2.5-r1.ebuild
+++ b/media-libs/mesa/mesa-24.2.5-r1.ebuild
@@ -299,7 +299,7 @@ pkg_setup() {
use llvm && llvm-r1_pkg_setup
python-any-r1_pkg_setup
- if use opencl || use vulkan; then
+ if use opencl || (use vulkan && use video_cards_nvk); then
rust_pkg_setup
fi
}
diff --git a/media-libs/mesa/mesa-24.2.6-r1.ebuild b/media-libs/mesa/mesa-24.2.6-r1.ebuild
index d45bd4b23536..3dd7cb3ad57b 100644
--- a/media-libs/mesa/mesa-24.2.6-r1.ebuild
+++ b/media-libs/mesa/mesa-24.2.6-r1.ebuild
@@ -299,7 +299,7 @@ pkg_setup() {
use llvm && llvm-r1_pkg_setup
python-any-r1_pkg_setup
- if use opencl || use vulkan; then
+ if use opencl || (use vulkan && use video_cards_nvk); then
rust_pkg_setup
fi
}
diff --git a/media-libs/mesa/mesa-9999.ebuild b/media-libs/mesa/mesa-9999.ebuild
index f78c0c4a32e4..ceba860297d1 100644
--- a/media-libs/mesa/mesa-9999.ebuild
+++ b/media-libs/mesa/mesa-9999.ebuild
@@ -298,10 +298,7 @@ pkg_setup() {
use llvm && llvm-r1_pkg_setup
python-any-r1_pkg_setup
- if use opencl || use vulkan; then
- rust_pkg_setup
- fi
- if use opencl || use vulkan; then
+ if use opencl || (use vulkan && use video_cards_nvk); then
rust_pkg_setup
fi
}