From d5588896fafa2e5995893d6b298a20c38d7203c5 Mon Sep 17 00:00:00 2001 From: Pacho Ramos Date: Thu, 23 Apr 2020 10:49:28 +0200 Subject: [PATCH] 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 --- media-gfx/pngquant/pngquant-2.12.6.ebuild | 14 +++++++++----- 1 file 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 ) -- 2.26.2