1
0
forked from rpms/mesa

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.
This commit is contained in:
Neal Gompa 2023-06-07 08:01:07 -04:00
parent c4b1f2e455
commit 7beab697c6

View File

@ -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