diff options
-rw-r--r-- | media-gfx/pngcrush/Manifest | 2 | ||||
-rw-r--r-- | media-gfx/pngcrush/pngcrush-1.8.13.ebuild | 40 |
2 files changed, 42 insertions, 0 deletions
diff --git a/media-gfx/pngcrush/Manifest b/media-gfx/pngcrush/Manifest index 8e379661de8a..c3e642d820ea 100644 --- a/media-gfx/pngcrush/Manifest +++ b/media-gfx/pngcrush/Manifest @@ -2,3 +2,5 @@ DIST pngcrush-1.8.11-nolib.tar.xz 65272 SHA256 23a293a9e7b1e4ea94829ae0266c86725 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 +DIST pngcrush-1.8.13-nolib.tar.xz 66104 SHA256 3b4eac8c5c69fe0894ad63534acedf6375b420f7038f7fc003346dd352618350 SHA512 c073d573e9b13b72fa39b178271ce65d1a19fef35943ef0a9e6121a5c66d9db212aaad38ab777c5b44e20a107eb677003acbdb4a354bcb2dc40f535a97d9df0e WHIRLPOOL 390f81b949dea2abf87d515e6c898147e582d65a3ae60cf61b33a2669354454e8e122fa97d65dc0a2ea88cf19e75da1b681fbf964e92499850c51d63b2b1ebe3 +DIST pngcrush-1.8.13.tar.xz 404564 SHA256 8fc18bcbcc65146769241e20f9e21e443b0f4538d581250dce89b1e969a30705 SHA512 5fdb7913ec8c90af63d68477f4031c9008dac0d7f4bfd7bd47e971d218e3ef8b0e1a8bf6ba0f5d2cc4c2682c9297efb4f738b11538ad306eee5d01277ce3f628 WHIRLPOOL c4d2c82476633b900db5962bb7c706a0e2d832aaaeef410666783497d9da5911eaa93e70521288f633ca0cbac86804e89b69edcbae804ae768e88e55faea49f7 diff --git a/media-gfx/pngcrush/pngcrush-1.8.13.ebuild b/media-gfx/pngcrush/pngcrush-1.8.13.ebuild new file mode 100644 index 000000000000..4dd7937e7113 --- /dev/null +++ b/media-gfx/pngcrush/pngcrush-1.8.13.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 +} |