summaryrefslogtreecommitdiff
path: root/media-gfx/pngquant/pngquant-2.12.6.ebuild
diff options
context:
space:
mode:
authorV3n3RiX <venerix@redcorelinux.org>2020-04-25 11:37:10 +0100
committerV3n3RiX <venerix@redcorelinux.org>2020-04-25 11:37:10 +0100
commit38423c67c8a23f6a1bc42038193182e2da3116eb (patch)
tree04e2cf4bd43601b77daa79fe654e409187093c5e /media-gfx/pngquant/pngquant-2.12.6.ebuild
parent623ee73d661e5ed8475cb264511f683407d87365 (diff)
gentoo resync : 25.04.2020
Diffstat (limited to 'media-gfx/pngquant/pngquant-2.12.6.ebuild')
-rw-r--r--media-gfx/pngquant/pngquant-2.12.6.ebuild16
1 files changed, 11 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..3fb651b60f57 100644
--- a/media-gfx/pngquant/pngquant-2.12.6.ebuild
+++ b/media-gfx/pngquant/pngquant-2.12.6.ebuild
@@ -5,21 +5,27 @@ 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
+"
+
+RESTRICT="!test? ( test )"
PATCHES=( "${FILESDIR}"/${PN}-2.12.2-respect-CFLAGS.patch )