Build tegra too

This commit is contained in:
Adam Jackson 2018-06-15 12:21:16 -04:00
parent 7c4548d416
commit 20136eda59

View File

@ -24,6 +24,7 @@
%ifarch %{arm} aarch64 %ifarch %{arm} aarch64
%define with_etnaviv 1 %define with_etnaviv 1
%define with_freedreno 1 %define with_freedreno 1
%define with_tegra 1
%define with_vc4 1 %define with_vc4 1
%define with_xa 1 %define with_xa 1
%endif %endif
@ -51,7 +52,7 @@
Name: mesa Name: mesa
Summary: Mesa graphics libraries Summary: Mesa graphics libraries
Version: 18.1.1 Version: 18.1.1
Release: 3%{?rctag:.%{rctag}}%{?dist} Release: 4%{?rctag:.%{rctag}}%{?dist}
License: MIT License: MIT
URL: http://www.mesa3d.org URL: http://www.mesa3d.org
@ -407,7 +408,7 @@ autoreconf -vfi
%if %{with_hardware} %if %{with_hardware}
%{?with_xa:--enable-xa} \ %{?with_xa:--enable-xa} \
%{?with_nine:--enable-nine} \ %{?with_nine:--enable-nine} \
--with-gallium-drivers=%{?with_vmware:svga,}%{?with_radeonsi:radeonsi,r600,}swrast,%{?with_freedreno:freedreno,}%{?with_etnaviv:etnaviv,imx,}%{?with_vc4:vc4,}virgl,r300,nouveau \ --with-gallium-drivers=%{?with_vmware:svga,}%{?with_radeonsi:radeonsi,r600,}swrast,%{?with_freedreno:freedreno,}%{?with_etnaviv:etnaviv,imx,}%{?with_tegra:tegra,}%{?with_vc4:vc4,}virgl,r300,nouveau \
%else %else
--with-gallium-drivers=swrast,virgl \ --with-gallium-drivers=swrast,virgl \
%endif %endif
@ -615,6 +616,9 @@ popd
%{_libdir}/dri/etnaviv_dri.so %{_libdir}/dri/etnaviv_dri.so
%{_libdir}/dri/imx-drm_dri.so %{_libdir}/dri/imx-drm_dri.so
%endif %endif
%if 0%{?with_tegra}
%{_libdir}/dri/tegra_dri.so
%endif
%{_libdir}/dri/nouveau_dri.so %{_libdir}/dri/nouveau_dri.so
%if 0%{?with_vmware} %if 0%{?with_vmware}
%{_libdir}/dri/vmwgfx_dri.so %{_libdir}/dri/vmwgfx_dri.so
@ -646,6 +650,9 @@ popd
%{_libdir}/vdpau/libvdpau_r600.so.1* %{_libdir}/vdpau/libvdpau_r600.so.1*
%{_libdir}/vdpau/libvdpau_radeonsi.so.1* %{_libdir}/vdpau/libvdpau_radeonsi.so.1*
%endif %endif
%if 0%{?with_tegra}
%{_libdir}/vdpau/libvdpau_tegra.so.1*
%endif
%endif %endif
%endif %endif
@ -666,6 +673,9 @@ popd
%endif %endif
%changelog %changelog
* Fri Jun 15 2018 Adam Jackson <ajax@redhat.com> - 18.1.1-4
- Build tegra too
* Thu Jun 14 2018 Adam Jackson <ajax@redhat.com> - 18.1.1-3 * Thu Jun 14 2018 Adam Jackson <ajax@redhat.com> - 18.1.1-3
- Change the name of the fallback GLX library - Change the name of the fallback GLX library