summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTim Harder <radhermit@gentoo.org>2016-08-18 23:25:11 -0400
committerTim Harder <radhermit@gentoo.org>2016-08-18 23:25:11 -0400
commit8660919a1a7b3fd9650f3b233de4af8c92632c4a (patch)
tree69abf131d36a30c9b5937ff08c064ef467ddc3b2 /media-gfx
parentsys-apps/moreutils: version bump to 0.60 (diff)
downloadgentoo-8660919a1a7b3fd9650f3b233de4af8c92632c4a.tar.gz
gentoo-8660919a1a7b3fd9650f3b233de4af8c92632c4a.tar.bz2
gentoo-8660919a1a7b3fd9650f3b233de4af8c92632c4a.zip
media-gfx/pngcrush: version bump to 1.8.4
Diffstat (limited to 'media-gfx')
-rw-r--r--media-gfx/pngcrush/Manifest2
-rw-r--r--media-gfx/pngcrush/pngcrush-1.8.4.ebuild41
2 files changed, 43 insertions, 0 deletions
diff --git a/media-gfx/pngcrush/Manifest b/media-gfx/pngcrush/Manifest
index ad7aa4fea2f2..e2674d2ae655 100644
--- a/media-gfx/pngcrush/Manifest
+++ b/media-gfx/pngcrush/Manifest
@@ -2,3 +2,5 @@ DIST pngcrush-1.8.0-nolib.tar.xz 60224 SHA256 baa7048351c341e3a0c4769db7093b3206
DIST pngcrush-1.8.0.tar.xz 358772 SHA256 94491583c625e284e580f102657f9c2b3036372ab486e08682112f6cbb66522c SHA512 b572d6ee3aebffdf60836adffabff84b6ac12a50f9b33b5d6e7749af728f6aa441d53cb66926d40d988a94864524351f92edba72d3f0f55206746aa45037d653 WHIRLPOOL 2209a267cd54e6e6fde6e7f2e693065e83585e990801e4b704f3cfaf11d953abc44aa82626c6e7badf524214f5bc692831e72b7f7f0cb61b1f104a220d2f2925
DIST pngcrush-1.8.2-nolib.tar.xz 61588 SHA256 4a2b4a0445008f0d528cffebd143ca9b15ec41cbc5abb79ce244d6eedaf452b1 SHA512 f0bfd95a84c9eef48abe624ca8ea4c2064862e9b6330776f91d7647b2796b1221a9edccf8de73fdbad7031cdee0d161072ce44063c60a6a7880a51130fb5c0f9 WHIRLPOOL 07e5566bb12e82e34472d72d96c8eb35a34c7a3282763e5fb8d13f4551d3f31b4dd651e1c3fd5fee9f779d8978c8be933455329ff0ea965e68579237ece2096e
DIST pngcrush-1.8.2.tar.xz 361644 SHA256 0fa49fdd8bbdc290aa6a9958ad9482ae60a7a229bb237bf35e7bcfe1ee216440 SHA512 6f5abc419f3a0c8dad237d941183b58678752157076bf5392d41cef1ced937ba891d0443164e832142d8c7e5281032f5c10ab1545c870f2ccffa5a452f97b43b WHIRLPOOL da9baca97b449215068f67601ea467c2eee27fbd2c956b6be6ecc0b361ef4a91f7dbb29ad308a62fca4a2997c090bfb985c03b56d129a3716d2c9b3fc7baee9e
+DIST pngcrush-1.8.4-nolib.tar.xz 63548 SHA256 4ef6d790677cf57f622db693337d841b60d62c044e8681299245c298bd56161a SHA512 f246a62727d5ecfda72e4be544c857ff4e67673cc54ac80ba60db5b1b2bea68c22780dd3999d76ee0ccfde5b8ca001c828ee22f46431e1b22e972b37f88f3192 WHIRLPOOL 3cac34b5b982711abb3c58c064830b0bd319420cf590939c569552ac01c2ce8ac25af42f3e5ab5349a54b4d8186a6e43373e69f1f4bc764803fe5af7d56bcd91
+DIST pngcrush-1.8.4.tar.xz 366980 SHA256 25cbdb0dec7fb9f6a1bddc172a807a3123ee88144cfe955f25502329ea620821 SHA512 2e9919f82f07b98e341a4eb65f814514d0dc731a36677e5ef18486fb858694c7d6b9a0c80e1b2cab2a9354eb14239ce8169f53efd64ebb42405066f1fb175ef2 WHIRLPOOL 7a5e63994b5d198c8a7b8e02564a41319a7fd2ec2b980e93f7dffd61ad121909cb3d3d6e31e4b58af53d1884101b22bae96cdc2693e8e70310cdd3dad0e38fec
diff --git a/media-gfx/pngcrush/pngcrush-1.8.4.ebuild b/media-gfx/pngcrush/pngcrush-1.8.4.ebuild
new file mode 100644
index 000000000000..d7968509eba7
--- /dev/null
+++ b/media-gfx/pngcrush/pngcrush-1.8.4.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
+}