1
0
forked from rpms/mesa

Enable v3d driver

This commit is contained in:
Peter Robinson 2019-06-24 18:41:44 +01:00
parent 7c81ae5911
commit 51d65ab670

View File

@ -27,6 +27,7 @@
%global with_panfrost 1 %global with_panfrost 1
%global with_tegra 1 %global with_tegra 1
%global with_vc4 1 %global with_vc4 1
%global with_v3d 1
%global with_xa 1 %global with_xa 1
%endif %endif
@ -50,7 +51,7 @@ Name: mesa
Summary: Mesa graphics libraries Summary: Mesa graphics libraries
%global ver 19.1.0 %global ver 19.1.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
@ -363,7 +364,7 @@ cp %{SOURCE2} .
-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_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} \ -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_v3d:,v3d}%{?with_kmsro:,kmsro}%{?with_lima:,lima}%{?with_panfrost:,panfrost} \
%else %else
-Dgallium-drivers=swrast,virgl \ -Dgallium-drivers=swrast,virgl \
%endif %endif
@ -554,6 +555,9 @@ popd
%if 0%{?with_vc4} %if 0%{?with_vc4}
%{_libdir}/dri/vc4_dri.so %{_libdir}/dri/vc4_dri.so
%endif %endif
%if 0%{?with_v3d}
%{_libdir}/dri/v3d_dri.so
%endif
%if 0%{?with_freedreno} %if 0%{?with_freedreno}
%{_libdir}/dri/kgsl_dri.so %{_libdir}/dri/kgsl_dri.so
%{_libdir}/dri/msm_dri.so %{_libdir}/dri/msm_dri.so
@ -638,6 +642,9 @@ popd
%endif %endif
%changelog %changelog
* Mon Jun 24 2019 Peter Robinson <pbrobinson@fedoraproject.org> 19.1.0-2
- Enable v3d driver
* Wed Jun 12 2019 Igor Gnatenko <ignatenkobrain@fedoraproject.org> - 19.1.0-1 * Wed Jun 12 2019 Igor Gnatenko <ignatenkobrain@fedoraproject.org> - 19.1.0-1
- Update to 19.1.0 - Update to 19.1.0