From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 28181139694 for ; Tue, 1 Aug 2017 07:57:03 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 636251FC007; Tue, 1 Aug 2017 07:57:02 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 305A11FC007 for ; Tue, 1 Aug 2017 07:57:02 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id F14E53418AD for ; Tue, 1 Aug 2017 07:57:00 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 48943752A for ; Tue, 1 Aug 2017 07:56:58 +0000 (UTC) From: "Lars Wendler" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Lars Wendler" Message-ID: <1501574212.5b4f9f1ca2cf7a2b9ea664967b0aa487a09053a8.polynomial-c@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: media-gfx/pngcrush/ X-VCS-Repository: repo/gentoo X-VCS-Files: media-gfx/pngcrush/Manifest media-gfx/pngcrush/pngcrush-1.8.12.ebuild X-VCS-Directories: media-gfx/pngcrush/ X-VCS-Committer: polynomial-c X-VCS-Committer-Name: Lars Wendler X-VCS-Revision: 5b4f9f1ca2cf7a2b9ea664967b0aa487a09053a8 X-VCS-Branch: master Date: Tue, 1 Aug 2017 07:56:58 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Archives-Salt: e9a14600-51b1-40b8-bd1a-3e872da4c812 X-Archives-Hash: 48a78836d836f68bffb2b33ec1830f3c commit: 5b4f9f1ca2cf7a2b9ea664967b0aa487a09053a8 Author: Lars Wendler gentoo org> AuthorDate: Tue Aug 1 07:56:52 2017 +0000 Commit: Lars Wendler gentoo org> CommitDate: Tue Aug 1 07:56:52 2017 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=5b4f9f1c media-gfx/pngcrush: Bump to version 1.8.12 Package-Manager: Portage-2.3.6, Repoman-2.3.3 Signed-off-by: Lars Wendler gentoo.org> media-gfx/pngcrush/Manifest | 2 ++ media-gfx/pngcrush/pngcrush-1.8.12.ebuild | 40 +++++++++++++++++++++++++++++++ 2 files changed, 42 insertions(+) diff --git a/media-gfx/pngcrush/Manifest b/media-gfx/pngcrush/Manifest index 483f4e9e974..8e379661de8 100644 --- a/media-gfx/pngcrush/Manifest +++ b/media-gfx/pngcrush/Manifest @@ -1,2 +1,4 @@ DIST pngcrush-1.8.11-nolib.tar.xz 65272 SHA256 23a293a9e7b1e4ea94829ae0266c8672506ed2dfa80f69b11594c650bf1ae5dd SHA512 1b6d1c5b934d3d349031da1e49f1b3206cb0540a3d3a36219a800f052cd30da305b80902f7bdccfcc1487babb826a925048d30f9fbae598ca8ca18d60b3c49e1 WHIRLPOOL aa5f8177634bdef7617d443654fa600bf9231461ce141cf27d7613819a74f57d4aa95b941d4c0036fce8d58a8c495da1a392121a1b56a521accc12fbe0b7606e DIST pngcrush-1.8.11.tar.xz 388456 SHA256 8d530328650ec82f3cbe998729ada8347eb3dbbdf706d9021c5786144d18f5b0 SHA512 7110d3f55ec1d18bf9cf9b923bfd2e06bdf8c87fbc8ac09a6bc9e17cc5cda022185d70270f67ea63f733b18f904c05f1426a4794c29493630d5661bddbcaca2b WHIRLPOOL 68f948e39d6a7b82de6ff87cdd5609a8e7a87eae813e97dc0eaa84d254319a6217f960943945e2a4c9645f9b033706d6fcb23d243cd3a74eec326213bcddd9e2 +DIST pngcrush-1.8.12-nolib.tar.xz 65816 SHA256 1382945b524ab61882250e9d0796afd73a538e2833b51a6ae6e7b0433fc2dd3c SHA512 1ef8c02c659a36a063ac420ed67d5d6d4e293deb15023ccca861f3491a8a271d78842291c5341db6ab347ed2a3e9090ebaeff1777bd47b3d32b3a70457898913 WHIRLPOOL acb7da09428f6523bad53e86e301562bd695d352523fd0d04414e062f20382154c9544431116907863f5f21d643a038de9f25daacba49c5bcf04e918a156d4da +DIST pngcrush-1.8.12.tar.xz 403156 SHA256 591b0de2f241c60e3eb57435a2280e62a2184aaa8e3bb82a648077b54b34b921 SHA512 340d2f96e6289ee981a3bf76d568e7b8727edc70d7a15681ab1190431e4f1eedbcdeaa62a535f5c8780f4da959c9990444ba8671e06f153297ddcc66e1b2c3b5 WHIRLPOOL 612c20d131cbee6ecea244347b95648d179f0367a54cb804ab8a43a98dbcbecebaa0dae811afc38b35369f9e067f35acc68f69435936cacef48749bc562f7ae2 diff --git a/media-gfx/pngcrush/pngcrush-1.8.12.ebuild b/media-gfx/pngcrush/pngcrush-1.8.12.ebuild new file mode 100644 index 00000000000..4dd7937e711 --- /dev/null +++ b/media-gfx/pngcrush/pngcrush-1.8.12.ebuild @@ -0,0 +1,40 @@ +# Copyright 1999-2017 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +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 +}