summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTim Harder <radhermit@gentoo.org>2016-08-23 22:48:14 -0400
committerTim Harder <radhermit@gentoo.org>2016-08-23 22:48:14 -0400
commit045e8cddaf669f0bd30a4b33e3ace1fe5fd40ffd (patch)
tree0cfe35d0b29c991cee05c00f4f70456934bcdce1 /media-gfx/pngcrush
parentsys-apps/baselayout: add myself as maintainer (diff)
downloadgentoo-045e8cddaf669f0bd30a4b33e3ace1fe5fd40ffd.tar.gz
gentoo-045e8cddaf669f0bd30a4b33e3ace1fe5fd40ffd.tar.bz2
gentoo-045e8cddaf669f0bd30a4b33e3ace1fe5fd40ffd.zip
media-gfx/pngcrush: version bump to 1.8.5
Diffstat (limited to 'media-gfx/pngcrush')
-rw-r--r--media-gfx/pngcrush/Manifest2
-rw-r--r--media-gfx/pngcrush/pngcrush-1.8.5.ebuild41
2 files changed, 43 insertions, 0 deletions
diff --git a/media-gfx/pngcrush/Manifest b/media-gfx/pngcrush/Manifest
index e2674d2ae655..23c69b8892fb 100644
--- a/media-gfx/pngcrush/Manifest
+++ b/media-gfx/pngcrush/Manifest
@@ -4,3 +4,5 @@ DIST pngcrush-1.8.2-nolib.tar.xz 61588 SHA256 4a2b4a0445008f0d528cffebd143ca9b15
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
+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
diff --git a/media-gfx/pngcrush/pngcrush-1.8.5.ebuild b/media-gfx/pngcrush/pngcrush-1.8.5.ebuild
new file mode 100644
index 000000000000..d7968509eba7
--- /dev/null
+++ b/media-gfx/pngcrush/pngcrush-1.8.5.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
+}