upgrade to 23.1.3
This commit is contained in:
parent
e51fa56946
commit
26f8010efc
Binary file not shown.
36
mesa.spec
36
mesa.spec
@ -37,8 +37,8 @@
|
||||
|
||||
Name: mesa
|
||||
Summary: Mesa graphics libraries
|
||||
Version: 21.3.1
|
||||
Release: 3
|
||||
Version: 23.1.3
|
||||
Release: 1
|
||||
|
||||
License: MIT
|
||||
URL: http://www.mesa3d.org
|
||||
@ -102,6 +102,7 @@ BuildRequires: pkgconfig(libglvnd) >= 1.2.0
|
||||
BuildRequires: llvm-toolset-7-runtime
|
||||
%enable_llvmtoolset7
|
||||
%endif
|
||||
BuildRequires: glslang
|
||||
|
||||
%description
|
||||
%{summary}.
|
||||
@ -290,26 +291,27 @@ Headers for development with the Vulkan API.
|
||||
%autosetup -n %{name}-%{version} -p1
|
||||
|
||||
# Make sure the build uses gnu++14 as llvm 10 headers require that
|
||||
sed -i -e 's/cpp_std=gnu++11/cpp_std=gnu++14/g' meson.build
|
||||
sed -i -e 's/cpp_std=gnu++11/cpp_std=gnu++17/g' meson.build
|
||||
|
||||
%build
|
||||
export ASFLAGS="--generate-missing-build-notes=yes"
|
||||
%meson -Dcpp_std=gnu++14 \
|
||||
%meson -Dcpp_std=gnu++17 \
|
||||
-Dandroid-libbacktrace=disabled \
|
||||
-Dlibunwind=disabled \
|
||||
-Dlmsensors=disabled \
|
||||
-Db_ndebug=true \
|
||||
-Dplatforms=x11,wayland \
|
||||
-Ddri3=enabled \
|
||||
-Ddri-drivers=%{?dri_drivers} \
|
||||
-Dosmesa=true \
|
||||
%if 0%{?with_hardware}
|
||||
-Dgallium-drivers=swrast%{?with_iris:,iris},virgl,nouveau%{?with_vmware:,svga},radeonsi,r600%{?with_freedreno:,freedreno}%{?with_etnaviv:,etnaviv}%{?with_tegra:,tegra}%{?with_vc4:,vc4}%{?with_kmsro:,kmsro} \
|
||||
%else
|
||||
-Dgallium-drivers=swrast,virgl \
|
||||
%endif
|
||||
-Dgallium-vdpau=%{?with_vdpau:true}%{!?with_vdpau:false} \
|
||||
-Dgallium-xvmc=false \
|
||||
-Dgallium-vdpau=%{?with_vdpau:enabled}%{!?with_vdpau:disabled} \
|
||||
-Dgallium-omx=%{?with_omx:bellagio}%{!?with_omx:disabled} \
|
||||
-Dgallium-va=%{?with_vaapi:true}%{!?with_vaapi:false} \
|
||||
-Dgallium-xa=%{?with_xa:true}%{!?with_xa:false} \
|
||||
-Dgallium-va=%{?with_vaapi:enabled}%{!?with_vaapi:disabled} \
|
||||
-Dgallium-xa=%{?with_xa:enabled}%{!?with_xa:disabled} \
|
||||
-Dgallium-nine=%{?with_nine:true}%{!?with_nine:false} \
|
||||
-Dgallium-opencl=%{?with_opencl:icd}%{!?with_opencl:disabled} \
|
||||
-Dvulkan-drivers=%{?vulkan_drivers} \
|
||||
@ -320,12 +322,12 @@ export ASFLAGS="--generate-missing-build-notes=yes"
|
||||
-Dopengl=true \
|
||||
-Dgbm=enabled \
|
||||
-Dglx=dri \
|
||||
-Degl=true \
|
||||
-Degl=enabled \
|
||||
-Dglvnd=true \
|
||||
-Dmicrosoft-clc=disabled \
|
||||
-Dllvm=true \
|
||||
-Dshared-llvm=true \
|
||||
-Dvalgrind=%{?with_valgrind:true}%{!?with_valgrind:false} \
|
||||
-Dllvm=enabled \
|
||||
-Dshared-llvm=enabled \
|
||||
-Dvalgrind=%{?with_valgrind:enabled}%{!?with_valgrind:disabled} \
|
||||
-Dbuild-tests=false \
|
||||
-Dselinux=true \
|
||||
%{nil}
|
||||
@ -387,7 +389,7 @@ done
|
||||
%files libEGL-devel
|
||||
%dir %{_includedir}/EGL
|
||||
%{_includedir}/EGL/eglmesaext.h
|
||||
%{_includedir}/EGL/eglextchromium.h
|
||||
%{_includedir}/EGL/eglext_angle.h
|
||||
|
||||
%post libglapi -p /sbin/ldconfig
|
||||
%postun libglapi -p /sbin/ldconfig
|
||||
@ -462,7 +464,6 @@ done
|
||||
%{_libdir}/dri/r600_dri.so
|
||||
%{_libdir}/dri/radeonsi_dri.so
|
||||
%ifarch %{ix86} x86_64
|
||||
%{_libdir}/dri/i965_dri.so
|
||||
%{_libdir}/dri/iris_dri.so
|
||||
%endif
|
||||
%if 0%{?with_vc4}
|
||||
@ -503,6 +504,7 @@ done
|
||||
%{_libdir}/libvulkan_intel.so
|
||||
%{_libdir}/libvulkan_radeon.so
|
||||
%ifarch x86_64
|
||||
%{_datadir}/drirc.d/00-radv-defaults.conf
|
||||
%{_datadir}/vulkan/icd.d/intel_icd.x86_64.json
|
||||
%{_datadir}/vulkan/icd.d/radeon_icd.x86_64.json
|
||||
%else
|
||||
@ -510,6 +512,7 @@ done
|
||||
%{_datadir}/vulkan/icd.d/radeon_icd.i686.json
|
||||
%endif
|
||||
%endif
|
||||
%{_libdir}/vdpau/libvdpau_virtio_gpu.so.1*
|
||||
%{_libdir}/libvulkan_lvp.so
|
||||
%{_datadir}/vulkan/icd.d/lvp_icd.*.json
|
||||
%{_libdir}/libVkLayer_MESA_device_select.so
|
||||
@ -520,6 +523,9 @@ done
|
||||
%endif
|
||||
|
||||
%changelog
|
||||
* Mon Jul 31 2023 zhouwenpei <zhouwenpei1@h-partners.com> - 23.1.3-1
|
||||
- upgrade to mesa-23.1.3
|
||||
|
||||
* Thu Nov 3 2022 wuzx<wuzx1226@qq.com> - 21.3.1-3
|
||||
- Add sw64 architecture
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user