commit: 16fd541a4a949c37768435cb2622a7b106e6651a
Author: Matt Turner <mattst88 <AT> gentoo <DOT> org>
AuthorDate: Wed Jul 16 17:06:37 2025 +0000
Commit: Matt Turner <mattst88 <AT> gentoo <DOT> org>
CommitDate: Wed Jul 16 17:15:56 2025 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=16fd541a
media-libs/mesa: Add IUSE=sysprof
Support added upstream in commit 9da5eafa8ec ("util/perf: Add sysprof
integration").
Signed-off-by: Matt Turner <mattst88 <AT> gentoo.org>
media-libs/mesa/mesa-9999.ebuild | 4 +++-
media-libs/mesa/metadata.xml | 1 +
2 files changed, 4 insertions(+), 1 deletion(-)
diff --git a/media-libs/mesa/mesa-9999.ebuild b/media-libs/mesa/mesa-9999.ebuild
index bee874ec77ab..daa7e5486607 100644
--- a/media-libs/mesa/mesa-9999.ebuild
+++ b/media-libs/mesa/mesa-9999.ebuild
@@ -64,7 +64,7 @@ done
IUSE="${IUSE_VIDEO_CARDS}
cpu_flags_x86_sse2 debug +llvm
lm-sensors opencl +opengl +proprietary-codecs
- test unwind vaapi valgrind vdpau vulkan
+ sysprof test unwind vaapi valgrind vdpau vulkan
wayland +X +zstd"
RESTRICT="!test? ( test )"
REQUIRED_USE="
@@ -136,6 +136,7 @@ RDEPEND="${RDEPEND}
"
DEPEND="${RDEPEND}
+ sysprof? ( >=dev-util/sysprof-capture-3.38.0 )
video_cards_d3d12? (
>=dev-util/directx-headers-1.614.1[${MULTILIB_USEDEP}] )
valgrind? ( dev-debug/valgrind )
wayland? ( >=dev-libs/wayland-protocols-1.41 )
@@ -424,6 +425,7 @@ multilib_src_configure() {
$(meson_feature lm-sensors lmsensors)
$(meson_feature unwind libunwind)
$(meson_feature zstd)
+ $(meson_use sysprof)
$(meson_use cpu_flags_x86_sse2 sse2)
-Dvalgrind=$(usex valgrind auto disabled)
-Dvideo-codecs=$(usex proprietary-codecs "all" "all_free")
diff --git a/media-libs/mesa/metadata.xml b/media-libs/mesa/metadata.xml
index 7751dc5a1a80..cc0690c626a7 100644
--- a/media-libs/mesa/metadata.xml
+++ b/media-libs/mesa/metadata.xml
@@ -12,6 +12,7 @@
<flag name="opencl">Enable the Rusticl Gallium OpenCL state tracker.</flag>
<flag name="osmesa">Build the Mesa library for off-screen rendering.</flag>
<flag name="proprietary-codecs">Enable codecs for patent-encumbered audio
and video formats.</flag>
+ <flag name="sysprof">Enable profiling data capture support using
<pkg>dev-util/sysprof-capture</pkg></flag>
<flag name="vdpau">Enable the VDPAU acceleration interface for the
Gallium3D Video Layer.</flag>
<flag name="vulkan-overlay">Build vulkan-overlay-layer which displays
Frames Per Second and other statistics</flag>
<flag name="wayland">Enable support for <pkg>dev-libs/wayland</pkg></flag>