summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorThomas Deutschmann <whissi@gentoo.org>2018-09-09 01:52:53 +0200
committerThomas Deutschmann <whissi@gentoo.org>2018-09-09 02:16:11 +0200
commitcbec33dc809fe6b4ecc2521f9a88473646fa5fe5 (patch)
tree1bb4edef95b1380322e9286c331ffe3388ecd355 /media-gfx
parentmedia-libs/libheif: initial version (diff)
downloadgentoo-cbec33dc809fe6b4ecc2521f9a88473646fa5fe5.tar.gz
gentoo-cbec33dc809fe6b4ecc2521f9a88473646fa5fe5.tar.bz2
gentoo-cbec33dc809fe6b4ecc2521f9a88473646fa5fe5.zip
media-gfx/imagemagick: add support for HEIC/HEIF image format
Bug: https://bugs.gentoo.org/654010 Package-Manager: Portage-2.3.49, Repoman-2.3.10
Diffstat (limited to 'media-gfx')
-rw-r--r--media-gfx/imagemagick/imagemagick-9999.ebuild4
-rw-r--r--media-gfx/imagemagick/metadata.xml3
2 files changed, 5 insertions, 2 deletions
diff --git a/media-gfx/imagemagick/imagemagick-9999.ebuild b/media-gfx/imagemagick/imagemagick-9999.ebuild
index 25c4681ac138..830fae680664 100644
--- a/media-gfx/imagemagick/imagemagick-9999.ebuild
+++ b/media-gfx/imagemagick/imagemagick-9999.ebuild
@@ -20,7 +20,7 @@ HOMEPAGE="https://www.imagemagick.org/"
LICENSE="imagemagick"
SLOT="0/${PV}"
-IUSE="bzip2 corefonts cxx djvu fftw fontconfig fpx graphviz hdri jbig jpeg jpeg2k lcms lqr lzma opencl openexr openmp pango perl png postscript q32 q8 raw static-libs svg test tiff truetype webp wmf X xml zlib"
+IUSE="bzip2 corefonts cxx djvu fftw fontconfig fpx graphviz hdri heif jbig jpeg jpeg2k lcms lqr lzma opencl openexr openmp pango perl png postscript q32 q8 raw static-libs svg test tiff truetype webp wmf X xml zlib"
RESTRICT="perl? ( userpriv )"
@@ -33,6 +33,7 @@ RDEPEND="
fontconfig? ( media-libs/fontconfig )
fpx? ( >=media-libs/libfpx-1.3.0-r1 )
graphviz? ( media-gfx/graphviz )
+ heif? ( media-libs/libheif:= )
jbig? ( >=media-libs/jbigkit-2:= )
jpeg? ( virtual/jpeg:0 )
jpeg2k? ( >=media-libs/openjpeg-2.1.0:2 )
@@ -151,6 +152,7 @@ src_configure() {
$(use_with truetype freetype)
$(use_with postscript gslib)
$(use_with graphviz gvc)
+ $(use_with heif heic)
$(use_with jbig)
$(use_with jpeg)
$(use_with jpeg2k openjp2)
diff --git a/media-gfx/imagemagick/metadata.xml b/media-gfx/imagemagick/metadata.xml
index c0cb28c0d869..1b7f7eecf944 100644
--- a/media-gfx/imagemagick/metadata.xml
+++ b/media-gfx/imagemagick/metadata.xml
@@ -8,7 +8,8 @@
<use>
<flag name="corefonts">Use <pkg>media-fonts/corefonts</pkg> which is required by some commands</flag>
<flag name="fpx">Enable <pkg>media-libs/libfpx</pkg> support</flag>
- <flag name="hdri">enable High Dynamic Range Images formats</flag>
+ <flag name="heif">Enable support for ISO/IEC 23008-12:2017 HEIF/HEIC image format using <pkg>media-libs/libheif</pkg></flag>
+ <flag name="hdri">Enable High Dynamic Range Images formats</flag>
<flag name="lqr">Enable experimental liquid rescale support using <pkg>media-libs/liblqr</pkg></flag>
<flag name="opencl">Enable OpenCL support</flag>
<flag name="pango">Enable Pango support using <pkg>x11-libs/pango</pkg></flag>