summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLars Wendler <polynomial-c@gentoo.org>2017-06-29 16:42:07 +0200
committerLars Wendler <polynomial-c@gentoo.org>2017-06-29 16:42:53 +0200
commit1eab9844c8e145ec2efd0eb09481ab7d7a338584 (patch)
treec6fc6a6fbffc01131373a25a289499811fe07d7c /media-libs/libpng
parentsys-kernel/gentoo-sources: Linux patch 4.4.75 (diff)
downloadgentoo-1eab9844c8e145ec2efd0eb09481ab7d7a338584.tar.gz
gentoo-1eab9844c8e145ec2efd0eb09481ab7d7a338584.tar.bz2
gentoo-1eab9844c8e145ec2efd0eb09481ab7d7a338584.zip
media-libs/libpng: Bump to version 1.6.30
Package-Manager: Portage-2.3.6, Repoman-2.3.2
Diffstat (limited to 'media-libs/libpng')
-rw-r--r--media-libs/libpng/Manifest2
-rw-r--r--media-libs/libpng/libpng-1.6.30.ebuild45
2 files changed, 47 insertions, 0 deletions
diff --git a/media-libs/libpng/Manifest b/media-libs/libpng/Manifest
index da0d6fd9c3d..594987b325d 100644
--- a/media-libs/libpng/Manifest
+++ b/media-libs/libpng/Manifest
@@ -7,3 +7,5 @@ DIST libpng-1.6.28-apng.patch.gz 10316 SHA256 85cfa524a95b0d1a31012b8ad90536911e
DIST libpng-1.6.28.tar.xz 984536 SHA256 d8d3ec9de6b5db740fefac702c37ffcf96ae46cb17c18c1544635a3852f78f7a SHA512 3541139062a1c6cded7abe378ae73519835ec68561006ba33b3fe34f65676e4f91f2561b11d890ac20255dbf2e691e0b3d4fbf11db77b47b67979ba45b8af655 WHIRLPOOL be2222abf30d50c6e4f9215be532e6601c04afee1ee5f8d73126bf6b8ea9d7b7d55a39eb141ede6afc335894ab7d4d676018a41e4b9d69d69062012608418956
DIST libpng-1.6.29-apng.patch.gz 10313 SHA256 6120948990a86f8118d67471ff04e35ca1f93722061ef6b90842c64608584b91 SHA512 348121e2b7ab1bac8d4ce3ab6e60f56f1f28bedbbdeb2f87b32662f838713460d8bced3401e9d736969f6fe2eb40d77028c9d4f569c59a091c860b6507026975 WHIRLPOOL 8e8bc0c6a3b974ac1a23f817954737494392c4a90f2c6ed0c3e8d72dc2ad2e5fa53f3dfb0eb9fc4117dfb544b908cfc81ebc62bf5753c35459cc35e902ef57e1
DIST libpng-1.6.29.tar.xz 987652 SHA256 4245b684e8fe829ebb76186327bb37ce5a639938b219882b53d64bd3cfc5f239 SHA512 070393423ec11f19e3264a0200959ae09238aa005615571586987253028b4ffb7e6b7c734a132f65180252b0259f79add03896d79fdc7dcfd8773b82c82a5ffc WHIRLPOOL c4f8a3ff526146c49cf773b5819b313e454cf86b22d732b0d17d7f29b11d092e7b3b04a1f7b07580d9f3f9e765bcef497a68612fe30a3e36b112bdc64dfa6c6d
+DIST libpng-1.6.30-apng.patch.gz 10296 SHA256 92908f7f15ce39a18442a9d8a0f586ab8f058f52af893e1c7ed64c960f534aec SHA512 81d194a698e3f2cee0eda380f32037bbe74465966ec3432708b828e6df23109b53d9172556690a1e35f655ad10895b5b72d46d233d38273b9b8efad259c487ad WHIRLPOOL c305bb1cdcb0285ef999f40c0cad773e061a05ff35d2fd24e9269c899f2f2669938f45e0652c857392fd8f93eeed1e4c37aadaabff0bcf85f83d50ea4986e8dc
+DIST libpng-1.6.30.tar.xz 988608 SHA256 267c332ffff70cc599d3929207869f698798f1df143aa5f9597b007c14353666 SHA512 8c58f0f8523d7c7e8e641134c9a0e7fb6b60cddd6b4689afaafde0c99cff74652c6fb800a45149910aa2d8f06695ba4774f6a4d64810f2419a714d4188d72f82 WHIRLPOOL 6be937da391c91858ce5ab980b0d5c6d1b1634e191211ecec65e62fb2a00def30050095e5903d24f36c74d8ae71dd9ed188807d5e2161bbe50362394bf16bd32
diff --git a/media-libs/libpng/libpng-1.6.30.ebuild b/media-libs/libpng/libpng-1.6.30.ebuild
new file mode 100644
index 00000000000..93611aecc53
--- /dev/null
+++ b/media-libs/libpng/libpng-1.6.30.ebuild
@@ -0,0 +1,45 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+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 ~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() {
+ ECONF_SOURCE="${S}" econf \
+ $(use_enable cpu_flags_x86_sse intel-sse) \
+ $(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
+}