SPECS: evas.spec - bcond with fb - bcond with directfb

cactus cactus at pld-linux.org
Sun Jun 1 23:42:01 CEST 2008


Author: cactus                       Date: Sun Jun  1 21:42:01 2008 GMT
Module: SPECS                         Tag: HEAD
---- Log message:
- bcond with fb
- bcond with directfb

---- Files affected:
SPECS:
   evas.spec (1.50 -> 1.51) 

---- Diffs:

================================================================
Index: SPECS/evas.spec
diff -u SPECS/evas.spec:1.50 SPECS/evas.spec:1.51
--- SPECS/evas.spec:1.50	Sun Jun  1 16:28:39 2008
+++ SPECS/evas.spec	Sun Jun  1 23:41:56 2008
@@ -7,7 +7,8 @@
 %bcond_without	mmx		# without MMX and MMX2
 %bcond_without	sse		# without SSE
 %bcond_without	altivec		# without altivec
-%bcond_without	directfb	# build without DirectFB support
+%bcond_with	fb		# build without FB support
+%bcond_with	directfb	# build without DirectFB support
 %bcond_without	static_libs	# don't build static library
 #
 %ifnarch i586 i686 pentium3 pentium4 athlon %{x8664}
@@ -425,7 +426,7 @@
 	--enable-software-x11 	\
 	--enable-buffer		\
 	--%{?with_directfb:en}%{!?with_directfb:dis}able-directfb	\
-	--enable-fb		\
+	--%{?with_fb:en}%{!?with_fb:dis}able-fb		\
 	--enable-gl-x11		\
 	--enable-glitz-x11	\
 	--enable-xrender-x11	\
@@ -506,17 +507,21 @@
 %dir %{_libdir}/%{name}/modules/engines/buffer/linux-gnu-*
 %attr(755,root,root) %{_libdir}/%{name}/modules/engines/buffer/linux-gnu-*/module.so
 
-#%files engine-directfb
-#%defattr(644,root,root,755)
-#%dir %{_libdir}/%{name}/modules/engines/directfb
-#%dir %{_libdir}/%{name}/modules/engines/directfb/linux-gnu-*
-#%attr(755,root,root) %{_libdir}/%{name}/modules/engines/directfb/linux-gnu-*/module.so
+%if %{with directfb}
+%files engine-directfb
+%defattr(644,root,root,755)
+%dir %{_libdir}/%{name}/modules/engines/directfb
+%dir %{_libdir}/%{name}/modules/engines/directfb/linux-gnu-*
+%attr(755,root,root) %{_libdir}/%{name}/modules/engines/directfb/linux-gnu-*/module.so
+%endif
 
+%if %{with fb}
 %files engine-fb
 %defattr(644,root,root,755)
 %dir %{_libdir}/%{name}/modules/engines/fb
 %dir %{_libdir}/%{name}/modules/engines/fb/linux-gnu-*
 %attr(755,root,root) %{_libdir}/%{name}/modules/engines/fb/linux-gnu-*/module.so
+%endif
 
 %files engine-gl_x11
 %defattr(644,root,root,755)
@@ -658,6 +663,10 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.51  2008-06-01 21:41:56  cactus
+- bcond with fb
+- bcond with directfb
+
 Revision 1.50  2008-06-01 14:28:39  cactus
 - up to 0.9.9.043
 - new subpackage loader-pmap
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/SPECS/evas.spec?r1=1.50&r2=1.51&f=u



More information about the pld-cvs-commit mailing list