Gentoo Archives: gentoo-commits

From: Pacho Ramos <pacho@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: media-gfx/pngquant/
Date: Thu, 23 Apr 2020 08:49:50
Message-Id: 1587631780.d5588896fafa2e5995893d6b298a20c38d7203c5.pacho@gentoo
1 commit: d5588896fafa2e5995893d6b298a20c38d7203c5
2 Author: Pacho Ramos <pacho <AT> gentoo <DOT> org>
3 AuthorDate: Thu Apr 23 08:49:28 2020 +0000
4 Commit: Pacho Ramos <pacho <AT> gentoo <DOT> org>
5 CommitDate: Thu Apr 23 08:49:40 2020 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d5588896
7
8 media-gfx/pngquant: Needs lcms:2 for tests
9
10 Thanks-to: Agostino Sarubbo
11 Closes: https://bugs.gentoo.org/718980
12 Package-Manager: Portage-2.3.96, Repoman-2.3.22
13 Signed-off-by: Pacho Ramos <pacho <AT> gentoo.org>
14
15 media-gfx/pngquant/pngquant-2.12.6.ebuild | 14 +++++++++-----
16 1 file changed, 9 insertions(+), 5 deletions(-)
17
18 diff --git a/media-gfx/pngquant/pngquant-2.12.6.ebuild b/media-gfx/pngquant/pngquant-2.12.6.ebuild
19 index aa316daa35f..70f8baeec0b 100644
20 --- a/media-gfx/pngquant/pngquant-2.12.6.ebuild
21 +++ b/media-gfx/pngquant/pngquant-2.12.6.ebuild
22 @@ -5,21 +5,25 @@ EAPI="7"
23
24 inherit toolchain-funcs
25
26 -DESCRIPTION="command-line utility and library for lossy compression of PNG images"
27 +DESCRIPTION="Command-line utility and library for lossy compression of PNG images"
28 HOMEPAGE="https://pngquant.org/ https://github.com/kornelski/pngquant"
29 SRC_URI="https://github.com/kornelski/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz"
30
31 LICENSE="GPL-3 HPND rwpng"
32 SLOT="0"
33 KEYWORDS="~amd64 ~x86"
34 -IUSE="debug lcms openmp cpu_flags_x86_sse2"
35 +IUSE="cpu_flags_x86_sse2 debug lcms openmp test"
36
37 -RDEPEND="media-libs/libpng:0=
38 +RDEPEND="
39 + media-libs/libpng:0=
40 media-gfx/libimagequant:=
41 sys-libs/zlib:=
42 - lcms? ( media-libs/lcms:2 )"
43 + lcms? ( media-libs/lcms:2 )
44 +"
45 DEPEND="${RDEPEND}
46 - virtual/pkgconfig"
47 + test? ( media-libs/lcms:2 )
48 + virtual/pkgconfig
49 +"
50
51 PATCHES=( "${FILESDIR}"/${PN}-2.12.2-respect-CFLAGS.patch )