aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGravatar Grzegorz Blach <grzegorz@blach.pl>2020-09-10 17:50:54 +0200
committerGravatar Thomas Petazzoni <thomas.petazzoni@bootlin.com>2020-09-11 09:47:00 +0200
commit4ee1b0fac3029155b996bab65ca66f95a412b1ec (patch)
tree19313ae0a11200ec04886eaa2103e07b72280c2a
parent03523e60695062770785de7d5a9cc91b2b8c3855 (diff)
downloadbuildroot-4ee1b0fac3029155b996bab65ca66f95a412b1ec.tar.gz
buildroot-4ee1b0fac3029155b996bab65ca66f95a412b1ec.tar.bz2
package/graphicsmagick: add support for webp image format
Signed-off-by: Grzegorz Blach <grzegorz@blach.pl> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
-rw-r--r--package/graphicsmagick/graphicsmagick.mk8
1 files changed, 7 insertions, 1 deletions
diff --git a/package/graphicsmagick/graphicsmagick.mk b/package/graphicsmagick/graphicsmagick.mk
index 436df709e7..da7af5b53e 100644
--- a/package/graphicsmagick/graphicsmagick.mk
+++ b/package/graphicsmagick/graphicsmagick.mk
@@ -27,7 +27,6 @@ GRAPHICSMAGICK_CONF_OPTS = \
--without-jbig \
--without-perl \
--without-trio \
- --without-webp \
--without-wmf \
--without-x \
--with-gs-font-dir=/usr/share/fonts/gs
@@ -85,6 +84,13 @@ else
GRAPHICSMAGICK_CONF_OPTS += --without-tiff
endif
+ifeq ($(BR2_PACKAGE_WEBP_MUX),y)
+GRAPHICSMAGICK_CONF_OPTS += --with-webp
+GRAPHICSMAGICK_DEPENDENCIES += webp
+else
+GRAPHICSMAGICK_CONF_OPTS += --without-webp
+endif
+
ifeq ($(BR2_PACKAGE_XZ),y)
GRAPHICSMAGICK_CONF_OPTS += --with-lzma
GRAPHICSMAGICK_DEPENDENCIES += xz