[packages/libpng] - updated to 1.6.29

qboosh qboosh at pld-linux.org
Mon Apr 3 21:52:28 CEST 2017


commit 6d35269c15ba46a49f8436afcb74e3f0711e6aba
Author: Jakub Bogusz <qboosh at pld-linux.org>
Date:   Mon Apr 3 21:52:28 2017 +0200

    - updated to 1.6.29

 libpng.spec | 20 ++++++++++++++++----
 1 file changed, 16 insertions(+), 4 deletions(-)
---
diff --git a/libpng.spec b/libpng.spec
index dd906b8..65e73a0 100644
--- a/libpng.spec
+++ b/libpng.spec
@@ -1,3 +1,5 @@
+# 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"
@@ -11,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.28
+Version:	1.6.29
 Release:	1
 Epoch:		2
 License:	distributable
 Group:		Libraries
 Source0:	http://downloads.sourceforge.net/libpng/%{name}-%{version}.tar.xz
-# Source0-md5:	425354f86c392318d31aedca71019372
+# Source0-md5:	3245dbd76ea91e1437507357b858ec97
 Patch0:		%{name}-pngminus.patch
 Patch1:		http://downloads.sourceforge.net/libpng-apng/%{name}-%{version}-apng.patch.gz
-# Patch1-md5:	fca7c6d87c8352e645facefc2e1dd153
+# Patch1-md5:	75ebf0972827a0079e8d0bd03fcbe6f7
 URL:		http://www.libpng.org/pub/png/libpng.html
 BuildRequires:	rpmbuild(macros) >= 1.213
 BuildRequires:	tar >= 1:1.22
@@ -147,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 \
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/libpng.git/commitdiff/6d35269c15ba46a49f8436afcb74e3f0711e6aba



More information about the pld-cvs-commit mailing list