summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLars Wendler <polynomial-c@gentoo.org>2017-08-25 23:27:22 +0200
committerLars Wendler <polynomial-c@gentoo.org>2017-08-25 23:34:19 +0200
commitbf5406b6e7cfdfbcf7b9a108facc6f8e8f6d5d6b (patch)
treebb6e6cc105c153739f63af5ff3e29d9e08fc3cb6 /media-libs/libpng
parentdev-libs/libpcre2: amd64 stable wrt bug #617944 (diff)
downloadgentoo-bf5406b6e7cfdfbcf7b9a108facc6f8e8f6d5d6b.tar.gz
gentoo-bf5406b6e7cfdfbcf7b9a108facc6f8e8f6d5d6b.tar.bz2
gentoo-bf5406b6e7cfdfbcf7b9a108facc6f8e8f6d5d6b.zip
media-libs/libpng: Bump to version 1.6.32
Package-Manager: Portage-2.3.8, Repoman-2.3.3
Diffstat (limited to 'media-libs/libpng')
-rw-r--r--media-libs/libpng/Manifest2
-rw-r--r--media-libs/libpng/libpng-1.6.32.ebuild47
2 files changed, 49 insertions, 0 deletions
diff --git a/media-libs/libpng/Manifest b/media-libs/libpng/Manifest
index 7ff37b4694d5..b88b6d993291 100644
--- a/media-libs/libpng/Manifest
+++ b/media-libs/libpng/Manifest
@@ -9,3 +9,5 @@ DIST libpng-1.6.30-apng.patch.gz 10296 SHA256 92908f7f15ce39a18442a9d8a0f586ab8f
DIST libpng-1.6.30.tar.xz 988608 SHA256 267c332ffff70cc599d3929207869f698798f1df143aa5f9597b007c14353666 SHA512 8c58f0f8523d7c7e8e641134c9a0e7fb6b60cddd6b4689afaafde0c99cff74652c6fb800a45149910aa2d8f06695ba4774f6a4d64810f2419a714d4188d72f82 WHIRLPOOL 6be937da391c91858ce5ab980b0d5c6d1b1634e191211ecec65e62fb2a00def30050095e5903d24f36c74d8ae71dd9ed188807d5e2161bbe50362394bf16bd32
DIST libpng-1.6.31-apng.patch.gz 10308 SHA256 a10645f0af2aa23e0f437b2b7ce784c1398ba9e05555a1b61fee510bab22c227 SHA512 58d9893adf5b5e225c06fa9bb9f8d2e1deb8f9de7eeeeb79f63ac96bb70441b375f33524c0decc693cbb4c7753ea6ad10a0c2c2fa5fef6b3d524765df479fab2 WHIRLPOOL 3149eff21d8f280cb7d3b74e3e310ba3fb2c5a3216c72bbec3a5edfde1ecf3e22687e04b8c0b1f6c8df40ff93ee431dec957d32156b00480da076f83bf0d0cce
DIST libpng-1.6.31.tar.xz 991824 SHA256 232a602de04916b2b5ce6f901829caf419519e6a16cc9cd7c1c91187d3ee8b41 SHA512 714da63e19d32eadeeb44edf7f2afeaf6ac59f2756e0951015313a98c0f3c1216296886301c5704958b56f4c96b00725791ba2efe9f26b4a92cd743410cc36a9 WHIRLPOOL d49556f8e8780ac6e6691937417e4a67f0e56f12873c3fe21988597e4ef7f69c17ae72a25baf59d4c817b9cd1c504cc3ab0d5554a92f5b8a1c11e03a2c8adedb
+DIST libpng-1.6.32-apng.patch.gz 10382 SHA256 63a80ad55601369622a0015bee915875d430f52c4d35ded80cf9fbdf17eacbbf SHA512 a7f5e8f18ca762c19c69a1ce2d6be2e6425e2d8935379554b5017049d1f3b2eca461120d15b5a9123998cd4a0b24b62b0b98e40ce6f2973d22449dd367757cdb WHIRLPOOL 9d24e6248e46e8cef30b0951a99161ca2c997dee44fe80b44ab0e544b54e947cf07db4a7ca3da7a7c862e2559b1022147047a87d3cca475395353b6527060e26
+DIST libpng-1.6.32.tar.xz 997136 SHA256 c918c3113de74a692f0a1526ce881dc26067763eb3915c57ef3a0f7b6886f59b SHA512 24cf4d38dc08d1db7721fc580d8bf6cee9a105afcea32f1245b7bb3727c8a8645ad733a24534782ef5dfb0d4315a5fd6b0eee9e7f0704e0c635350f80c19a708 WHIRLPOOL f1a04772ff893d88c75753bfa6f465682870e68640e2488b3a9f8e56be864ad479de90d284be3bbc8b030dd9eaf1fbd06e018128ad7c24ee75883c2ffb04f1e6
diff --git a/media-libs/libpng/libpng-1.6.32.ebuild b/media-libs/libpng/libpng-1.6.32.ebuild
new file mode 100644
index 000000000000..055b9b2c16ad
--- /dev/null
+++ b/media-libs/libpng/libpng-1.6.32.ebuild
@@ -0,0 +1,47 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+
+inherit libtool ltprune multilib-minimal
+
+DESCRIPTION="Portable Network Graphics library"
+HOMEPAGE="http://www.libpng.org/"
+SRC_URI="mirror://sourceforge/${PN}/${P}.tar.xz
+ apng? ( mirror://sourceforge/apng/${P}-apng.patch.gz )"
+
+LICENSE="libpng"
+SLOT="0/16"
+KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~ppc-aix ~x64-cygwin ~amd64-fbsd ~sparc-fbsd ~x86-fbsd ~amd64-linux ~arm-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~m68k-mint ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris ~x86-winnt"
+IUSE="apng cpu_flags_x86_sse neon static-libs"
+
+RDEPEND=">=sys-libs/zlib-1.2.8-r1:=[${MULTILIB_USEDEP}]
+ abi_x86_32? ( !<=app-emulation/emul-linux-x86-baselibs-20130224-r1
+ !app-emulation/emul-linux-x86-baselibs[-abi_x86_32(-)] )"
+DEPEND="${RDEPEND}
+ app-arch/xz-utils"
+
+src_prepare() {
+ default
+ if use apng; then
+ eapply -p0 "${WORKDIR}"/${PN}-*-apng.patch
+ # Don't execute symbols check with apng patch wrt #378111
+ sed -i -e '/^check/s:scripts/symbols.chk::' Makefile.in || die
+ fi
+ elibtoolize
+}
+
+multilib_src_configure() {
+ local myeconfargs=(
+ $(use_enable cpu_flags_x86_sse intel-sse)
+ $(use_enable static-libs static)
+ --enable-arm-neon=$(usex neon)
+ )
+ ECONF_SOURCE="${S}" econf "${myeconfargs[@]}"
+}
+
+multilib_src_install_all() {
+ DOCS=( ANNOUNCE CHANGES libpng-manual.txt README TODO )
+ einstalldocs
+ prune_libtool_files --all
+}