From: Grzegorz Blach Date: Thu, 10 Sep 2020 15:50:54 +0000 (+0200) Subject: package/graphicsmagick: add support for webp image format X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=4ee1b0fac3029155b996bab65ca66f95a412b1ec;p=buildroot.git package/graphicsmagick: add support for webp image format Signed-off-by: Grzegorz Blach Signed-off-by: Thomas Petazzoni --- 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