summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLars Wendler <polynomial-c@gentoo.org>2017-07-28 09:05:41 +0200
committerLars Wendler <polynomial-c@gentoo.org>2017-07-28 09:09:23 +0200
commit4a27412f7ca7676458cfccf988eb5c7f572d70b0 (patch)
tree973cda99255f73476ed515ac4945af72449b28d0 /media-libs/libpng
parentsci-libs/silo: added patch to fix hdf5 mpi compile problem (diff)
downloadgentoo-4a27412f7ca7676458cfccf988eb5c7f572d70b0.tar.gz
gentoo-4a27412f7ca7676458cfccf988eb5c7f572d70b0.tar.bz2
gentoo-4a27412f7ca7676458cfccf988eb5c7f572d70b0.zip
media-libs/libpng: Bump to version 1.6.31
Package-Manager: Portage-2.3.6, 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.31.ebuild47
2 files changed, 49 insertions, 0 deletions
diff --git a/media-libs/libpng/Manifest b/media-libs/libpng/Manifest
index 05e48e8e1d33..7ff37b4694d5 100644
--- a/media-libs/libpng/Manifest
+++ b/media-libs/libpng/Manifest
@@ -7,3 +7,5 @@ DIST libpng-1.6.29-apng.patch.gz 10313 SHA256 6120948990a86f8118d67471ff04e35ca1
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
+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
diff --git a/media-libs/libpng/libpng-1.6.31.ebuild b/media-libs/libpng/libpng-1.6.31.ebuild
new file mode 100644
index 000000000000..055b9b2c16ad
--- /dev/null
+++ b/media-libs/libpng/libpng-1.6.31.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
+}