Browse Source

mesa-22.1.1-1

Tomohiro "Tomo-p" KATO 1 month ago
parent
commit
6ac7920ab2
1 changed files with 25 additions and 18 deletions
  1. 25 18
      m/mesa/mesa-vl.spec

+ 25 - 18
m/mesa/mesa-vl.spec

@@ -6,6 +6,8 @@
 %bcond_with source
 
 %global with_hardware 1
+%global with_r300 1
+%global with_r600 1
 %global with_vdpau 1
 %global with_vaapi 1
 %global with_nine 1
@@ -38,7 +40,7 @@
 Summary:        Mesa graphics libraries
 Summary(ja):    Mesa グラフィックスライブラリ
 Name:           mesa
-Version:        21.2.4
+Version:        22.1.1
 Release:        1%{?_dist_release}
 Group:          system
 Vendor:         Project Vine
@@ -101,11 +103,13 @@ BuildRequires: vulkan-devel
 BuildRequires: libglvnd-devel
 %endif
 %if %{with wayland}
-BuildRequires:  pkgconfig(wayland-scanner)
-BuildRequires:  pkgconfig(wayland-protocols) >= 1.8
-BuildRequires:  pkgconfig(wayland-client) >= 1.11
-BuildRequires:  pkgconfig(wayland-server) >= 1.11
-BuildRequires:  pkgconfig(wayland-egl-backend)
+#BuildRequires:  pkgconfig(wayland-scanner)
+#BuildRequires:  pkgconfig(wayland-protocols) >= 1.25.0
+#BuildRequires:  pkgconfig(wayland-client) >= 1.20.0
+#BuildRequires:  pkgconfig(wayland-server) >= 1.20.0
+#BuildRequires:  pkgconfig(wayland-egl-backend) >= 3
+BuildRequires:  wayland-devel
+BuildRequires:  wayland-protocols-devel
 %endif
 
 
@@ -439,18 +443,17 @@ export PYTHON=%{__pythpn3}
 %else
   -Dplatforms=x11 \
 %endif
-  -Ddri3=true \
-  -Ddri-drivers=%{?dri_drivers} \
+  -Ddri3=enabled \
 %if 0%{?with_hardware}
-  -Dgallium-drivers=swrast,virgl,r300,nouveau%{?with_iris:,iris}%{?with_vmware:,svga}%{?with_radeonsi:,radeonsi,r600}%{?with_freedreno:,freedreno}%{?with_etnaviv:,etnaviv}%{?with_tegra:,tegra}%{?with_vc4:,vc4}%{?with_v3d:,v3d}%{?with_kmsro:,kmsro}%{?with_lima:,lima}%{?with_panfrost:,panfrost}%{?with_vulkan:,zink} \
+  -Dgallium-drivers=swrast,virgl,nouveau%{?with_r300:,r300}%{?with_crocus:,crocus}%{?with_iris:,iris}%{?with_vmware:,svga}%{?with_radeonsi:,radeonsi}%{?with_r600:,r600}%{?with_freedreno:,freedreno}%{?with_etnaviv:,etnaviv}%{?with_tegra:,tegra}%{?with_vc4:,vc4}%{?with_v3d:,v3d}%{?with_kmsro:,kmsro}%{?with_lima:,lima}%{?with_panfrost:,panfrost}%{?with_vulkan:,zink} \
 %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-xvmc=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} \
@@ -459,18 +462,18 @@ export PYTHON=%{__pythpn3}
   -Dgles1=disabled \
   -Dgles2=enabled \
   -Dopengl=true \
-  -Dgbm=true \
+  -Dgbm=enabled \
   -Dglx=dri \
-  -Degl=true \
+  -Degl=enabled \
 %if %{with glvnd}
   -Dglvnd=true \
 %else
   -Dglvnd=false \
 %endif
   -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=false \
   -Dosmesa=true \
@@ -670,6 +673,10 @@ mkdir -p $RPM_BUILD_ROOT/%{mesasourcedir}
 
 
 %changelog
+* Thu Jun 16 2022 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 22.1.1-1
+- updated to 22.1.1.
+- built with llvm-14.
+
 * Fri Oct 22 2021 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 21.2.4-1
 - updated to 21.2.4.
 - built with llvm-13.