From 2f47cfade4b298350d056f6d9a7525b837e2ba23 Mon Sep 17 00:00:00 2001 From: Peter Seiderer Date: Sat, 20 Feb 2021 00:02:55 +0100 Subject: [PATCH] package/imagemagick: add optional libraw support Signed-off-by: Peter Seiderer Signed-off-by: Peter Korsgaard --- package/imagemagick/imagemagick.mk | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/package/imagemagick/imagemagick.mk b/package/imagemagick/imagemagick.mk index 5b4ba63c85..30200e95b0 100644 --- a/package/imagemagick/imagemagick.mk +++ b/package/imagemagick/imagemagick.mk @@ -88,6 +88,13 @@ else IMAGEMAGICK_CONF_OPTS += --without-png endif +ifeq ($(BR2_PACKAGE_LIBRAW),y) +IMAGEMAGICK_CONF_OPTS += --with-raw +IMAGEMAGICK_DEPENDENCIES += libraw +else +IMAGEMAGICK_CONF_OPTS += --without-raw +endif + ifeq ($(BR2_PACKAGE_LIBRSVG),y) IMAGEMAGICK_CONF_OPTS += --with-rsvg IMAGEMAGICK_DEPENDENCIES += librsvg @@ -182,6 +189,7 @@ HOST_IMAGEMAGICK_CONF_OPTS = \ --without-openexr \ --without-perl \ --without-raqm \ + --without-raw \ --without-wmf \ --without-x \ --without-zip \ -- 2.30.2