summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLars Wendler <polynomial-c@gentoo.org>2017-01-06 09:45:07 +0100
committerLars Wendler <polynomial-c@gentoo.org>2017-01-06 09:46:22 +0100
commit51c51f96e0339babb9f49e6bd6de28bd86f28c71 (patch)
tree4ce906150acd051958a6b094dd1fed11f876ae8c /media-libs/libpng
parentmedia-libs/libass: bump to 0.13.6 (diff)
downloadgentoo-51c51f96e0339babb9f49e6bd6de28bd86f28c71.tar.gz
gentoo-51c51f96e0339babb9f49e6bd6de28bd86f28c71.tar.bz2
gentoo-51c51f96e0339babb9f49e6bd6de28bd86f28c71.zip
media-libs/libpng: Bump to version 1.6.28
Package-Manager: Portage-2.3.3, Repoman-2.3.1
Diffstat (limited to 'media-libs/libpng')
-rw-r--r--media-libs/libpng/Manifest2
-rw-r--r--media-libs/libpng/libpng-1.6.28.ebuild45
2 files changed, 47 insertions, 0 deletions
diff --git a/media-libs/libpng/Manifest b/media-libs/libpng/Manifest
index bd613f9f2e46..8b0a6944e9da 100644
--- a/media-libs/libpng/Manifest
+++ b/media-libs/libpng/Manifest
@@ -10,3 +10,5 @@ DIST libpng-1.6.26-apng.patch.gz 10342 SHA256 b65d8bf05fa48d957bd5f337412b426cf8
DIST libpng-1.6.26.tar.xz 983576 SHA256 266743a326986c3dbcee9d89b640595f6b16a293fd02b37d8c91348d317b73f9 SHA512 ca8489641762865f74072ff293354df2aaaabdc4b9b08c5ccbc245947fca455a8e702a29f26715c75b0d8dad5506242476b2a50c3291eab684ca0b4ee1905ea0 WHIRLPOOL d54be66443cdaf91adc6626f13a4b09d9b9be9a3784f22492ada14aeb059b096995fbdaa897ba655fbc9b6506ba73859242ef5642c700e94e476b3253e13aa43
DIST libpng-1.6.27-apng.patch.gz 10343 SHA256 650ca925dae8565ac8882854682ed13954d8832542406269214e3a4d593ac675 SHA512 0052f7cd76847094f64e3533be7510e8c5d673e927eced76a80480709897626eca2a12981540de533e74de49e7b00b128a4914d82b62bbcb3950bd1182bd409d WHIRLPOOL b48697984ea92572dfe37da228fbf877bcf0188c1059adf1d9bdb2e6529ad84ed506acd4940b4f72173018ea40cb53645c31d250d19ecc70030e897ff22d38d1
DIST libpng-1.6.27.tar.xz 984316 SHA256 fca2ffd97336356cdab9bfa8936b9d6dfd580a70205e5dfead3ac42cb054b57b SHA512 9dcf54147fa2637a72364246e8565c0a6d25e4313f26150689b166eabd4358177e1caf38ff622b04c71f3b7cfd550f7fd6ca87892c50203a63b92f365fc7c8d7 WHIRLPOOL 6f68c929ac7aa28d41bea26843f0028b447144e2c0c7a8958f44a7d3c62c9d17fa22d4e5ce709b0dbf5234f80829fb554023fc229a5397a97deb0fff17bf5895
+DIST libpng-1.6.28-apng.patch.gz 10316 SHA256 85cfa524a95b0d1a31012b8ad90536911ea66beb5821459ae92a1d6a68f1ac88 SHA512 bcc67e0cc0c6ef39f642ea4682c9510cb3528f39748b71b3c9fb7bf270d982260933e99062949381b54ab79ea418a121848dfd014faf394d53c12d1fa5c04717 WHIRLPOOL ebb08d4cb637ea582b63a745ec1cde2137a410f59699fabd39324fc65d102ba8ca87b25596ce9eeb4d964099bf45336a3cb6011bfdd3782c99009f07fae424b6
+DIST libpng-1.6.28.tar.xz 984536 SHA256 d8d3ec9de6b5db740fefac702c37ffcf96ae46cb17c18c1544635a3852f78f7a SHA512 3541139062a1c6cded7abe378ae73519835ec68561006ba33b3fe34f65676e4f91f2561b11d890ac20255dbf2e691e0b3d4fbf11db77b47b67979ba45b8af655 WHIRLPOOL be2222abf30d50c6e4f9215be532e6601c04afee1ee5f8d73126bf6b8ea9d7b7d55a39eb141ede6afc335894ab7d4d676018a41e4b9d69d69062012608418956
diff --git a/media-libs/libpng/libpng-1.6.28.ebuild b/media-libs/libpng/libpng-1.6.28.ebuild
new file mode 100644
index 000000000000..3f9b6007088f
--- /dev/null
+++ b/media-libs/libpng/libpng-1.6.28.ebuild
@@ -0,0 +1,45 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=6
+
+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() {
+ 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() {
+ ECONF_SOURCE="${S}" econf \
+ $(use_enable static-libs static) \
+ --enable-arm-neon=$(usex neon)
+}
+
+multilib_src_install_all() {
+ DOCS=( ANNOUNCE CHANGES libpng-manual.txt README TODO )
+ einstalldocs
+ prune_libtool_files --all
+}