Signed-off-by: Artur Wiebe <ar...@4wiebe.de>
---
 rules/imagemagick.in   | 8 ++++++++
 rules/imagemagick.make | 2 +-
 2 files changed, 9 insertions(+), 1 deletion(-)

diff --git a/rules/imagemagick.in b/rules/imagemagick.in
index 7bf7b9b99..3885339f8 100644
--- a/rules/imagemagick.in
+++ b/rules/imagemagick.in
@@ -5,6 +5,7 @@ menuconfig IMAGEMAGICK
        select ZLIB     if IMAGEMAGICK_USE_ZLIB
        select LIBPNG   if IMAGEMAGICK_USE_LIBPNG
        select LIBJPEG  if IMAGEMAGICK_USE_LIBJPEG
+       select LIBWEBP  if IMAGEMAGICK_USE_LIBWEBP
        prompt "imagemagick                   "
        help
          ImageMagick® is a software suite to create, edit, compose, or convert
@@ -37,5 +38,12 @@ config IMAGEMAGICK_USE_LIBJPEG
        prompt "Enable JPEG"
        help
          Enable JPEG support
+
+config IMAGEMAGICK_USE_LIBWEBP
+       bool
+       default y
+       prompt "Enable WEBP"
+       help
+         Enable WEBP support
          
 endif
diff --git a/rules/imagemagick.make b/rules/imagemagick.make
index efe36d358..f0a8c7062 100644
--- a/rules/imagemagick.make
+++ b/rules/imagemagick.make
@@ -87,7 +87,7 @@ IMAGEMAGICK_AUTOCONF := \
        --$(call ptx/wwo, PTXCONF_IMAGEMAGICK_USE_LIBPNG)-png \
        --without-rsvg \
        --without-tiff \
-       --without-webp \
+       --$(call ptx/wwo, PTXCONF_IMAGEMAGICK_USE_LIBWEBP)-webp \
        --without-wmf \
        --without-xml
 
-- 
2.27.0


_______________________________________________
ptxdist mailing list
ptxdist@pengutronix.de
To unsubscribe, send a mail with subject "unsubscribe" to 
ptxdist-requ...@pengutronix.de

Reply via email to