From ff00644a049459067e6a46d44f1cf42af07a65cb Mon Sep 17 00:00:00 2001 From: Automatic Build System Date: Fri, 5 Jan 2024 17:47:47 +0100 Subject: [PATCH] automatic version update by autodist [release 22.0.1-1mamba;Thu Apr 21 2022] --- Mesa.spec | 41 +++++++++++++++++++++++------------------ 1 file changed, 23 insertions(+), 18 deletions(-) diff --git a/Mesa.spec b/Mesa.spec index 85e50b9..b38dbe7 100644 --- a/Mesa.spec +++ b/Mesa.spec @@ -1,6 +1,6 @@ Name: Mesa Epoch: 1 -Version: 21.3.8 +Version: 22.0.1 Release: 1mamba Summary: A 3-D graphics library with an API which is very similar to that of OpenGL Group: System/Libraries @@ -34,6 +34,7 @@ BuildRequires: libllvm-devel BuildRequires: libomxil-bellagio-devel BuildRequires: libsensors-devel BuildRequires: libstdc++6-devel +BuildRequires: libudev-devel BuildRequires: libunwind-devel BuildRequires: libvulkan-devel BuildRequires: libwayland-devel @@ -58,6 +59,7 @@ BuildRequires: glslang BuildRequires: wayland-protocols BuildRequires: libclc-devel BuildRequires: libglvnd-devel +BuildRequires: directx-headers-devel %description Mesa is a 3-D graphics library with an API which is very similar to that of OpenGL. @@ -127,16 +129,10 @@ Common files and tools for the Mesa GL libraries. %prep %setup -q -n mesa-%{version} -#-D -T -#:<< _EOF -%patch4 -p1 -%patch5 -p1 -%ifarch aarch64 -#%patch6 -p1 -%endif +#%patch4 -p1 +#%patch5 -p1 %build -#:<< _EOF #%ifnarch arm export CC=clang export CXX=clang++ @@ -150,25 +146,24 @@ export PYTHON=%{__python3} -Dplatforms=x11,wayland \ %ifarch arm -Dvulkan-drivers=amd,swrast,broadcom \ - -Ddri-drivers=r100,r200 \ -Dgallium-drivers=r300,r600,radeonsi,freedreno,swrast,virgl,zink,etnaviv,kmsro,lima,panfrost,v3d,vc4 \ -Dlibunwind=disabled \ -Dvalgrind=disabled \ + -Dcpp_rtti=false \ %endif %ifarch aarch64 -Dvulkan-drivers=amd,swrast,broadcom \ - -Ddri-drivers=r100,r200,nouveau \ -Dgallium-drivers=r300,r600,radeonsi,nouveau,swrast,virgl,zink,etnaviv,kmsro,lima,panfrost,v3d,vc4 \ -Dlibunwind=disabled \ -Dvalgrind=disabled \ %endif %ifarch x86_64 %{ix86} -Dvulkan-drivers=amd,intel,swrast \ - -Ddri-drivers=i915,i965,r100,r200,nouveau \ - -Dgallium-drivers=r300,r600,radeonsi,nouveau,virgl,svga,swrast,iris,zink \ + -Dgallium-drivers=r300,r600,radeonsi,nouveau,virgl,svga,swrast,iris,crocus,zink,d3d12 \ -Dlibunwind=enabled \ -Dvalgrind=enabled \ %endif + -Dvulkan-layers=device-select,intel-nullhw,overlay \ -Ddri3=enabled \ -Degl=enabled \ -Dgallium-extra-hud=true \ @@ -194,6 +189,7 @@ export PYTHON=%{__python3} -Ddri-drivers-path=%{_libdir}/dri \ -Dshared-llvm=enabled +# -Ddri-drivers=i915,i965,r100,r200,nouveau \ # -Dswr-arches=avx,avx2 \ # -Dglx-direct=true \ @@ -220,9 +216,12 @@ ln -s libGLX_mesa.so.0 %{buildroot}%{_libdir}/libGLX_indirect.so.0 %{_datadir}/drirc.d/*.conf %{_datadir}/glvnd/egl_vendor.d/50_mesa.json %{_datadir}/vulkan/icd.d/*.json -#%{_datadir}/vulkan/implicit_layer.d/VkLayer_MESA_device_select.json -#%{_datadir}/vulkan/explicit_layer.d/VkLayer_MESA_overlay.json -#%{_bindir}/mesa-overlay-control.py +%ifnarch arm aarch64 +%{_datadir}/vulkan/explicit_layer.d/VkLayer_INTEL_nullhw.json +%endif +%{_datadir}/vulkan/explicit_layer.d/VkLayer_MESA_overlay.json +%{_datadir}/vulkan/implicit_layer.d/VkLayer_MESA_device_select.json +%{_bindir}/mesa-overlay-control.py %files -n libmesa %defattr(-,root,root) @@ -235,8 +234,11 @@ ln -s libGLX_mesa.so.0 %{buildroot}%{_libdir}/libGLX_indirect.so.0 %{_libdir}/libMesaOpenCL.so.* %endif %{_libdir}/libOSMesa.so.* -#%{_libdir}/libVkLayer_MESA_device_select.so -#%{_libdir}/libVkLayer_MESA_overlay.so +%ifnarch arm aarch64 +%{_libdir}/libVkLayer_INTEL_nullhw.so +%endif +%{_libdir}/libVkLayer_MESA_device_select.so +%{_libdir}/libVkLayer_MESA_overlay.so %{_libdir}/libxatracker.so.* %{_libdir}/libXvMC*.so.* %{_libdir}/libvulkan_*.so @@ -289,6 +291,9 @@ ln -s libGLX_mesa.so.0 %{buildroot}%{_libdir}/libGLX_indirect.so.0 %{_libdir}/pkgconfig/xatracker.pc %changelog +* Thu Apr 21 2022 Automatic Build System 22.0.1-1mamba +- automatic version update by autodist + * Tue Mar 22 2022 Automatic Build System 21.3.8-1mamba - automatic version update by autodist