summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLars Wendler <polynomial-c@gentoo.org>2016-10-20 15:06:34 +0200
committerLars Wendler <polynomial-c@gentoo.org>2016-10-20 15:07:28 +0200
commit744a149f365722d5b5203d96c0d9b25fe3538c09 (patch)
treea3300710e0419a1f46a41a7da24344a40427370f /media-libs/libpng
parentmedia-plugins/live: bump to 2016.10.11 (diff)
downloadgentoo-744a149f365722d5b5203d96c0d9b25fe3538c09.tar.gz
gentoo-744a149f365722d5b5203d96c0d9b25fe3538c09.tar.bz2
gentoo-744a149f365722d5b5203d96c0d9b25fe3538c09.zip
media-libs/libpng: Bump to version 1.6.26
Package-Manager: portage-2.3.2 Signed-off-by: Lars Wendler <polynomial-c@gentoo.org>
Diffstat (limited to 'media-libs/libpng')
-rw-r--r--media-libs/libpng/Manifest2
-rw-r--r--media-libs/libpng/libpng-1.6.26.ebuild43
2 files changed, 45 insertions, 0 deletions
diff --git a/media-libs/libpng/Manifest b/media-libs/libpng/Manifest
index 54dd20a55d23..fb13cf647cdd 100644
--- a/media-libs/libpng/Manifest
+++ b/media-libs/libpng/Manifest
@@ -13,3 +13,5 @@ DIST libpng-1.6.24-apng.patch.gz 10342 SHA256 d8c9335be7429e942252f39689087e4c70
DIST libpng-1.6.24.tar.xz 977532 SHA256 7932dc9e5e45d55ece9d204e90196bbb5f2c82741ccb0f7e10d07d364a6fd6dd SHA512 7eccb90f530a9c728e280b2b1776304a808b5deea559632e7bcf4ea219c7cb5e453aa810215465304501127595000717d4b7c5b26a9f8e22e236ec04af53a90f WHIRLPOOL 7cc2d0107a72c5aa5e342d9c85c29f98bde2c061d9d344a5c0ae3851ba0ad801a9db3c20cc08af25bdcfde6318d4b31d4e5da72d0dc814cd6b2a7ca3ad647d71
DIST libpng-1.6.25-apng.patch.gz 10342 SHA256 e264d917d84872f01af3acf9666471a9bf64b75558b4b35236fef1e23c2a094f SHA512 3ecc7d49a001de7c47f7ca1169b8eb6bdf4221bf0de4f896afb52c526ea45027246c947a62a02adb2172d98085f6f07814de9c2ce222a5570c3eb67828733374 WHIRLPOOL a8021b1321a83023ffdb0c082d8fd3bb9a1ded2935da3f71098bac2bc070293212e4c2702855334e3db68ca66ddcb1891a4b82220b94dc2e0391585b9075c0cb
DIST libpng-1.6.25.tar.xz 982204 SHA256 09fe8d8341e8bfcfb3263100d9ac7ea2155b28dd8535f179111c1672ac8d8811 SHA512 74de15b1146d479660e2b1fd6b192388857955f502b249f00b69e37b594af4d53117704cb77b5ae07ffd84510cc801695be2121adbedfaf65dc4e3b521259f5d WHIRLPOOL 31234463c2cd07b0dd8e98449ec20c902562b3d4c958811180d09cde0fda6643da14928d7fb852afe3d553e873982aa0423adf14811985dc55fca56aefb1e26b
+DIST libpng-1.6.26-apng.patch.gz 10342 SHA256 b65d8bf05fa48d957bd5f337412b426cf80881218fc8430b531ac78a566f3ab2 SHA512 d7e8052adfc670d9626d68d35820df107bfb63a085a58cfb935777c332c12473e504aa1642c1b4c179e3f428a1b38fff34cd944051f3cd7451e25f37b351462c WHIRLPOOL b60656e9d3b75e3d5e8314d434febea7e048fe118a93021ef54e242eb975b03ce2bdf8801434594833f16f37131bba70a89ee67bc48ddd01f1001617c6c002c7
+DIST libpng-1.6.26.tar.xz 983576 SHA256 266743a326986c3dbcee9d89b640595f6b16a293fd02b37d8c91348d317b73f9 SHA512 ca8489641762865f74072ff293354df2aaaabdc4b9b08c5ccbc245947fca455a8e702a29f26715c75b0d8dad5506242476b2a50c3291eab684ca0b4ee1905ea0 WHIRLPOOL d54be66443cdaf91adc6626f13a4b09d9b9be9a3784f22492ada14aeb059b096995fbdaa897ba655fbc9b6506ba73859242ef5642c700e94e476b3253e13aa43
diff --git a/media-libs/libpng/libpng-1.6.26.ebuild b/media-libs/libpng/libpng-1.6.26.ebuild
new file mode 100644
index 000000000000..b83049ccfb91
--- /dev/null
+++ b/media-libs/libpng/libpng-1.6.26.ebuild
@@ -0,0 +1,43 @@
+# Copyright 1999-2016 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=5
+
+inherit eutils libtool 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 ~amd64-fbsd ~sparc-fbsd ~x86-fbsd ~x64-freebsd ~x86-freebsd ~x86-interix ~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 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() {
+ if use apng; then
+ epatch "${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() {
+ ECONF_SOURCE="${S}" econf \
+ $(use_enable static-libs static) \
+ --enable-arm-neon=$(usex neon)
+}
+
+multilib_src_install_all() {
+ dodoc ANNOUNCE CHANGES libpng-manual.txt README TODO
+ prune_libtool_files --all
+}