|
@@ -25,7 +25,7 @@
|
|
%global with_vmware 1
|
|
%global with_vmware 1
|
|
%global with_xa 1
|
|
%global with_xa 1
|
|
%if %{with vulkan}
|
|
%if %{with vulkan}
|
|
-%global vulkan_drivers intel,amd
|
|
|
|
|
|
+%global vulkan_drivers swrast,intel,amd
|
|
%else
|
|
%else
|
|
%global vulkan_drivers %{nil}
|
|
%global vulkan_drivers %{nil}
|
|
%endif
|
|
%endif
|
|
@@ -38,7 +38,7 @@
|
|
Summary: Mesa graphics libraries
|
|
Summary: Mesa graphics libraries
|
|
Summary(ja): Mesa グラフィックスライブラリ
|
|
Summary(ja): Mesa グラフィックスライブラリ
|
|
Name: mesa
|
|
Name: mesa
|
|
-Version: 21.0.2
|
|
|
|
|
|
+Version: 21.2.4
|
|
Release: 1%{?_dist_release}
|
|
Release: 1%{?_dist_release}
|
|
Group: system
|
|
Group: system
|
|
Vendor: Project Vine
|
|
Vendor: Project Vine
|
|
@@ -53,10 +53,6 @@ Source0: https://mesa.freedesktop.org/archive/%{name}-%{version}.tar.xz
|
|
# Fedora opts to ignore the optional part of clause 2 and treat that code as 2 clause BSD.
|
|
# Fedora opts to ignore the optional part of clause 2 and treat that code as 2 clause BSD.
|
|
Source4: Mesa-MLAA-License-Clarification-Email.txt
|
|
Source4: Mesa-MLAA-License-Clarification-Email.txt
|
|
|
|
|
|
-Patch3: 0003-evergreen-big-endian.patch
|
|
|
|
-# https://gitlab.freedesktop.org/mesa/mesa/-/issues/4442
|
|
|
|
-Patch0: mesa-llvm12.patch
|
|
|
|
-
|
|
|
|
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root
|
|
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root
|
|
BuildRequires: meson
|
|
BuildRequires: meson
|
|
BuildRequires: pkgconfig
|
|
BuildRequires: pkgconfig
|
|
@@ -430,7 +426,6 @@ Headers for development with the Vulkan API.
|
|
|
|
|
|
%prep
|
|
%prep
|
|
%setup -n %{name}-%{version}
|
|
%setup -n %{name}-%{version}
|
|
-%patch0 -p1
|
|
|
|
|
|
|
|
cp %{SOURCE4} docs/
|
|
cp %{SOURCE4} docs/
|
|
|
|
|
|
@@ -447,7 +442,7 @@ export PYTHON=%{__pythpn3}
|
|
-Ddri3=true \
|
|
-Ddri3=true \
|
|
-Ddri-drivers=%{?dri_drivers} \
|
|
-Ddri-drivers=%{?dri_drivers} \
|
|
%if 0%{?with_hardware}
|
|
%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} \
|
|
|
|
|
|
+ -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} \
|
|
%else
|
|
%else
|
|
-Dgallium-drivers=swrast,virgl \
|
|
-Dgallium-drivers=swrast,virgl \
|
|
%endif
|
|
%endif
|
|
@@ -459,7 +454,7 @@ export PYTHON=%{__pythpn3}
|
|
-Dgallium-nine=%{?with_nine:true}%{!?with_nine:false} \
|
|
-Dgallium-nine=%{?with_nine:true}%{!?with_nine:false} \
|
|
-Dgallium-opencl=%{?with_opencl:icd}%{!?with_opencl:disabled} \
|
|
-Dgallium-opencl=%{?with_opencl:icd}%{!?with_opencl:disabled} \
|
|
-Dvulkan-drivers=%{?vulkan_drivers} \
|
|
-Dvulkan-drivers=%{?vulkan_drivers} \
|
|
- -Dvulkan-device-select-layer=true \
|
|
|
|
|
|
+ -Dvulkan-layers=device-select \
|
|
-Dshared-glapi=enabled \
|
|
-Dshared-glapi=enabled \
|
|
-Dgles1=disabled \
|
|
-Dgles1=disabled \
|
|
-Dgles2=enabled \
|
|
-Dgles2=enabled \
|
|
@@ -612,6 +607,10 @@ mkdir -p $RPM_BUILD_ROOT/%{mesasourcedir}
|
|
|
|
|
|
%if %{with vulkan}
|
|
%if %{with vulkan}
|
|
%files vulkan-drivers
|
|
%files vulkan-drivers
|
|
|
|
+%{_libdir}/libvulkan_lvp.so
|
|
|
|
+%{_datadir}/vulkan/icd.d/lvp_icd.*.json
|
|
|
|
+%{_libdir}/libVkLayer_MESA_device_select.so
|
|
|
|
+%{_datadir}/vulkan/implicit_layer.d/VkLayer_MESA_device_select.json
|
|
%if 0%{?with_hardware}
|
|
%if 0%{?with_hardware}
|
|
%ifarch %{ix86} x86_64
|
|
%ifarch %{ix86} x86_64
|
|
%{_libdir}/libvulkan_intel.so
|
|
%{_libdir}/libvulkan_intel.so
|
|
@@ -619,16 +618,9 @@ mkdir -p $RPM_BUILD_ROOT/%{mesasourcedir}
|
|
%endif
|
|
%endif
|
|
%{_libdir}/libvulkan_radeon.so
|
|
%{_libdir}/libvulkan_radeon.so
|
|
%{_datadir}/vulkan/icd.d/radeon_icd.*.json
|
|
%{_datadir}/vulkan/icd.d/radeon_icd.*.json
|
|
-%{_libdir}/libVkLayer_MESA_device_select.so
|
|
|
|
-%{_datadir}/vulkan/implicit_layer.d/VkLayer_MESA_device_select.json
|
|
|
|
%endif
|
|
%endif
|
|
|
|
|
|
%files vulkan-devel
|
|
%files vulkan-devel
|
|
-%if 0%{?with_hardware}
|
|
|
|
-%ifarch %{ix86} x86_64
|
|
|
|
-%{_includedir}/vulkan/vulkan_intel.h
|
|
|
|
-%endif
|
|
|
|
-%endif
|
|
|
|
%endif
|
|
%endif
|
|
|
|
|
|
%if %{with source}
|
|
%if %{with source}
|
|
@@ -678,6 +670,11 @@ mkdir -p $RPM_BUILD_ROOT/%{mesasourcedir}
|
|
|
|
|
|
|
|
|
|
%changelog
|
|
%changelog
|
|
|
|
+* Fri Oct 22 2021 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 21.2.4-1
|
|
|
|
+- updated to 21.2.4.
|
|
|
|
+- built with llvm-13.
|
|
|
|
+- dropped Patch0 and 3.
|
|
|
|
+
|
|
* Sat Apr 17 2021 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 21.0.2-1
|
|
* Sat Apr 17 2021 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 21.0.2-1
|
|
- updated to 21.0.2.
|
|
- updated to 21.0.2.
|
|
- built with llvm-12.
|
|
- built with llvm-12.
|