Skip to content

Commit

Permalink
media-gfx/pngcrush: version bump to 1.8.6
Browse files Browse the repository at this point in the history
  • Loading branch information
radhermit committed Sep 24, 2016
1 parent f6aeeb2 commit 63bd013
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 @@ -6,3 +6,5 @@ DIST pngcrush-1.8.4-nolib.tar.xz 63548 SHA256 4ef6d790677cf57f622db693337d841b60
DIST pngcrush-1.8.4.tar.xz 366980 SHA256 25cbdb0dec7fb9f6a1bddc172a807a3123ee88144cfe955f25502329ea620821 SHA512 2e9919f82f07b98e341a4eb65f814514d0dc731a36677e5ef18486fb858694c7d6b9a0c80e1b2cab2a9354eb14239ce8169f53efd64ebb42405066f1fb175ef2 WHIRLPOOL 7a5e63994b5d198c8a7b8e02564a41319a7fd2ec2b980e93f7dffd61ad121909cb3d3d6e31e4b58af53d1884101b22bae96cdc2693e8e70310cdd3dad0e38fec
DIST pngcrush-1.8.5-nolib.tar.xz 64176 SHA256 1f843d836de8ef90b99b0a9e3e37f4ff4776278b5605293d5644b6efd537d934 SHA512 f76144e4b570cd0329243984404fdf34ea0959c4fa667808d773d1b7596e1c2e2d8c9cef4176d6cf609f17fcd8a8876a719da1bee5a0673bfe2533c7b4113a26 WHIRLPOOL d2f6ebeba60a3d4be6e096c96bface60a94b72e15e0c31c4b39db4a9ccc5fa6bf8de33d6abb85db710276f8767928d675dfa0c607bfc9a007a2825ec0db2b1da
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
41 changes: 41 additions & 0 deletions media-gfx/pngcrush/pngcrush-1.8.6.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 63bd013

Please sign in to comment.