]> git.pld-linux.org Git - packages/gegl.git/blobdiff - gegl.spec
- use MMX/SSE only where always supported or explicitly requested
[packages/gegl.git] / gegl.spec
index 2600d39fb21173450e067487ae918578679a6c48..df54d4f67e179ca19059bc6498113c3d2807c143 100644 (file)
--- a/gegl.spec
+++ b/gegl.spec
@@ -1,12 +1,23 @@
+#
+# 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
-Version:       0.0.16
+Version:       0.0.18
 Release:       1
 License:       LGPL v3+
 Group:         Libraries
 Source0:       ftp://ftp.gtk.org/pub/gegl/0.0/%{name}-%{version}.tar.bz2
-# Source0-md5: fd49cb219ece97f4677554db4a2c02d1
+# Source0-md5: e458409440a7b51f446df321c3657e4d
 Patch0:                %{name}-lua.patch
 URL:           http://www.gegl.org/
 BuildRequires: OpenEXR-devel
@@ -14,7 +25,7 @@ BuildRequires:        SDL-devel
 BuildRequires: asciidoc
 BuildRequires: autoconf >= 2.54
 BuildRequires: automake
-BuildRequires: babl-devel >= 0.0.20
+BuildRequires: babl-devel >= 0.0.22
 BuildRequires: cairo-devel
 BuildRequires: enscript
 BuildRequires: ffmpeg-devel
@@ -99,6 +110,8 @@ Dokumentacja API biblioteki gegl.
 %{__autoheader}
 %{__automake}
 %configure \
+       %{!?with_mmx:--disable-mmx} \
+       %{!?with_sse:--disable-sse} \
        --enable-static
 %{__make}
 
This page took 0.048758 seconds and 4 git commands to generate.