pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/graphics/ImageMagick ImageMagick: Add support for libl...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/e34fd7bf5b8d
branches:  trunk
changeset: 326310:e34fd7bf5b8d
user:      jperkin <jperkin%pkgsrc.org@localhost>
date:      Mon Dec 03 16:22:15 2018 +0000

description:
ImageMagick: Add support for liblqr (enabled by default).

Suggested in joyent/pkgsrc#159.  Bump PKGREVISION.

diffstat:

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

diffs (43 lines):

diff -r cedf7678cf3f -r e34fd7bf5b8d graphics/ImageMagick/Makefile
--- a/graphics/ImageMagick/Makefile     Mon Dec 03 15:57:16 2018 +0000
+++ b/graphics/ImageMagick/Makefile     Mon Dec 03 16:22:15 2018 +0000
@@ -1,8 +1,9 @@
-# $NetBSD: Makefile,v 1.252 2018/12/02 10:20:20 wiz Exp $
+# $NetBSD: Makefile,v 1.253 2018/12/03 16:22:15 jperkin Exp $
 
 .include "Makefile.common"
 
 PKGNAME=       ImageMagick-${DISTVERSION}
+PKGREVISION=   1
 
 MAINTAINER=    adam%NetBSD.org@localhost
 COMMENT=       Package for display and interactive manipulation of images
diff -r cedf7678cf3f -r e34fd7bf5b8d graphics/ImageMagick/options.mk
--- a/graphics/ImageMagick/options.mk   Mon Dec 03 15:57:16 2018 +0000
+++ b/graphics/ImageMagick/options.mk   Mon Dec 03 16:22:15 2018 +0000
@@ -1,8 +1,8 @@
-# $NetBSD: options.mk,v 1.18 2017/10/30 14:44:05 fhajny Exp $
+# $NetBSD: options.mk,v 1.19 2018/12/03 16:22:15 jperkin Exp $
 
 PKG_OPTIONS_VAR=       PKG_OPTIONS.ImageMagick
-PKG_SUPPORTED_OPTIONS= x11 jp2 djvu openexr wmf
-PKG_SUGGESTED_OPTIONS= x11 jp2
+PKG_SUPPORTED_OPTIONS= x11 jp2 djvu openexr wmf liblqr
+PKG_SUGGESTED_OPTIONS= x11 jp2 liblqr
 PKG_OPTIONS_LEGACY_OPTS+=      jasper:jp2
 
 .include "../../mk/bsd.options.mk"
@@ -22,6 +22,13 @@
 CONFIGURE_ARGS+=       --without-openjp2
 .endif
 
+.if !empty(PKG_OPTIONS:Mliblqr)
+.include "../../graphics/liblqr/buildlink3.mk"
+CONFIGURE_ARGS+=       --with-lqr
+.else
+CONFIGURE_ARGS+=       --without-lqr
+.endif
+
 .if !empty(PKG_OPTIONS:Mdjvu)
 .include "../../graphics/djvulibre-lib/buildlink3.mk"
 CONFIGURE_ARGS+=       --with-djvu



Home | Main Index | Thread Index | Old Index