Enable gallium-egl (needed by freedreeno)

This commit is contained in:
Nicolas Chauvet 2014-02-03 16:30:37 +01:00
parent 9487c811f4
commit dedf55fce6

View file

@ -390,7 +390,7 @@ export CXXFLAGS="$RPM_OPT_FLAGS %{?with_opencl:-frtti -fexceptions} %{!?with_ope
--enable-egl \ --enable-egl \
--disable-gles1 \ --disable-gles1 \
--enable-gles2 \ --enable-gles2 \
--disable-gallium-egl \ --enable-gallium-egl \
--disable-xvmc \ --disable-xvmc \
%{?with_vdpau:--enable-vdpau} \ %{?with_vdpau:--enable-vdpau} \
--with-egl-platforms=x11,drm%{?with_wayland:,wayland} \ --with-egl-platforms=x11,drm%{?with_wayland:,wayland} \
@ -541,6 +541,10 @@ rm -rf $RPM_BUILD_ROOT
%endif %endif
%endif %endif
%{_libdir}/dri/swrast_dri.so %{_libdir}/dri/swrast_dri.so
%ifarch %{arm}
%dir %{_libdir}/gallium-pipe
%{_libdir}/gallium-pipe/*.so
%endif
%if %{with_hardware} %if %{with_hardware}
%if 0%{?with_omx} %if 0%{?with_omx}
@ -589,6 +593,8 @@ rm -rf $RPM_BUILD_ROOT
%{_includedir}/KHR/khrplatform.h %{_includedir}/KHR/khrplatform.h
%{_libdir}/pkgconfig/egl.pc %{_libdir}/pkgconfig/egl.pc
%{_libdir}/libEGL.so %{_libdir}/libEGL.so
%dir %{_libdir}/egl
%{_libdir}/egl/egl_gallium.so
%files libGLES-devel %files libGLES-devel
%defattr(-,root,root,-) %defattr(-,root,root,-)
@ -620,6 +626,8 @@ rm -rf $RPM_BUILD_ROOT
%doc docs/COPYING %doc docs/COPYING
%{_libdir}/libgbm.so.1 %{_libdir}/libgbm.so.1
%{_libdir}/libgbm.so.1.* %{_libdir}/libgbm.so.1.*
%dir %{_libdir}/gbm
%{_libdir}/gbm/gbm_gallium_drm.so
%files libgbm-devel %files libgbm-devel
%defattr(-,root,root,-) %defattr(-,root,root,-)