From 0738ed040f2199ba736fd0b8df72985bfbff8e16 Mon Sep 17 00:00:00 2001 From: sun_hai Date: Tue, 20 Feb 2024 11:06:49 +0000 Subject: [PATCH] update mesa.spec. Signed-off-by: sun_hai --- mesa.spec | 12 +++++++++--- 1 file changed, 9 insertions(+), 3 deletions(-) diff --git a/mesa.spec b/mesa.spec index cefb91a..80fa3f0 100644 --- a/mesa.spec +++ b/mesa.spec @@ -18,7 +18,7 @@ %define with_crocus 1 %endif -%ifarch %{ix86} x86_64 +%ifarch %{ix86} x86_64 aarch64 %define with_vulkan_hw 1 %else %define with_vulkan_hw 0 @@ -52,7 +52,7 @@ Name: mesa Summary: Mesa graphics libraries Version: 23.3.1 -Release: 1 +Release: 2 License: MIT URL: http://www.mesa3d.org @@ -317,7 +317,7 @@ export ASFLAGS="--generate-missing-build-notes=yes" -Ddri3=enabled \ -Dosmesa=true \ %if 0%{?with_hardware} - -Dgallium-drivers=swrast%{?with_iris:,iris},virgl,nouveau%{?with_vmware:,svga},radeonsi,r300,r600%{?with_freedreno:,freedreno}%{?with_etnaviv:,etnaviv}%{?with_tegra:,tegra}%{?with_vc4:,vc4}%{?with_v3d:,v3d}%{?with_kmsro:,kmsro}%{?with_crocus:,crocus} \ + -Dgallium-drivers=swrast%{?with_iris:,iris},virgl,nouveau%{?with_vmware:,svga},radeonsi,r300,r600%{?with_freedreno:,freedreno}%{?with_etnaviv:,etnaviv}%{?with_tegra:,tegra}%{?with_vc4:,vc4}%{?with_v3d:,v3d}%{?with_kmsro:,kmsro}%{?with_crocus:,crocus}%{?with_vulkan_hw:,zink} \ %else -Dgallium-drivers=swrast,virgl \ %endif @@ -531,6 +531,9 @@ done %{_libdir}/dri/kms_swrast_dri.so %{_libdir}/dri/swrast_dri.so %{_libdir}/dri/virtio_gpu_dri.so +%if 0%{?with_vulkan_hw} +%{_libdir}/dri/zink_dri.so +%endif %if %{with_hardware} %if 0%{?with_omx} @@ -568,6 +571,9 @@ done %endif %changelog +* Tue Feb 20 2024 sunhai - 23.3.1-2 +- tests + * Tue Dec 19 2023 zhangpan - 23.3.1-1 - upgrade to mesa-23.3.1 -- Gitee