summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTim Harder <radhermit@gentoo.org>2016-08-19 21:12:47 -0400
committerTim Harder <radhermit@gentoo.org>2016-08-19 21:14:23 -0400
commit99ac8535c8ed63e2b1c0d0cffa42a8d530102ee8 (patch)
tree99431858e3c74b537fe9af50c9ee8141f24fd232
parentapp-crypt/gnupg: Version bump to 2.1.15 (diff)
downloadgentoo-99ac8535c8ed63e2b1c0d0cffa42a8d530102ee8.tar.gz
gentoo-99ac8535c8ed63e2b1c0d0cffa42a8d530102ee8.tar.bz2
gentoo-99ac8535c8ed63e2b1c0d0cffa42a8d530102ee8.zip
media-gfx/pngquant: version bump to 2.7.2
-rw-r--r--media-gfx/pngquant/Manifest1
-rw-r--r--media-gfx/pngquant/pngquant-2.7.2.ebuild40
2 files changed, 41 insertions, 0 deletions
diff --git a/media-gfx/pngquant/Manifest b/media-gfx/pngquant/Manifest
index 46a544637c57..0e7e6999b0a0 100644
--- a/media-gfx/pngquant/Manifest
+++ b/media-gfx/pngquant/Manifest
@@ -5,3 +5,4 @@ DIST pngquant-2.1.0-src.tar.bz2 46435 SHA256 ef41138ff320495c785155eb9f774ae6e1d
DIST pngquant-2.2.0-src.tar.bz2 49041 SHA256 7ee202f26270bb0ea8ad6f9a2fc2517ffca2bcded3dfdbd3b99692dcc72e5d11 SHA512 58ab515f1b3a12d95edc597b088f026668be3d022e753ddaf2e9474dd9feaaad9f0362b1b7ad0951ffe27b00fa7940e555372b404a52b79398e06e3c533b584c WHIRLPOOL b3aa2269771e94262badd396766b472d65b310b17c1a733b91059a61194f612f20b9fc9e34bab6015d228d24f1fa7ec5b17327131e2ea5afcbe7787cb0ce316a
DIST pngquant-2.3.3-src.tar.bz2 53274 SHA256 522d8d4255dbba7ee7b0edd4cadd387a819eae925f4a0679278c3295430b78d6 SHA512 b772d7d887cb1e52ca4c61fd55aba08f8b1f1b2edf45fcb17411e127cfc7a89afc2f12ef91ad9d690c216ba20cabd6e04fca465622a97f9fd538fb720acd9bba WHIRLPOOL d2eb753723bdbda9649dd3fe4b05333c4d3f2aec4e32f9b19612110c1f99020a7e2d544012205b0caf7aa04b3f3f3ebb1a7844b663606bca9c8f07a3eda3ba2a
DIST pngquant-2.5.2-src.tar.bz2 54611 SHA256 5b064596305c6f765a753e96e08224dd71b31c20b72bdaf0f205da16b76a347d SHA512 d542765bc1f7e22fd7199cd4aeb8dc7b82fa87fe05c53ca6b7919522e081c861d419a541909284aa4e5dcfeeedb19729a50150d9139389c1949b3aeaf4933401 WHIRLPOOL 84682a44087a51a5475f1d21e3ce9e58fbb7cee81dc76c3e52cd234a28e80bd56686cc5323dcf8202e3a46fab3ca59278f45efee54dc93277040e742592bb064
+DIST pngquant-2.7.2-src.tar.gz 91721 SHA256 75801ed048c40cc4bff12773892d16d7ff00c11b9c549845c2133fd3abca17c2 SHA512 ab84651cf0b5f3af2095b5741e0d03f4ddedbed59e75c5c75faeac20efa8dd2fb482f2a8d9447b5673e9ae6970b9af8dfdbe40062bdf377206ee87eaa69ed9d8 WHIRLPOOL 88a6b77b8204e43f5f97815f34df103f31936e75f4e4822d7f8ac3d2ec80d5a584af7645277ef57d663159d088ce326c15d3eb69d016a682858e3658aabfa410
diff --git a/media-gfx/pngquant/pngquant-2.7.2.ebuild b/media-gfx/pngquant/pngquant-2.7.2.ebuild
new file mode 100644
index 000000000000..eb4b9f3949db
--- /dev/null
+++ b/media-gfx/pngquant/pngquant-2.7.2.ebuild
@@ -0,0 +1,40 @@
+# Copyright 1999-2016 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=6
+
+inherit toolchain-funcs
+
+DESCRIPTION="command-line utility and library for lossy compression of PNG images"
+HOMEPAGE="http://pngquant.org/"
+SRC_URI="http://pngquant.org/${P}-src.tar.gz"
+
+LICENSE="GPL-3 HPND rwpng"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE="debug lcms openmp cpu_flags_x86_sse2"
+
+RDEPEND="media-libs/libpng:0=
+ sys-libs/zlib:=
+ lcms? ( media-libs/lcms:2 )"
+DEPEND="${RDEPEND}"
+
+src_configure() {
+ tc-export AR CC
+ # Hand rolled configure script, so not all flags are supported.
+ ./configure \
+ --prefix="${EPREFIX}/usr" \
+ $(use debug && echo --enable-debug) \
+ $(use_enable cpu_flags_x86_sse2 sse) \
+ $(use openmp && tc-has-openmp && echo --with-openmp) \
+ $(use_with lcms lcms2) \
+ CFLAGS="${CFLAGS} ${CPPFLAGS}" \
+ LDFLAGS="${LDFLAGS}"
+}
+
+src_install() {
+ dobin ${PN}
+ doman ${PN}.1
+ dodoc CHANGELOG README.md
+}