media-gfx/pngquant: Needs lcms:2 for tests
authorPacho Ramos <pacho@gentoo.org>
Thu, 23 Apr 2020 08:49:28 +0000 (10:49 +0200)
committerPacho Ramos <pacho@gentoo.org>
Thu, 23 Apr 2020 08:49:40 +0000 (10:49 +0200)
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>
media-gfx/pngquant/pngquant-2.12.6.ebuild

index aa316daa35f606f8fb84054d2a1f6937c8fae43d..70f8baeec0b3490eb4af14c1737d4b0db65b7116 100644 (file)
@@ -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 )