diff options
author | Samuli Suominen <ssuominen@gentoo.org> | 2013-04-17 18:15:43 +0000 |
---|---|---|
committer | Samuli Suominen <ssuominen@gentoo.org> | 2013-04-17 18:15:43 +0000 |
commit | 52ccdea9f199105f51c4e265dd61ea53a99b2670 (patch) | |
tree | 2486c374a513879dddd5234d1c7b71c2d1a97198 /media-gfx/pngcrush | |
parent | Add Dina license to BINARY-REDISTRIBUTABLE group, bug 465102. Add Snd license... (diff) | |
download | gentoo-2-52ccdea9f199105f51c4e265dd61ea53a99b2670.tar.gz gentoo-2-52ccdea9f199105f51c4e265dd61ea53a99b2670.tar.bz2 gentoo-2-52ccdea9f199105f51c4e265dd61ea53a99b2670.zip |
Version bump to downgrade internal copy of libpng back to 1.5.15 for fixing images with invalid IDAT wrt #466190
(Portage version: 2.2.0_alpha172/cvs/Linux x86_64, signed Manifest commit with key 4868F14D)
Diffstat (limited to 'media-gfx/pngcrush')
-rw-r--r-- | media-gfx/pngcrush/ChangeLog | 8 | ||||
-rw-r--r-- | media-gfx/pngcrush/pngcrush-1.7.57.ebuild | 42 |
2 files changed, 49 insertions, 1 deletions
diff --git a/media-gfx/pngcrush/ChangeLog b/media-gfx/pngcrush/ChangeLog index 4c0f65da3364..f70e65af92b3 100644 --- a/media-gfx/pngcrush/ChangeLog +++ b/media-gfx/pngcrush/ChangeLog @@ -1,6 +1,12 @@ # ChangeLog for media-gfx/pngcrush # Copyright 1999-2013 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/media-gfx/pngcrush/ChangeLog,v 1.110 2013/04/05 09:15:43 radhermit Exp $ +# $Header: /var/cvsroot/gentoo-x86/media-gfx/pngcrush/ChangeLog,v 1.111 2013/04/17 18:15:43 ssuominen Exp $ + +*pngcrush-1.7.57 (17 Apr 2013) + + 17 Apr 2013; Samuli Suominen <ssuominen@gentoo.org> +pngcrush-1.7.57.ebuild: + Version bump to downgrade internal copy of libpng back to 1.5.15 for fixing + images with invalid IDAT wrt #466190 *pngcrush-1.7.56 (05 Apr 2013) diff --git a/media-gfx/pngcrush/pngcrush-1.7.57.ebuild b/media-gfx/pngcrush/pngcrush-1.7.57.ebuild new file mode 100644 index 000000000000..f69f9d5be67a --- /dev/null +++ b/media-gfx/pngcrush/pngcrush-1.7.57.ebuild @@ -0,0 +1,42 @@ +# Copyright 1999-2013 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/media-gfx/pngcrush/pngcrush-1.7.57.ebuild,v 1.1 2013/04/17 18:15:43 ssuominen Exp $ + +EAPI=5 + +inherit toolchain-funcs + +DESCRIPTION="Portable Network Graphics (PNG) optimizing utility" +HOMEPAGE="http://pmt.sourceforge.net/pngcrush/" +SRC_URI="system-libs? ( mirror://sourceforge/pmt/${P}-nolib.tar.xz ) + !system-libs? ( mirror://sourceforge/pmt/${P}.tar.xz )" + +LICENSE="pngcrush" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~ppc ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x86-macos" +IUSE="+system-libs" + +RDEPEND=" + system-libs? ( + >=media-libs/libpng-1.5:0= + sys-libs/zlib:= + )" +DEPEND="${RDEPEND} + app-arch/xz-utils" + +pkg_setup() { + use system-libs && S+="-nolib" +} + +src_compile() { + emake \ + CC="$(tc-getCC)" \ + LD="$(tc-getCC)" \ + CFLAGS="${CFLAGS} -Wall" \ + LDFLAGS="${LDFLAGS}" +} + +src_install() { + dobin ${PN} + dohtml ChangeLog.html +} |