summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPacho Ramos <pacho@gentoo.org>2020-04-23 10:49:28 +0200
committerPacho Ramos <pacho@gentoo.org>2020-04-23 10:49:40 +0200
commitd5588896fafa2e5995893d6b298a20c38d7203c5 (patch)
tree2040b349fe67fbce2b0e327ed4bde34a011ed62b /media-gfx/pngquant
parentdev-perl/Alien-Libxml2: Bump to version 0.150.0 (diff)
downloadgentoo-d5588896fafa2e5995893d6b298a20c38d7203c5.tar.gz
gentoo-d5588896fafa2e5995893d6b298a20c38d7203c5.tar.bz2
gentoo-d5588896fafa2e5995893d6b298a20c38d7203c5.zip
media-gfx/pngquant: Needs lcms:2 for tests
Thanks-to: Agostino Sarubbo Closes: https://bugs.gentoo.org/718980 Package-Manager: Portage-2.3.96, Repoman-2.3.22 Signed-off-by: Pacho Ramos <pacho@gentoo.org>
Diffstat (limited to 'media-gfx/pngquant')
-rw-r--r--media-gfx/pngquant/pngquant-2.12.6.ebuild14
1 files changed, 9 insertions, 5 deletions
diff --git a/media-gfx/pngquant/pngquant-2.12.6.ebuild b/media-gfx/pngquant/pngquant-2.12.6.ebuild
index aa316daa35f6..70f8baeec0b3 100644
--- a/media-gfx/pngquant/pngquant-2.12.6.ebuild
+++ b/media-gfx/pngquant/pngquant-2.12.6.ebuild
@@ -5,21 +5,25 @@ EAPI="7"
inherit toolchain-funcs
-DESCRIPTION="command-line utility and library for lossy compression of PNG images"
+DESCRIPTION="Command-line utility and library for lossy compression of PNG images"
HOMEPAGE="https://pngquant.org/ https://github.com/kornelski/pngquant"
SRC_URI="https://github.com/kornelski/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz"
LICENSE="GPL-3 HPND rwpng"
SLOT="0"
KEYWORDS="~amd64 ~x86"
-IUSE="debug lcms openmp cpu_flags_x86_sse2"
+IUSE="cpu_flags_x86_sse2 debug lcms openmp test"
-RDEPEND="media-libs/libpng:0=
+RDEPEND="
+ media-libs/libpng:0=
media-gfx/libimagequant:=
sys-libs/zlib:=
- lcms? ( media-libs/lcms:2 )"
+ lcms? ( media-libs/lcms:2 )
+"
DEPEND="${RDEPEND}
- virtual/pkgconfig"
+ test? ( media-libs/lcms:2 )
+ virtual/pkgconfig
+"
PATCHES=( "${FILESDIR}"/${PN}-2.12.2-respect-CFLAGS.patch )