commit:     ad0afa8c11904bb1ee5edbfc5c102384d4768893
Author:     Lars Wendler <polynomial-c <AT> gentoo <DOT> org>
AuthorDate: Mon Oct 17 08:01:18 2016 +0000
Commit:     Lars Wendler <polynomial-c <AT> gentoo <DOT> org>
CommitDate: Mon Oct 17 09:04:25 2016 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ad0afa8c

media-gfx/pngcrush: Bump to version 1.8.8

Package-Manager: portage-2.3.2
Signed-off-by: Lars Wendler <polynomial-c <AT> gentoo.org>

 media-gfx/pngcrush/Manifest              |  2 ++
 media-gfx/pngcrush/pngcrush-1.8.8.ebuild | 41 ++++++++++++++++++++++++++++++++
 2 files changed, 43 insertions(+)

diff --git a/media-gfx/pngcrush/Manifest b/media-gfx/pngcrush/Manifest
index b3d9e25..b4cbf97 100644
--- a/media-gfx/pngcrush/Manifest
+++ b/media-gfx/pngcrush/Manifest
@@ -4,3 +4,5 @@ DIST pngcrush-1.8.6-nolib.tar.xz 64364 SHA256 
14e5975c856d732d1661397e292fa2c2f4
 DIST pngcrush-1.8.6.tar.xz 374108 SHA256 
4e31ba394382e85e2849841027641487ce73cbb4dfaab0bbbcd386d888c88bd1 SHA512 
cc9b8941e32b6b20455169127e44b634bf2d18824f40a8735982895f12d8542ba86dd61c2890b72af3a3c45534faa7cdab8def3e60618b1d9b269ef902309780
 WHIRLPOOL 
292f08d30f0a4088fe3dd7895064914dbffcbf1ce31809559312c9c3ee53eb5d98133f2163d4cc65f51e44f26c5ae448a63274f13d871f675788da5e2ce5a423
 DIST pngcrush-1.8.7-nolib.tar.xz 64556 SHA256 
f0cfc0d6f4df67106a184600f891b164875b6be7173111c87bec48a509fac60b SHA512 
6cabc97c95dd7e5eb3d02c29cd965544c41e6bab37f8d567f5380414bf2bca7431888c82187e558d2f4053de3668141212372567a5b0cfd93cd71dbbfca32071
 WHIRLPOOL 
51dc7196244f1baf027a232030cb19a2b1a01be7090d57677d84c7ed9bd5cbe8cfd396e950409fabb235bc96d860d957f935139517841d98167dda3ff321d833
 DIST pngcrush-1.8.7.tar.xz 373432 SHA256 
030c90b4bd539d32f8949d08b59be1da34b6f337bb2c27b89370e8c9bb4d65f4 SHA512 
5cc2f322ec7ddd84ebb968827b30ec0e8889d0dd89dcff6c6b8ed56b3a69f2a2af5683a8aa36b73b9eb3aecd5abe054e8df720831d8e9211efa8858389d65129
 WHIRLPOOL 
e4e6c1a9207b01a12ec167fb00ea860db5a36eadab54df239991280c5a633a79873cd5c829f4d8f10d450806f879cbdead13a39027334a3ef09416be7c9dec2b
+DIST pngcrush-1.8.8-nolib.tar.xz 64944 SHA256 
e20f8d823c778815d788d1f1d0275d98d76774695dca4f2d273f7f9ddf0a3bcb SHA512 
fa2035fd7cf1c2a8ca5fbf95984dd3c8bbde60a109b366a5f07140d5c94aedff02156b8839c4c64a21280e44c40fef4684e9d7d5f5453d35a715cc4e8d53f046
 WHIRLPOOL 
71b8f904432be25a2e265c7c6cf3771e4f44efba2aa514bcdba63798fc5e67e597a2f9bf4d373d077f418d69d153a7d88444695bd4ebf2507cd017f416ed6ef6
+DIST pngcrush-1.8.8.tar.xz 383968 SHA256 
a434beab4c95d25f2dba4fa98ad06c7cf2c3705430e33459d9e182733b2fb3dd SHA512 
8b0763124c31c4409017f614910c4f8e25f559f0dbb54ebadf1de4069c83c92d9de344e175dc07a953884497de29871e14f546b33489be421428ba97c5cf7030
 WHIRLPOOL 
94df0cb8c14ac569384bdfe8ffc784e97c56e63e8eb8ee4062e717d5efa8247a347d697cd4ae5ef6c4700d8286695ef23b640b0cec0ff23acf3f67bcbac78a35

diff --git a/media-gfx/pngcrush/pngcrush-1.8.8.ebuild 
b/media-gfx/pngcrush/pngcrush-1.8.8.ebuild
new file mode 100644
index 00000000..d796850
--- /dev/null
+++ b/media-gfx/pngcrush/pngcrush-1.8.8.ebuild
@@ -0,0 +1,41 @@
+# Copyright 1999-2016 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=6
+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: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} ${CPPFLAGS} -Wall" \
+               LDFLAGS="${LDFLAGS}"
+}
+
+src_install() {
+       dobin ${PN}
+       dodoc ChangeLog.html
+}

Reply via email to