mirror of
https://src.fedoraproject.org/rpms/mesa.git
synced 2024-11-28 11:06:25 +00:00
- fix build without hardware drivers
This commit is contained in:
parent
bcf19e400c
commit
1320f8d741
1 changed files with 12 additions and 3 deletions
15
mesa.spec
15
mesa.spec
|
@ -59,7 +59,7 @@
|
||||||
Summary: Mesa graphics libraries
|
Summary: Mesa graphics libraries
|
||||||
Name: mesa
|
Name: mesa
|
||||||
Version: 10.2
|
Version: 10.2
|
||||||
Release: 0.9.rc5.%{gitdate}%{?dist}
|
Release: 0.10.rc5.%{gitdate}%{?dist}
|
||||||
License: MIT
|
License: MIT
|
||||||
Group: System Environment/Libraries
|
Group: System Environment/Libraries
|
||||||
URL: http://www.mesa3d.org
|
URL: http://www.mesa3d.org
|
||||||
|
@ -390,7 +390,9 @@ export CXXFLAGS="$RPM_OPT_FLAGS %{?with_opencl:-frtti -fexceptions} %{!?with_ope
|
||||||
--enable-egl \
|
--enable-egl \
|
||||||
--disable-gles1 \
|
--disable-gles1 \
|
||||||
--enable-gles2 \
|
--enable-gles2 \
|
||||||
|
%if %{with_hardware}
|
||||||
--enable-gallium-egl \
|
--enable-gallium-egl \
|
||||||
|
%endif
|
||||||
--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} \
|
||||||
|
@ -490,8 +492,10 @@ rm -rf $RPM_BUILD_ROOT
|
||||||
%doc docs/COPYING
|
%doc docs/COPYING
|
||||||
%{_libdir}/libEGL.so.1
|
%{_libdir}/libEGL.so.1
|
||||||
%{_libdir}/libEGL.so.1.*
|
%{_libdir}/libEGL.so.1.*
|
||||||
|
%if %{with_hardware}
|
||||||
%dir %{_libdir}/egl
|
%dir %{_libdir}/egl
|
||||||
%{_libdir}/egl/egl_gallium.so
|
%{_libdir}/egl/egl_gallium.so
|
||||||
|
%endif
|
||||||
|
|
||||||
%files libGLES
|
%files libGLES
|
||||||
%defattr(-,root,root,-)
|
%defattr(-,root,root,-)
|
||||||
|
@ -541,10 +545,10 @@ rm -rf $RPM_BUILD_ROOT
|
||||||
%if 0%{?with_vmware}
|
%if 0%{?with_vmware}
|
||||||
%{_libdir}/dri/vmwgfx_dri.so
|
%{_libdir}/dri/vmwgfx_dri.so
|
||||||
%endif
|
%endif
|
||||||
%endif
|
|
||||||
%{_libdir}/dri/swrast_dri.so
|
|
||||||
%dir %{_libdir}/gallium-pipe
|
%dir %{_libdir}/gallium-pipe
|
||||||
%{_libdir}/gallium-pipe/*.so
|
%{_libdir}/gallium-pipe/*.so
|
||||||
|
%endif
|
||||||
|
%{_libdir}/dri/swrast_dri.so
|
||||||
|
|
||||||
%if %{with_hardware}
|
%if %{with_hardware}
|
||||||
%if 0%{?with_omx}
|
%if 0%{?with_omx}
|
||||||
|
@ -624,8 +628,10 @@ 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.*
|
||||||
|
%if %{with_hardware}
|
||||||
%dir %{_libdir}/gbm
|
%dir %{_libdir}/gbm
|
||||||
%{_libdir}/gbm/gbm_gallium_drm.so
|
%{_libdir}/gbm/gbm_gallium_drm.so
|
||||||
|
%endif
|
||||||
|
|
||||||
%files libgbm-devel
|
%files libgbm-devel
|
||||||
%defattr(-,root,root,-)
|
%defattr(-,root,root,-)
|
||||||
|
@ -676,6 +682,9 @@ rm -rf $RPM_BUILD_ROOT
|
||||||
%endif
|
%endif
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Wed Jun 04 2014 Dan Horák <dan[at]danny.cz> - 10.2-0.10.rc5.20140531
|
||||||
|
- fix build without hardware drivers
|
||||||
|
|
||||||
* Sat May 31 2014 Igor Gnatenko <i.gnatenko.brain@gmail.com> - 10.2-0.9.rc5.20140531
|
* Sat May 31 2014 Igor Gnatenko <i.gnatenko.brain@gmail.com> - 10.2-0.9.rc5.20140531
|
||||||
- 10.2-rc5 upstream release
|
- 10.2-rc5 upstream release
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue