Skip to content

Commit

Permalink
media-gfx/pngcrush: version bump to 1.8.7
Browse files Browse the repository at this point in the history
  • Loading branch information
radhermit committed Sep 30, 2016
1 parent 5ce4528 commit 6147651
Show file tree
Hide file tree
Showing 2 changed files with 43 additions and 0 deletions.
2 changes: 2 additions & 0 deletions media-gfx/pngcrush/Manifest
Original file line number Diff line number Diff line change
Expand Up @@ -2,3 +2,5 @@ DIST pngcrush-1.8.5-nolib.tar.xz 64176 SHA256 1f843d836de8ef90b99b0a9e3e37f4ff47
DIST pngcrush-1.8.5.tar.xz 367264 SHA256 95bd3dccba9db4f68a8f4cf2e33c4530fe86cc5030e824b9d40cefc820a74e78 SHA512 76a795a9ca865d455911e70b1a486631fe2a98cf96e3b170c714c0dcbb937bbda7fca2c4c93be45fef788ae0442a503788741ba77e73099758a06de0ee465089 WHIRLPOOL 4dd13ecffd2e81aace636f7d31365d57ed30a5847b3eee054ade8e7d5ca87e4223b0eaf28325bfef6c2f743f0434581401d090f374e02621e2769377fa5ead98
DIST pngcrush-1.8.6-nolib.tar.xz 64364 SHA256 14e5975c856d732d1661397e292fa2c2f42a5d39070025f57ce03d77b6e0a3df SHA512 7d7455281230bc9c56a7586c28bc38866a05398ef10c2777aa4a21fd9fca7b955a968cae7f75cc6a164d4f5d76a89d2e7de2cca4f2d5d9da5d8c601a1495a994 WHIRLPOOL 0d04784178365306bfeaa2486e0b79f7cefa18236aa2fb7e387c92ce80e23caecd24fba68d878cae5657fd44727d7df929437b2d705691fed59af8333742a25c
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
41 changes: 41 additions & 0 deletions media-gfx/pngcrush/pngcrush-1.8.7.ebuild
Original file line number Diff line number Diff line change
@@ -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
}

0 comments on commit 6147651

Please sign in to comment.