mirror of
https://src.fedoraproject.org/rpms/mesa.git
synced 2024-11-24 09:32:42 +00:00
Enable Crocus driver
The driver is not used by default, so it's safe to package it without breaking anything. It could be used with MESA_LOADER_DRIVER_OVERRIDE=crocus environmental variable. Signed-off-by: Pete Walter <pwalter@fedoraproject.org>
This commit is contained in:
parent
34d9cd42cf
commit
263d093bf3
1 changed files with 7 additions and 2 deletions
|
@ -13,6 +13,7 @@
|
||||||
%endif
|
%endif
|
||||||
|
|
||||||
%ifarch %{ix86} x86_64
|
%ifarch %{ix86} x86_64
|
||||||
|
%global with_crocus 1
|
||||||
%global with_iris 1
|
%global with_iris 1
|
||||||
%global with_vmware 1
|
%global with_vmware 1
|
||||||
%global with_xa 1
|
%global with_xa 1
|
||||||
|
@ -58,7 +59,7 @@ Name: mesa
|
||||||
Summary: Mesa graphics libraries
|
Summary: Mesa graphics libraries
|
||||||
%global ver 21.2.0
|
%global ver 21.2.0
|
||||||
Version: %{lua:ver = string.gsub(rpm.expand("%{ver}"), "-", "~"); print(ver)}
|
Version: %{lua:ver = string.gsub(rpm.expand("%{ver}"), "-", "~"); print(ver)}
|
||||||
Release: 1%{?dist}
|
Release: 2%{?dist}
|
||||||
License: MIT
|
License: MIT
|
||||||
URL: http://www.mesa3d.org
|
URL: http://www.mesa3d.org
|
||||||
|
|
||||||
|
@ -332,7 +333,7 @@ cp %{SOURCE1} docs/
|
||||||
-Ddri-drivers=%{?dri_drivers} \
|
-Ddri-drivers=%{?dri_drivers} \
|
||||||
-Dosmesa=true \
|
-Dosmesa=true \
|
||||||
%if 0%{?with_hardware}
|
%if 0%{?with_hardware}
|
||||||
-Dgallium-drivers=swrast,virgl,nouveau%{?with_r300:,r300}%{?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_hw:,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_hw:,zink} \
|
||||||
%else
|
%else
|
||||||
-Dgallium-drivers=swrast,virgl \
|
-Dgallium-drivers=swrast,virgl \
|
||||||
%endif
|
%endif
|
||||||
|
@ -494,6 +495,7 @@ popd
|
||||||
%{_libdir}/dri/i915_dri.so
|
%{_libdir}/dri/i915_dri.so
|
||||||
%{_libdir}/dri/i965_dri.so
|
%{_libdir}/dri/i965_dri.so
|
||||||
%endif
|
%endif
|
||||||
|
%{_libdir}/dri/crocus_dri.so
|
||||||
%{_libdir}/dri/iris_dri.so
|
%{_libdir}/dri/iris_dri.so
|
||||||
%endif
|
%endif
|
||||||
%ifarch %{arm} aarch64
|
%ifarch %{arm} aarch64
|
||||||
|
@ -604,6 +606,9 @@ popd
|
||||||
%files vulkan-devel
|
%files vulkan-devel
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Thu Aug 05 2021 ValdikSS <iam@valdikss.org.ru> - 21.2.0-2
|
||||||
|
- Enable Crocus driver
|
||||||
|
|
||||||
* Thu Aug 05 2021 Pete Walter <pwalter@fedoraproject.org> - 21.2.0-1
|
* Thu Aug 05 2021 Pete Walter <pwalter@fedoraproject.org> - 21.2.0-1
|
||||||
- Update to 21.2.0
|
- Update to 21.2.0
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue