evas.spec - poprawka

Paweł Chmiel golecpch at interia.pl
Sat Aug 9 17:43:03 CEST 2008


Witam
W załączniku poprawka do evas.spec. Evas buduje sie teraz, wylaczylem 
opcje --enable-xrender-xcb, na ktorej wywalalo sie budowanie ( 
probowalem tez zbudowac wersje z cvs ale ona rowniez wywala sie w tym 
samym momencie) a ktora nie jest wymagana do dzialania E17. Mozliwe wiec 
jest przebudowanie Enlightenment.

----------------
Pozdrawiam Pablo
-------------- next part --------------
--- evas.spec.orig	2008-06-03 18:12:07.000000000 +0000
+++ evas.spec	2008-08-09 15:35:19.000000000 +0000
@@ -9,6 +9,7 @@
 %bcond_without	altivec		# without altivec
 %bcond_without	fb		# build without FB support
 %bcond_with	soft_xcb	# build with software xcb support
+%bcond_with	xrender_xcb	# build with xrender xcb support
 %bcond_without	static_libs	# don't build static library
 #
 %ifnarch i586 i686 pentium3 pentium4 athlon %{x8664}
@@ -415,7 +416,7 @@
 	--enable-gl-x11		\
 	--enable-glitz-x11	\
 	--enable-xrender-x11	\
-	--enable-xrender-xcb	\
+	%{!?with_xrender_xcb:--enable-xrender-xcb}	\
 	--enable-font-loader-eet	\
 	--enable-image-loader-edb	\
 	--enable-image-loader-eet	\
@@ -546,11 +547,13 @@
 %dir %{_libdir}/%{name}/modules/engines/xrender_x11/linux-gnu-*
 %attr(755,root,root) %{_libdir}/%{name}/modules/engines/xrender_x11/linux-gnu-*/module.so
 
+%if %{with xrender_xcb}
 %files engine-xrender_xcb
 %defattr(644,root,root,755)
 %dir %{_libdir}/%{name}/modules/engines/xrender_xcb
 %dir %{_libdir}/%{name}/modules/engines/xrender_xcb/linux-gnu-*
 %attr(755,root,root) %{_libdir}/%{name}/modules/engines/xrender_xcb/linux-gnu-*/module.so
+%endif
 
 %files loader-edb
 %defattr(644,root,root,755)


More information about the pld-devel-pl mailing list