#
# Conditional build:
%bcond_with multi # build Multi-application core (requires working /dev/fusion*)
-%bcond_without one # Linux One IPC library
+%bcond_with one # Linux One IPC library
%bcond_without static_libs # don't build static libraries
%bcond_with sh772x # SH7722/SH7723 (SH-Mobile) graphics driver
%bcond_with avifile # AviFile video provider [not updated for DirectFB 1.7.0]
Summary(pl.UTF-8): DirectFB - Wspomaganie grafiki
Name: DirectFB
Version: 1.7.6
-Release: 5
+Release: 11
Epoch: 1
License: LGPL v2+
Group: Libraries
Patch10: %{name}-libmpeg3.patch
Patch11: %{name}-format.patch
Patch12: x32-asm.patch
+Patch13: ffmpeg3.patch
URL: http://www.directfb.org/
BuildRequires: Mesa-libEGL-devel
BuildRequires: Mesa-libGLES-devel
%patch10 -p1
%patch11 -p1
%patch12 -p1
+%patch13 -p1
# video drivers
%{__sed} -i -e 's/checkfor_\(cle266\|cyber5k\|radeon\|savage\|unichrome\|vmware\)=no/checkfor_\1=yes/' configure.in
%{?with_one:%{_libdir}/libone.la}
%{_libdir}/libuniquewm.la
%{_libdir}/libvoodoo.la
-%{_includedir}/One
+%{?with_one:%{_includedir}/One}
%{_includedir}/directfb
%{_includedir}/directfb-internal
%{_pkgconfigdir}/direct.pc
%attr(755,root,root) %{dfbdir}/interfaces/IComaComponent/libicomacomponent_*.so
%dir %{dfbdir}/interfaces/IFusionDale
%attr(755,root,root) %{dfbdir}/interfaces/IFusionDale/libifusiondale_*.so
+%if %{with one}
%dir %{dfbdir}/interfaces/IFusionDaleMessenger
%attr(755,root,root) %{dfbdir}/interfaces/IFusionDaleMessenger/libifusiondalemessenger_one.so
+%endif
%files -n FusionDale-devel
%defattr(644,root,root,755)