diff options
author | Sam James <sam@gentoo.org> | 2022-07-30 09:18:35 +0100 |
---|---|---|
committer | Sam James <sam@gentoo.org> | 2022-07-30 09:18:41 +0100 |
commit | 362e9b8b81b47da9c015abf3af60a705609a0080 (patch) | |
tree | dac8ea411d3b0815b15be9dbfef0c5b0df7039c6 /media-gfx/graphicsmagick/graphicsmagick-9999.ebuild | |
parent | profiles/arch/ia64: mask USE=tcmalloc (diff) | |
download | gentoo-362e9b8b81b47da9c015abf3af60a705609a0080.tar.gz gentoo-362e9b8b81b47da9c015abf3af60a705609a0080.tar.bz2 gentoo-362e9b8b81b47da9c015abf3af60a705609a0080.zip |
media-gfx/graphicsmagick: fix automagic deps; bashism in configure
Signed-off-by: Sam James <sam@gentoo.org>
Diffstat (limited to 'media-gfx/graphicsmagick/graphicsmagick-9999.ebuild')
-rw-r--r-- | media-gfx/graphicsmagick/graphicsmagick-9999.ebuild | 18 |
1 files changed, 13 insertions, 5 deletions
diff --git a/media-gfx/graphicsmagick/graphicsmagick-9999.ebuild b/media-gfx/graphicsmagick/graphicsmagick-9999.ebuild index ed7baccc45e1..c3cfd69b4baf 100644 --- a/media-gfx/graphicsmagick/graphicsmagick-9999.ebuild +++ b/media-gfx/graphicsmagick/graphicsmagick-9999.ebuild @@ -28,16 +28,17 @@ LICENSE="MIT" SLOT="0/${PV%.*}" IUSE="bzip2 +cxx debug dynamic-loading fpx heif imagemagick jbig jpeg jpegxl lcms lzma" -IUSE+=" openmp perl png postscript q16 q32 static-libs svg threads tiff truetype" -IUSE+=" webp wmf X zlib" +IUSE+=" openmp perl png postscript q16 q32 static-libs svg tcmalloc threads tiff truetype" +IUSE+=" webp wmf X zlib zstd" -RDEPEND="dev-libs/libltdl +RDEPEND=" + dev-libs/libltdl bzip2? ( app-arch/bzip2 ) fpx? ( media-libs/libfpx ) heif? ( media-libs/libheif:= ) imagemagick? ( !media-gfx/imagemagick ) jbig? ( media-libs/jbigkit ) - jpeg? ( virtual/jpeg ) + jpeg? ( media-libs/libjpeg-turbo:= ) jpegxl? ( media-libs/libjxl:= ) lcms? ( media-libs/lcms:2 ) lzma? ( app-arch/xz-utils ) @@ -45,6 +46,7 @@ RDEPEND="dev-libs/libltdl png? ( media-libs/libpng:= ) postscript? ( app-text/ghostscript-gpl ) svg? ( dev-libs/libxml2 ) + tcmalloc? ( dev-util/google-perftools:= ) tiff? ( media-libs/tiff ) truetype? ( media-fonts/urw-fonts @@ -56,7 +58,9 @@ RDEPEND="dev-libs/libltdl x11-libs/libSM x11-libs/libXext ) - zlib? ( sys-libs/zlib )" + zlib? ( sys-libs/zlib ) + zstd? ( app-arch/zstd:= ) +" DEPEND="${RDEPEND}" PATCHES=( @@ -107,11 +111,14 @@ src_configure() { $(use_with jbig) $(use_with webp) $(use_with jpeg) + # Needs last-rited/unpackaged jasper --without-jp2 $(use_with lcms lcms2) $(use_with lzma) $(use_with png) + $(use_with tcmalloc) $(use_with tiff) + --without-trio $(use_with truetype ttf) $(use_with wmf) --with-fontpath="${EPREFIX}"/usr/share/fonts @@ -119,6 +126,7 @@ src_configure() { --with-windows-font-dir="${EPREFIX}"/usr/share/fonts/corefonts $(use_with svg xml) $(use_with zlib) + $(use_with zstd) $(use_with X x) ) |