summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTim Harder <radhermit@gentoo.org>2016-09-23 21:59:48 -0400
committerTim Harder <radhermit@gentoo.org>2016-09-23 21:59:48 -0400
commit63bd01324087b00a75afd6d6751f1a2b800eb7ca (patch)
treec7d8c85583a6f33ae95d7f9ab58b52aecccf9537 /media-gfx/pngcrush
parentdev-tex/latex-beamer: remove old (diff)
downloadgentoo-63bd01324087b00a75afd6d6751f1a2b800eb7ca.tar.gz
gentoo-63bd01324087b00a75afd6d6751f1a2b800eb7ca.tar.bz2
gentoo-63bd01324087b00a75afd6d6751f1a2b800eb7ca.zip
media-gfx/pngcrush: version bump to 1.8.6
Diffstat (limited to 'media-gfx/pngcrush')
-rw-r--r--media-gfx/pngcrush/Manifest2
-rw-r--r--media-gfx/pngcrush/pngcrush-1.8.6.ebuild41
2 files changed, 43 insertions, 0 deletions
diff --git a/media-gfx/pngcrush/Manifest b/media-gfx/pngcrush/Manifest
index 23c69b8892fb..23415fd4cd3a 100644
--- a/media-gfx/pngcrush/Manifest
+++ b/media-gfx/pngcrush/Manifest
@@ -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
diff --git a/media-gfx/pngcrush/pngcrush-1.8.6.ebuild b/media-gfx/pngcrush/pngcrush-1.8.6.ebuild
new file mode 100644
index 000000000000..d7968509eba7
--- /dev/null
+++ b/media-gfx/pngcrush/pngcrush-1.8.6.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
+}