mirror of
https://src.fedoraproject.org/rpms/mesa.git
synced 2024-11-28 11:06:25 +00:00
Enable panfrost
This commit is contained in:
parent
fbee2edeaf
commit
f2ad1e1493
1 changed files with 9 additions and 2 deletions
11
mesa.spec
11
mesa.spec
|
@ -24,6 +24,7 @@
|
|||
%global with_freedreno 1
|
||||
%global with_kmsro 1
|
||||
%global with_lima 1
|
||||
%global with_panfrost 1
|
||||
%global with_tegra 1
|
||||
%global with_vc4 1
|
||||
%global with_xa 1
|
||||
|
@ -49,7 +50,7 @@ Name: mesa
|
|||
Summary: Mesa graphics libraries
|
||||
%global ver 19.1.0-rc1
|
||||
Version: %{lua:ver = string.gsub(rpm.expand("%{ver}"), "-", "~"); print(ver)}
|
||||
Release: 2%{?dist}
|
||||
Release: 3%{?dist}
|
||||
License: MIT
|
||||
URL: http://www.mesa3d.org
|
||||
|
||||
|
@ -361,7 +362,7 @@ cp %{SOURCE1} docs/
|
|||
-Ddri3=true \
|
||||
-Ddri-drivers=%{?dri_drivers} \
|
||||
%if 0%{?with_hardware}
|
||||
-Dgallium-drivers=swrast,virgl,r300,nouveau%{?with_vmware:,svga}%{?with_radeonsi:,radeonsi,r600}%{?with_freedreno:,freedreno}%{?with_etnaviv:,etnaviv}%{?with_tegra:,tegra}%{?with_vc4:,vc4}%{?with_kmsro:,kmsro}%{?with_lima:,lima} \
|
||||
-Dgallium-drivers=swrast,virgl,r300,nouveau%{?with_vmware:,svga}%{?with_radeonsi:,radeonsi,r600}%{?with_freedreno:,freedreno}%{?with_etnaviv:,etnaviv}%{?with_tegra:,tegra}%{?with_vc4:,vc4}%{?with_kmsro:,kmsro}%{?with_lima:,lima}%{?with_panfrost:,panfrost} \
|
||||
%else
|
||||
-Dgallium-drivers=swrast,virgl \
|
||||
%endif
|
||||
|
@ -563,6 +564,9 @@ popd
|
|||
%if 0%{?with_lima}
|
||||
%{_libdir}/dri/lima_dri.so
|
||||
%endif
|
||||
%if 0%{?with_panfrost}
|
||||
%{_libdir}/dri/panfrost_dri.so
|
||||
%endif
|
||||
%{_libdir}/dri/nouveau_dri.so
|
||||
%if 0%{?with_vmware}
|
||||
%{_libdir}/dri/vmwgfx_dri.so
|
||||
|
@ -630,6 +634,9 @@ popd
|
|||
%endif
|
||||
|
||||
%changelog
|
||||
* Fri May 10 2019 Peter Robinson <pbrobinson@fedoraproject.org> 19.1.0~rc1-3
|
||||
- Enable panfrost
|
||||
|
||||
* Thu May 09 2019 Adam Jackson <ajax@redhat.com> -19.1.0~rc1-2
|
||||
- Enable lima
|
||||
|
||||
|
|
Loading…
Reference in a new issue