package/imagemagick: add optional zstd support
authorPeter Seiderer <ps.report@gmx.net>
Fri, 19 Feb 2021 23:02:54 +0000 (00:02 +0100)
committerPeter Korsgaard <peter@korsgaard.com>
Fri, 26 Feb 2021 23:38:57 +0000 (00:38 +0100)
Signed-off-by: Peter Seiderer <ps.report@gmx.net>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
package/imagemagick/imagemagick.mk

index 48892fd4497ad16f4c75c06537956af30b60c30c..5b4ba63c85c5fc642aa898aa9b2a4357dfb297ff 100644 (file)
@@ -110,6 +110,13 @@ else
 IMAGEMAGICK_CONF_OPTS += --without-zip
 endif
 
+ifeq ($(BR2_PACKAGE_ZSTD),y)
+IMAGEMAGICK_CONF_OPTS += --with-zstd
+IMAGEMAGICK_DEPENDENCIES += zstd
+else
+IMAGEMAGICK_CONF_OPTS += --without-zstd
+endif
+
 ifeq ($(BR2_PACKAGE_PANGO),y)
 IMAGEMAGICK_CONF_OPTS += --with-pango
 IMAGEMAGICK_DEPENDENCIES += pango
@@ -178,6 +185,7 @@ HOST_IMAGEMAGICK_CONF_OPTS = \
        --without-wmf \
        --without-x \
        --without-zip \
+       --without-zstd \
        --without-bzlib \
        --without-fftw \
        --without-lcms \