summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTim Harder <radhermit@gentoo.org>2016-08-06 22:11:08 -0400
committerTim Harder <radhermit@gentoo.org>2016-08-06 22:13:29 -0400
commit55481de061ae9619343063e9fec4b5e148f72100 (patch)
treefecc3aa34f949f5b6a6a6d5fa681145622436d22 /media-gfx/pngcrush
parentapp-doc/csound-manual: remove old (diff)
downloadgentoo-55481de061ae9619343063e9fec4b5e148f72100.tar.gz
gentoo-55481de061ae9619343063e9fec4b5e148f72100.tar.bz2
gentoo-55481de061ae9619343063e9fec4b5e148f72100.zip
media-gfx/pngcrush: version bump to 1.8.2
Diffstat (limited to 'media-gfx/pngcrush')
-rw-r--r--media-gfx/pngcrush/Manifest2
-rw-r--r--media-gfx/pngcrush/pngcrush-1.8.2.ebuild41
2 files changed, 43 insertions, 0 deletions
diff --git a/media-gfx/pngcrush/Manifest b/media-gfx/pngcrush/Manifest
index 451ea2760cf1..d68868f660eb 100644
--- a/media-gfx/pngcrush/Manifest
+++ b/media-gfx/pngcrush/Manifest
@@ -8,3 +8,5 @@ DIST pngcrush-1.7.92-nolib.tar.xz 61072 SHA256 c49b4b13c646029b6ead77ed60626be52
DIST pngcrush-1.7.92.tar.xz 360000 SHA256 439a6d3eb083ac774420af4af6e5641041172319ba456d7bc6aa6e4fd786555f SHA512 cd02c6f67dc01103924ec0438fe790a137c3eda044705aeff605184f800c44ffbe050cc3fd89757fe718ae91e37b76400f86c28e52c4679df782fd450c321e68 WHIRLPOOL 87566b57a59582120dfb24627498ce886a40896a64a6e87872b942754a5792997a9380acdfc8fc4771e7a00d6438d3d36c074645c074913a80d89653e4dff460
DIST pngcrush-1.8.0-nolib.tar.xz 60224 SHA256 baa7048351c341e3a0c4769db7093b3206d46aa66ca93ac039c896ace63563bf SHA512 270a9d5479f422ff396d025e73abdd4e9f4f715390d9398dfda1480348b26de644d974b41e9546f615f36f923aa9fa8bcddb96db951cb4d785496b5734fcc382 WHIRLPOOL c2d2426a0d85462f8f811d9b9b9007a3c53ea2f7c9c62550962245cd4cd5cf20d55c9cdecdeb76c872a762523b034bd79c3b4946393115e7f4ae9060323bf22d
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
diff --git a/media-gfx/pngcrush/pngcrush-1.8.2.ebuild b/media-gfx/pngcrush/pngcrush-1.8.2.ebuild
new file mode 100644
index 000000000000..d7968509eba7
--- /dev/null
+++ b/media-gfx/pngcrush/pngcrush-1.8.2.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
+}