summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTim Harder <radhermit@gentoo.org>2018-03-31 01:01:04 -0400
committerTim Harder <radhermit@gentoo.org>2018-03-31 01:02:37 -0400
commitd9fa897963d4d2f997c02d65630896456a876f53 (patch)
treec2c79ba6a563def06828d340793adc8b5026051f /media-gfx/pngquant
parentmedia-gfx/libimagequant: version bump to 2.11.7 (diff)
downloadgentoo-d9fa897963d4d2f997c02d65630896456a876f53.tar.gz
gentoo-d9fa897963d4d2f997c02d65630896456a876f53.tar.bz2
gentoo-d9fa897963d4d2f997c02d65630896456a876f53.zip
media-gfx/pngquant: version bump to 2.11.7
Diffstat (limited to 'media-gfx/pngquant')
-rw-r--r--media-gfx/pngquant/Manifest1
-rw-r--r--media-gfx/pngquant/pngquant-2.11.7.ebuild41
2 files changed, 42 insertions, 0 deletions
diff --git a/media-gfx/pngquant/Manifest b/media-gfx/pngquant/Manifest
index 23ac8b82f324..bf9a5a8ccf87 100644
--- a/media-gfx/pngquant/Manifest
+++ b/media-gfx/pngquant/Manifest
@@ -1,3 +1,4 @@
DIST pngquant-2.11.4-src.tar.gz 142149 BLAKE2B eccf0c7a279d62981cfdf44ab0e378b2331377cd892019161b453edc7ffe73616a2aa83a07cf5f8d7292a0f96bf25612c23129348463cac73647021eae44f160 SHA512 171949977e1fd71c05bd75552f2e62535f6c15f31c3192cbe31df7451091634a6fbbfd08b47dd040f353af3b5f41fcc13db4421a212ca07cc6836f029635ddd0
+DIST pngquant-2.11.7-src.tar.gz 141959 BLAKE2B 00e36a818a2150aeb3c927daeb8621bafa41497a6fe32afe30e41ad04d788946390f382139aea9878f58fc7a84fdbaf597681c9d8769e0e23b785a10d2e0233c SHA512 5325577dcb16acf5dff81a5f3bcf8cfa2a12df07a7c2308ebb9a343b74e56ea21184ed3f87819122c8bb97b4a7ffd3b61046c60f7f339da9a93e76dfa17ebee6
DIST pngquant-2.5.2-src.tar.bz2 54611 BLAKE2B 5938f0be4db3cf167a8a52267807672643002599574beb5f256edb93a7e6d3bf0a035a6231e5e0f9d102bed9c278fd0323c51fdd044280c7000cb5537468e1b8 SHA512 d542765bc1f7e22fd7199cd4aeb8dc7b82fa87fe05c53ca6b7919522e081c861d419a541909284aa4e5dcfeeedb19729a50150d9139389c1949b3aeaf4933401
DIST pngquant-2.7.2-src.tar.gz 91721 BLAKE2B d8f1952e9188956cfcad802aec9f09728290298355f333e87cd627a75509ebfd7f6b657133b59c040103fe9f8333f83e07887e7dd919c134c1f5eb4b9bbace98 SHA512 ab84651cf0b5f3af2095b5741e0d03f4ddedbed59e75c5c75faeac20efa8dd2fb482f2a8d9447b5673e9ae6970b9af8dfdbe40062bdf377206ee87eaa69ed9d8
diff --git a/media-gfx/pngquant/pngquant-2.11.7.ebuild b/media-gfx/pngquant/pngquant-2.11.7.ebuild
new file mode 100644
index 000000000000..2da09ac80e2e
--- /dev/null
+++ b/media-gfx/pngquant/pngquant-2.11.7.ebuild
@@ -0,0 +1,41 @@
+# Copyright 1999-2018 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
+}