Skip to content

Commit

Permalink
media-libs/libpng: Bump to v1.6.34
Browse files Browse the repository at this point in the history
Package-Manager: Portage-2.3.10, Repoman-2.3.3
  • Loading branch information
Whissi committed Oct 1, 2017
1 parent db4cef3 commit 26ac809
Show file tree
Hide file tree
Showing 2 changed files with 49 additions and 0 deletions.
2 changes: 2 additions & 0 deletions media-libs/libpng/Manifest
Original file line number Diff line number Diff line change
Expand Up @@ -9,3 +9,5 @@ DIST libpng-1.6.31-apng.patch.gz 10308 SHA256 a10645f0af2aa23e0f437b2b7ce784c139
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
DIST libpng-1.6.34-apng.patch.gz 10411 SHA256 dcae2e85f344bad4ba663562b7b0b66588a5ddafa7c057ae20b71e4ef0cfa8cf SHA512 d4088399d2e9a2e2e40d5bd5dfb478dbd11c7065600287734aee7b3bf13a9574d17d3890e705c82705275fd0c11848155fbf960acd2e8eb890a7656b4140340c WHIRLPOOL 547a027e6a51c4c760b08f7b3d41e445e05b0911ee32929b3cd3af638eb2c6614241e461f5b0a32ed895ffc109bba39804c49a50778a88fb81711960ef6e5c40
DIST libpng-1.6.34.tar.xz 997968 SHA256 2f1e960d92ce3b3abd03d06dfec9637dfbd22febf107a536b44f7a47c60659f6 SHA512 89407c5abc1623faaa3992fc1e4a62def671d9a7401108dfceee895d5f16fe7030090bea89b34a36d377d8e6a5d40046886991f663ce075d1a2d31bf9eaf3c51 WHIRLPOOL ae37cae40cf857ed7bfe378af4e08832afb87097ce5296374ba315eb8bacf190e45632561aa8c97a0d1e7e867457b6b7d7f6543645ded6700ab3fb591b14d602
47 changes: 47 additions & 0 deletions media-libs/libpng/libpng-1.6.34.ebuild
Original file line number Diff line number Diff line change
@@ -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
}

0 comments on commit 26ac809

Please sign in to comment.