Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/graphics/ImageMagick ImageMagick: Make HEIF support op...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/aa5c22906456
branches:  trunk
changeset: 437838:aa5c22906456
user:      ryoon <ryoon%pkgsrc.org@localhost>
date:      Tue Sep 01 12:21:03 2020 +0000

description:
ImageMagick: Make HEIF support optional

diffstat:

 graphics/ImageMagick/Makefile   |   3 +--
 graphics/ImageMagick/options.mk |  13 ++++++++++---
 2 files changed, 11 insertions(+), 5 deletions(-)

diffs (43 lines):

diff -r 64de2412424d -r aa5c22906456 graphics/ImageMagick/Makefile
--- a/graphics/ImageMagick/Makefile     Tue Sep 01 10:21:55 2020 +0000
+++ b/graphics/ImageMagick/Makefile     Tue Sep 01 12:21:03 2020 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.274 2020/08/31 18:09:36 wiz Exp $
+# $NetBSD: Makefile,v 1.275 2020/09/01 12:21:03 ryoon Exp $
 
 PKGREVISION= 1
 .include "Makefile.common"
@@ -94,7 +94,6 @@
 .include "../../graphics/freetype2/buildlink3.mk"
 .include "../../mk/jpeg.buildlink3.mk"
 .include "../../graphics/lcms2/buildlink3.mk"
-.include "../../graphics/libheif/buildlink3.mk"
 .include "../../graphics/libwebp/buildlink3.mk"
 .include "../../graphics/png/buildlink3.mk"
 .include "../../graphics/tiff/buildlink3.mk"
diff -r 64de2412424d -r aa5c22906456 graphics/ImageMagick/options.mk
--- a/graphics/ImageMagick/options.mk   Tue Sep 01 10:21:55 2020 +0000
+++ b/graphics/ImageMagick/options.mk   Tue Sep 01 12:21:03 2020 +0000
@@ -1,8 +1,8 @@
-# $NetBSD: options.mk,v 1.20 2019/11/02 22:37:53 rillig Exp $
+# $NetBSD: options.mk,v 1.21 2020/09/01 12:21:03 ryoon Exp $
 
 PKG_OPTIONS_VAR=               PKG_OPTIONS.ImageMagick
-PKG_SUPPORTED_OPTIONS=         x11 jp2 djvu openexr wmf liblqr
-PKG_SUGGESTED_OPTIONS=         x11 jp2 liblqr
+PKG_SUPPORTED_OPTIONS=         x11 jp2 djvu openexr wmf liblqr heif
+PKG_SUGGESTED_OPTIONS=         x11 jp2 liblqr heif
 PKG_OPTIONS_LEGACY_OPTS+=      jasper:jp2
 
 .include "../../mk/bsd.options.mk"
@@ -49,3 +49,10 @@
 .else
 CONFIGURE_ARGS+=       --without-wmf
 .endif
+
+.if !empty(PKG_OPTIONS:Mheif)
+.include "../../graphics/libheif/buildlink3.mk"
+CONFIGURE_ARGS+=       --with-heif
+.else
+CONFIGURE_ARGS+=       --without-heif
+.endif



Home | Main Index | Thread Index | Old Index