From 28f7e7ed51c36878688e4fc2d370a1ed9b19a6e8 Mon Sep 17 00:00:00 2001 From: Rob Clark Date: Fri, 27 Feb 2015 14:05:39 -0500 Subject: enable vc4 on arm --- mesa.spec | 11 +++++++++-- 1 file changed, 9 insertions(+), 2 deletions(-) diff --git a/mesa.spec b/mesa.spec index f61c413..2e1d04d 100644 --- a/mesa.spec +++ b/mesa.spec @@ -37,6 +37,7 @@ %define with_omx 1 %endif %ifarch %{arm} aarch64 +%define with_vc4 1 %define with_freedreno 1 %define with_xa 1 %define with_omx 1 @@ -54,7 +55,7 @@ Summary: Mesa graphics libraries Name: mesa Version: 10.6.0 -Release: 0.devel.1.%{git}%{?dist} +Release: 0.devel.2.%{git}%{?dist} License: MIT Group: System Environment/Libraries URL: http://www.mesa3d.org @@ -414,7 +415,7 @@ export CXXFLAGS="$RPM_OPT_FLAGS %{?with_opencl:-frtti -fexceptions} %{!?with_ope %if %{with_hardware} %{?with_xa:--enable-xa} \ %{?with_nine:--enable-nine} \ - --with-gallium-drivers=%{?with_vmware:svga,}%{?with_radeonsi:radeonsi,}%{?with_llvm:swrast,r600,}%{?with_freedreno:freedreno,}%{?with_ilo:ilo,}r300,nouveau \ + --with-gallium-drivers=%{?with_vmware:svga,}%{?with_radeonsi:radeonsi,}%{?with_llvm:swrast,r600,}%{?with_freedreno:freedreno,}%{?with_vc4:vc4,}%{?with_ilo:ilo,}r300,nouveau \ %else --with-gallium-drivers=%{?with_llvm:swrast} \ %endif @@ -547,6 +548,9 @@ rm -rf $RPM_BUILD_ROOT %{_libdir}/dri/ilo_dri.so %endif %endif +%if 0%{?with_vc4} +%{_libdir}/dri/vc4_dri.so +%endif %if 0%{?with_freedreno} %{_libdir}/dri/kgsl_dri.so %{_libdir}/dri/msm_dri.so @@ -710,6 +714,9 @@ rm -rf $RPM_BUILD_ROOT # Generate changelog using: # git log old_commit_sha..new_commit_sha --format="- %H: %s (%an)" %changelog +* Fri Feb 27 2015 Rob Clark - 10.6.0-0.devel.1.f80af89 - f80af89 -- cgit