From 7beab697c6ba1be5b288d6d00983de160449c6ec Mon Sep 17 00:00:00 2001 From: Neal Gompa Date: Wed, 7 Jun 2023 08:01:07 -0400 Subject: [PATCH] Enable stack trace and HUD sensor support Stack trace support is obviously quite useful for debugging, but HUD sensor support is useful for gaming and benchmarking tools. --- mesa.spec | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/mesa.spec b/mesa.spec index 91294b5..c5a02c4 100644 --- a/mesa.spec +++ b/mesa.spec @@ -81,8 +81,10 @@ BuildRequires: kernel-headers # SRPMs for each arch still have the same build dependencies. See: # https://bugzilla.redhat.com/show_bug.cgi?id=1859515 BuildRequires: pkgconfig(libdrm) >= 2.4.97 +BuildRequires: pkgconfig(libunwind) BuildRequires: pkgconfig(expat) BuildRequires: pkgconfig(zlib) >= 1.2.3 +BuildRequires: pkgconfig(libzstd) BuildRequires: pkgconfig(libselinux) BuildRequires: pkgconfig(wayland-scanner) BuildRequires: pkgconfig(wayland-protocols) >= 1.8 @@ -109,6 +111,7 @@ BuildRequires: pkgconfig(xcb-randr) BuildRequires: pkgconfig(xrandr) >= 1.3 BuildRequires: bison BuildRequires: flex +BuildRequires: lm_sensors-devel %if 0%{?with_vdpau} BuildRequires: pkgconfig(vdpau) >= 1.1 %endif @@ -386,8 +389,6 @@ export RUSTFLAGS="%build_rustflags" -Dvalgrind=%{?with_valgrind:enabled}%{!?with_valgrind:disabled} \ -Dbuild-tests=false \ -Dselinux=true \ - -Dlibunwind=disabled \ - -Dlmsensors=disabled \ -Dandroid-libbacktrace=disabled \ %{nil} %meson_build