summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorThomas Deutschmann <whissi@gentoo.org>2017-11-29 01:02:50 +0100
committerThomas Deutschmann <whissi@gentoo.org>2017-11-29 01:09:18 +0100
commit2ae1cc1b09fd7e7675e1c5e4b7c97e00468b95b0 (patch)
tree3249adc6777e2ef15f72c440cf7c74679fa4ea9a /media-gfx/pngquant
parentmedia-gfx/libimagequant: Bump to v2.11.4 (diff)
downloadgentoo-2ae1cc1b09fd7e7675e1c5e4b7c97e00468b95b0.tar.gz
gentoo-2ae1cc1b09fd7e7675e1c5e4b7c97e00468b95b0.tar.bz2
gentoo-2ae1cc1b09fd7e7675e1c5e4b7c97e00468b95b0.zip
media-gfx/pngquant: Bump to v2.11.4
Closes: https://bugs.gentoo.org/602016 Package-Manager: Portage-2.3.16, Repoman-2.3.6
Diffstat (limited to 'media-gfx/pngquant')
-rw-r--r--media-gfx/pngquant/Manifest1
-rw-r--r--media-gfx/pngquant/pngquant-2.11.4.ebuild41
2 files changed, 42 insertions, 0 deletions
diff --git a/media-gfx/pngquant/Manifest b/media-gfx/pngquant/Manifest
index 75d85162ab54..78be2d9122c5 100644
--- a/media-gfx/pngquant/Manifest
+++ b/media-gfx/pngquant/Manifest
@@ -1,2 +1,3 @@
+DIST pngquant-2.11.4-src.tar.gz 142149 BLAKE2B eccf0c7a279d62981cfdf44ab0e378b2331377cd892019161b453edc7ffe73616a2aa83a07cf5f8d7292a0f96bf25612c23129348463cac73647021eae44f160 SHA512 171949977e1fd71c05bd75552f2e62535f6c15f31c3192cbe31df7451091634a6fbbfd08b47dd040f353af3b5f41fcc13db4421a212ca07cc6836f029635ddd0
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.11.4.ebuild b/media-gfx/pngquant/pngquant-2.11.4.ebuild
new file mode 100644
index 000000000000..fb15ab76cb4f
--- /dev/null
+++ b/media-gfx/pngquant/pngquant-2.11.4.ebuild
@@ -0,0 +1,41 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+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=
+ media-gfx/libimagequant:=
+ 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" \
+ --with-libimagequant \
+ $(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
+}