Enable v3d, vc4 for Raspberry Pi graphics
Resolves: https://github.com/AlmaLinux/raspberry-pi/issues/32
This commit is contained in:
parent
fdf78b7dd8
commit
3e2c4a939d
@ -23,6 +23,11 @@
|
||||
|
||||
%ifarch %{arm} aarch64
|
||||
%define with_xa 1
|
||||
# RHEL doesn't ship vc4 and v3d but we do for RPi
|
||||
%if 0%{?almalinux}
|
||||
%define with_v3d 1
|
||||
%define with_vc4 1
|
||||
%endif
|
||||
%endif
|
||||
|
||||
%if 0%{?with_vulkan_hw}
|
||||
@ -38,7 +43,7 @@
|
||||
Name: mesa
|
||||
Summary: Mesa graphics libraries
|
||||
Version: 23.1.4
|
||||
Release: 2%{?rctag:.%{rctag}}%{?dist}
|
||||
Release: 2%{?rctag:.%{rctag}}%{?dist}.alma.1
|
||||
|
||||
License: MIT
|
||||
URL: http://www.mesa3d.org
|
||||
@ -349,7 +354,7 @@ export PYTHONPATH=/usr/lib/python3.6/site-packages/:%{buildroot}/usr/lib/python3
|
||||
-Ddri3=enabled \
|
||||
-Dosmesa=true \
|
||||
%if 0%{?with_hardware}
|
||||
-Dgallium-drivers=swrast%{?with_crocus:,crocus}%{?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} \
|
||||
-Dgallium-drivers=swrast%{?with_crocus:,crocus}%{?with_iris:,iris},virgl,nouveau%{?with_vmware:,svga},radeonsi,r600%{?with_freedreno:,freedreno}%{?with_etnaviv:,etnaviv}%{?with_tegra:,tegra}%{?with_v3d:,v3d}%{?with_vc4:,vc4}%{?with_kmsro:,kmsro} \
|
||||
%else
|
||||
-Dgallium-drivers=swrast,virgl \
|
||||
%endif
|
||||
@ -524,6 +529,9 @@ done
|
||||
%{_libdir}/dri/crocus_dri.so
|
||||
%{_libdir}/dri/iris_dri.so
|
||||
%endif
|
||||
%if 0%{?with_v3d}
|
||||
%{_libdir}/dri/v3d_dri.so
|
||||
%endif
|
||||
%if 0%{?with_vc4}
|
||||
%{_libdir}/dri/vc4_dri.so
|
||||
%endif
|
||||
@ -587,6 +595,10 @@ done
|
||||
%endif
|
||||
|
||||
%changelog
|
||||
* Tue Jun 25 2024 Koichiro Iwao <meta@almalinux.org> - 23.1.4-2.alma.1
|
||||
- Enable v3d for Raspberry Pi graphic in AlmaLinux
|
||||
Resolves: https://github.com/AlmaLinux/raspberry-pi/issues/32
|
||||
|
||||
* Thu Nov 23 2023 José Expósito <jexposit@redhat.com> - 23.1.4-2
|
||||
- Rebuild against LLVM 17
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user