]> git.pld-linux.org Git - packages/libpng.git/blobdiff - libpng.spec
- up to 1.6.32
[packages/libpng.git] / libpng.spec
index 00ebc57c13f0e64559b8ed4cb3e06edebd2c9b4f..3d6e4144f312c08b1d0e5220d7b445af5b4e6d79 100644 (file)
@@ -1,4 +1,5 @@
-# TODO: switch to zlib >= 1.2.8.1 when released (for inflateValidate())
+# NOTE: there is intel SSE optimization available but with no runtime detection;
+#       it's enabled based on compiler flags (-msse*, either explicit or implied by -march=)
 #
 # Conditional build:
 %bcond_without tests           # don't perform "make check"
@@ -12,16 +13,16 @@ Summary(pl.UTF-8):  Biblioteka PNG
 Summary(pt_BR.UTF-8):  Biblioteca PNG
 Summary(tr.UTF-8):     PNG kitaplığı
 Name:          libpng
-Version:       1.6.26
+Version:       1.6.32
 Release:       1
 Epoch:         2
 License:       distributable
 Group:         Libraries
 Source0:       http://downloads.sourceforge.net/libpng/%{name}-%{version}.tar.xz
-# Source0-md5: faed9bb495d2e12dd0c9ec561ca60cd8
+# Source0-md5: e01be057a9369183c959b793a685ad15
 Patch0:                %{name}-pngminus.patch
 Patch1:                http://downloads.sourceforge.net/libpng-apng/%{name}-%{version}-apng.patch.gz
-# Patch1-md5:  921d2717418bf74b40b94191c8b282c7
+# Patch1-md5:  1760dbaa13c2569fdda6d83f6483701e
 URL:           http://www.libpng.org/pub/png/libpng.html
 BuildRequires: rpmbuild(macros) >= 1.213
 BuildRequires: tar >= 1:1.22
@@ -148,7 +149,17 @@ Narzędzia do konwersji plików PNG z lub do plików PNM.
 %patch1 -p1
 
 %build
-%configure
+%configure \
+%ifarch %{arm} aarch64
+       --enable-arm-neon=check \
+%endif
+%ifarch mipsel mips64el
+       --enable-mips-msa=check \
+%endif
+%ifarch ppc ppc64
+       --enable-powerpc-vsx=check
+%endif
+
 %{__make}
 
 %{__make} -C contrib/pngminus -f makefile.std \
This page took 0.105627 seconds and 4 git commands to generate.