diff options
author | Lars Wendler <polynomial-c@gentoo.org> | 2017-01-16 11:06:41 +0100 |
---|---|---|
committer | Lars Wendler <polynomial-c@gentoo.org> | 2017-01-16 11:06:55 +0100 |
commit | 6e0deaed3fb17e1e794efc3a494bd36442604d45 (patch) | |
tree | 95e135963b8ad6572f74374e81edd03139972eb1 /media-gfx | |
parent | multiprocessing.eclass: work around Cygwin FIFO shortcoming (diff) | |
download | gentoo-6e0deaed3fb17e1e794efc3a494bd36442604d45.tar.gz gentoo-6e0deaed3fb17e1e794efc3a494bd36442604d45.tar.bz2 gentoo-6e0deaed3fb17e1e794efc3a494bd36442604d45.zip |
media-gfx/pngcrush: Bump to version 1.8.11
Package-Manager: Portage-2.3.3, Repoman-2.3.1
Diffstat (limited to 'media-gfx')
-rw-r--r-- | media-gfx/pngcrush/Manifest | 2 | ||||
-rw-r--r-- | media-gfx/pngcrush/pngcrush-1.8.11.ebuild | 41 |
2 files changed, 43 insertions, 0 deletions
diff --git a/media-gfx/pngcrush/Manifest b/media-gfx/pngcrush/Manifest index eea670deca37..3ef53751e549 100644 --- a/media-gfx/pngcrush/Manifest +++ b/media-gfx/pngcrush/Manifest @@ -1,2 +1,4 @@ DIST pngcrush-1.8.10-nolib.tar.xz 65196 SHA256 8db04792f8912011c9c25caf732894276f16ff0b7612f3365d18971dfb56442b SHA512 34d06b13ebbea77bb8f0e7d69ad8ddde5e36c8970adadc074bdf3715f5fe275e475680ea3e1b89349844b2aaeddcb00b35683c8dfc4ce2d78b59c20c626eca69 WHIRLPOOL 08b59025f59fb6ab9e13d2edd0271e25ff7f86f1506d18d55f3f2e7e22c974095ca98c020647a6a7752203446edb6ec8052e332d3a56aa754e96af5cc3e3ad3d DIST pngcrush-1.8.10.tar.xz 386240 SHA256 a9c11e27fafaf49f4be9883fe39c1c222a9f7a492a223e53408e68a96594b90c SHA512 fc858e1feec3c6311c7063665f21989d1e5d81afb1a32cce9f6dae63c714c07ec0c0272b06d6bc9f255948c1d3a439511b9768c62686093b44bcc2caeb49061f WHIRLPOOL dcdfac66ac32866e2f7e048806c9bcc64aefd0a8a6c41104aa0376d99372a33107fe98628e542c89d4a1da42b5105e484eaa864067f62de90799845712ed5bd8 +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 diff --git a/media-gfx/pngcrush/pngcrush-1.8.11.ebuild b/media-gfx/pngcrush/pngcrush-1.8.11.ebuild new file mode 100644 index 000000000000..a27745c9e799 --- /dev/null +++ b/media-gfx/pngcrush/pngcrush-1.8.11.ebuild @@ -0,0 +1,41 @@ +# Copyright 1999-2017 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 +} |