summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLars Wendler <polynomial-c@gentoo.org>2017-08-01 09:56:52 +0200
committerLars Wendler <polynomial-c@gentoo.org>2017-08-01 09:56:52 +0200
commit5b4f9f1ca2cf7a2b9ea664967b0aa487a09053a8 (patch)
tree69fb6e5ce89b5e89f72c551a4c8b2fdd0256926e /media-gfx/pngcrush
parentnet-misc/dhcp: Bump to version 4.3.6 (diff)
downloadgentoo-5b4f9f1ca2cf7a2b9ea664967b0aa487a09053a8.tar.gz
gentoo-5b4f9f1ca2cf7a2b9ea664967b0aa487a09053a8.tar.bz2
gentoo-5b4f9f1ca2cf7a2b9ea664967b0aa487a09053a8.zip
media-gfx/pngcrush: Bump to version 1.8.12
Package-Manager: Portage-2.3.6, Repoman-2.3.3 Signed-off-by: Lars Wendler <polynomial-c@gentoo.org>
Diffstat (limited to 'media-gfx/pngcrush')
-rw-r--r--media-gfx/pngcrush/Manifest2
-rw-r--r--media-gfx/pngcrush/pngcrush-1.8.12.ebuild40
2 files changed, 42 insertions, 0 deletions
diff --git a/media-gfx/pngcrush/Manifest b/media-gfx/pngcrush/Manifest
index 483f4e9e9746..8e379661de8a 100644
--- a/media-gfx/pngcrush/Manifest
+++ b/media-gfx/pngcrush/Manifest
@@ -1,2 +1,4 @@
DIST pngcrush-1.8.11-nolib.tar.xz 65272 SHA256 23a293a9e7b1e4ea94829ae0266c8672506ed2dfa80f69b11594c650bf1ae5dd SHA512 1b6d1c5b934d3d349031da1e49f1b3206cb0540a3d3a36219a800f052cd30da305b80902f7bdccfcc1487babb826a925048d30f9fbae598ca8ca18d60b3c49e1 WHIRLPOOL aa5f8177634bdef7617d443654fa600bf9231461ce141cf27d7613819a74f57d4aa95b941d4c0036fce8d58a8c495da1a392121a1b56a521accc12fbe0b7606e
DIST pngcrush-1.8.11.tar.xz 388456 SHA256 8d530328650ec82f3cbe998729ada8347eb3dbbdf706d9021c5786144d18f5b0 SHA512 7110d3f55ec1d18bf9cf9b923bfd2e06bdf8c87fbc8ac09a6bc9e17cc5cda022185d70270f67ea63f733b18f904c05f1426a4794c29493630d5661bddbcaca2b WHIRLPOOL 68f948e39d6a7b82de6ff87cdd5609a8e7a87eae813e97dc0eaa84d254319a6217f960943945e2a4c9645f9b033706d6fcb23d243cd3a74eec326213bcddd9e2
+DIST pngcrush-1.8.12-nolib.tar.xz 65816 SHA256 1382945b524ab61882250e9d0796afd73a538e2833b51a6ae6e7b0433fc2dd3c SHA512 1ef8c02c659a36a063ac420ed67d5d6d4e293deb15023ccca861f3491a8a271d78842291c5341db6ab347ed2a3e9090ebaeff1777bd47b3d32b3a70457898913 WHIRLPOOL acb7da09428f6523bad53e86e301562bd695d352523fd0d04414e062f20382154c9544431116907863f5f21d643a038de9f25daacba49c5bcf04e918a156d4da
+DIST pngcrush-1.8.12.tar.xz 403156 SHA256 591b0de2f241c60e3eb57435a2280e62a2184aaa8e3bb82a648077b54b34b921 SHA512 340d2f96e6289ee981a3bf76d568e7b8727edc70d7a15681ab1190431e4f1eedbcdeaa62a535f5c8780f4da959c9990444ba8671e06f153297ddcc66e1b2c3b5 WHIRLPOOL 612c20d131cbee6ecea244347b95648d179f0367a54cb804ab8a43a98dbcbecebaa0dae811afc38b35369f9e067f35acc68f69435936cacef48749bc562f7ae2
diff --git a/media-gfx/pngcrush/pngcrush-1.8.12.ebuild b/media-gfx/pngcrush/pngcrush-1.8.12.ebuild
new file mode 100644
index 000000000000..4dd7937e7113
--- /dev/null
+++ b/media-gfx/pngcrush/pngcrush-1.8.12.ebuild
@@ -0,0 +1,40 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+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
+}