SPECS: gegl.spec - use MMX/SSE only where always supported or explicitly re...

qboosh qboosh at pld-linux.org
Thu Jun 19 23:47:54 CEST 2008


Author: qboosh                       Date: Thu Jun 19 21:47:54 2008 GMT
Module: SPECS                         Tag: HEAD
---- Log message:
- use MMX/SSE only where always supported or explicitly requested

---- Files affected:
SPECS:
   gegl.spec (1.6 -> 1.7) 

---- Diffs:

================================================================
Index: SPECS/gegl.spec
diff -u SPECS/gegl.spec:1.6 SPECS/gegl.spec:1.7
--- SPECS/gegl.spec:1.6	Wed Jun 18 23:42:55 2008
+++ SPECS/gegl.spec	Thu Jun 19 23:47:49 2008
@@ -1,4 +1,15 @@
 # $Revision$, $Date$
+#
+# Conditional build:
+%bcond_with	mmx	# use MMX instructions
+%bcond_with	sse	# use SSE instructions
+#
+%ifarch %{x8664} athlon pentium3 pentium4
+%define	with_mmx	1
+%endif
+%ifarch %{x8664} pentium3 pentium4
+%define	with_sse	1
+%endif
 Summary:	Generic image processing library
 Summary(pl.UTF-8):	Ogólna biblioteka przetwarzania obrazu
 Name:		gegl
@@ -100,6 +111,8 @@
 %{__autoheader}
 %{__automake}
 %configure \
+	%{!?with_mmx:--disable-mmx} \
+	%{!?with_sse:--disable-sse} \
 	--enable-static
 %{__make}
 
@@ -148,6 +161,9 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.7  2008/06/19 21:47:49  qboosh
+- use MMX/SSE only where always supported or explicitly requested
+
 Revision 1.6  2008/06/18 21:42:55  wolf
 - 0.0.18
 
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/SPECS/gegl.spec?r1=1.6&r2=1.7&f=u



More information about the pld-cvs-commit mailing list