]> git.pld-linux.org Git - packages/Eterm.git/commitdiff
- allow to enable mmx/sse2 on other subarchs (like i686)
authorJakub Bogusz <qboosh@pld-linux.org>
Wed, 4 Oct 2006 06:23:47 +0000 (06:23 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
Changed files:
    Eterm.spec -> 1.80

Eterm.spec

index 9d13ef225ed58553f703db9d4178efed43f9de23..f149d66e48537ca8933b929ed2d65a00018b1813 100644 (file)
@@ -1,3 +1,14 @@
+#
+# 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
@@ -75,12 +86,11 @@ korzystanie z pseudo-przezroczysto
 %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}
@@ -93,12 +103,12 @@ rm -f missing
        --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          \
This page took 0.09304 seconds and 4 git commands to generate.