SPECS: Eterm.spec - allow to enable mmx/sse2 on other subarchs (li...
qboosh
qboosh at pld-linux.org
Wed Oct 4 08:23:53 CEST 2006
Author: qboosh Date: Wed Oct 4 06:23:53 2006 GMT
Module: SPECS Tag: HEAD
---- Log message:
- allow to enable mmx/sse2 on other subarchs (like i686)
---- Files affected:
SPECS:
Eterm.spec (1.79 -> 1.80)
---- Diffs:
================================================================
Index: SPECS/Eterm.spec
diff -u SPECS/Eterm.spec:1.79 SPECS/Eterm.spec:1.80
--- SPECS/Eterm.spec:1.79 Wed Sep 27 20:19:27 2006
+++ SPECS/Eterm.spec Wed Oct 4 08:23:47 2006
@@ -1,4 +1,15 @@
# $Revision$, $Date$
+#
+# Conditional build:
+%bcond_with mmx # use MMX instructions
+%bcond_with sse2 # use SSE2 instructions
+#
+%ifarch athlon pentium3 pentium4
+%define with_mmx 1
+%endif
+%ifarch %{x8664}
+%define with_sse2 1
+%endif
Summary: Terminal for Enlightenment
Summary(es): Terminal para Enlightenment
Summary(pl): Terminal dla Enlightenmenta
@@ -76,12 +87,11 @@
%prep
%setup -q -a1
%patch0 -p1
-%patch1 -p1
+%patch1 -p1
find themes/ -name "*.cfg*" -exec \
sed -i 's/<Eterm-0\.9\..>/<Eterm-%{version}>/' "{}" ";"
%build
-rm -f missing
%{__libtoolize}
%{__aclocal}
%{__autoconf}
@@ -94,12 +104,12 @@
--enable-escreen-fx \
--enable-profile \
--enable-trans \
-%ifarch athlon
+%if %{with mmx}
--enable-mmx \
%else
--disable-mmx \
%endif
-%ifarch %{x8664}
+%if %{with sse2}
--enable-sse2 \
%else
--disable-sse2 \
@@ -156,6 +166,9 @@
All persons listed below can be reached at <cvs_login>@pld-linux.org
$Log$
+Revision 1.80 2006/10/04 06:23:47 qboosh
+- allow to enable mmx/sse2 on other subarchs (like i686)
+
Revision 1.79 2006/09/27 18:19:27 glen
- drop non-cvs changelog (changelog truncation confuses chronological order)
================================================================
---- CVS-web:
http://cvs.pld-linux.org/SPECS/Eterm.spec?r1=1.79&r2=1.80&f=u
More information about the pld-cvs-commit
mailing list