Skip to content

Commit

Permalink
ImageMagick: Add support for liblqr (enabled by default).
Browse files Browse the repository at this point in the history
Suggested in TritonDataCenter#159.  Bump PKGREVISION.
  • Loading branch information
jperkin committed Dec 3, 2018
1 parent 0ec9336 commit 5b6bf2b
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 4 deletions.
3 changes: 2 additions & 1 deletion graphics/ImageMagick/Makefile
Original file line number Diff line number Diff line change
@@ -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
COMMENT= Package for display and interactive manipulation of images
Expand Down
13 changes: 10 additions & 3 deletions graphics/ImageMagick/options.mk
Original file line number Diff line number Diff line change
@@ -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"
Expand All @@ -22,6 +22,13 @@ CONFIGURE_ARGS+= --with-openjp2
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
Expand Down

0 comments on commit 5b6bf2b

Please sign in to comment.