summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTim Harder <radhermit@gentoo.org>2016-01-31 23:53:25 -0500
committerTim Harder <radhermit@gentoo.org>2016-02-01 00:00:41 -0500
commit48022dac7f4d351aac2b18cd09a7f59eb114d10c (patch)
treea05d32a3a6ec97e4e8b37072a1e130af9d1ab97d /media-gfx/pngcrush
parentapp-editors/gvim: version bump to 7.4.1229 (diff)
downloadgentoo-48022dac7f4d351aac2b18cd09a7f59eb114d10c.tar.gz
gentoo-48022dac7f4d351aac2b18cd09a7f59eb114d10c.tar.bz2
gentoo-48022dac7f4d351aac2b18cd09a7f59eb114d10c.zip
media-gfx/pngcrush: version bump to 1.8.0
Diffstat (limited to 'media-gfx/pngcrush')
-rw-r--r--media-gfx/pngcrush/Manifest2
-rw-r--r--media-gfx/pngcrush/pngcrush-1.8.0.ebuild41
2 files changed, 43 insertions, 0 deletions
diff --git a/media-gfx/pngcrush/Manifest b/media-gfx/pngcrush/Manifest
index 6e1f31e6ca63..451ea2760cf1 100644
--- a/media-gfx/pngcrush/Manifest
+++ b/media-gfx/pngcrush/Manifest
@@ -6,3 +6,5 @@ DIST pngcrush-1.7.86-nolib.tar.xz 60024 SHA256 135cb6cf0607b5b72152c0eb2cbd1db97
DIST pngcrush-1.7.86.tar.xz 358656 SHA256 7bf1c1e81b6d14bf1cfce5447dba487f0895525fc62ae02714baa1dcc90f9550 SHA512 55c6b4b449561ba693d891a7f2996fb9ea54dd0e8727b5e0a9a6b880fdad82de2346690b24347e922e265298ee438a2d69ea454142b855e26b0eaf8c14a9d4db WHIRLPOOL d2d670917a12af978508776b028ee73fd18000149222018e39510d0ae66fca6fbf564a82d0ecf5931dd829d9d31f5600e52f7469b23b99d772f5072343c65820
DIST pngcrush-1.7.92-nolib.tar.xz 61072 SHA256 c49b4b13c646029b6ead77ed60626be52c5fa61d74428cdebe0ca43d195e9c36 SHA512 7e8a83dda07907ac6e014a9a3227d3e8bffd8f6608c3324b28696992b09bd676f02496571174ba5f6632b14e50bf894c960ca6507adbf4a74d2498961694304e WHIRLPOOL cbd8e0205a41be7871517d5b847411da74b590c2ef1e6c17cac8a4364fa114df57201df15cfe131c4f65dbb4908a4ee3df72b60d46f4395865f076aeeb3b3747
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
diff --git a/media-gfx/pngcrush/pngcrush-1.8.0.ebuild b/media-gfx/pngcrush/pngcrush-1.8.0.ebuild
new file mode 100644
index 000000000000..5e107fd4c8a0
--- /dev/null
+++ b/media-gfx/pngcrush/pngcrush-1.8.0.ebuild
@@ -0,0 +1,41 @@
+# Copyright 1999-2015 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=5
+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}
+ dohtml ChangeLog.html
+}