mailarchive of the ptxdist mailing list
 help / color / mirror / Atom feed
* [ptxdist] [PATCH] imagemagick: enabled WEBP support
@ 2020-06-24 18:02 Artur Wiebe
  2020-06-26 11:00 ` [ptxdist] [APPLIED] " Michael Olbrich
  0 siblings, 1 reply; 2+ messages in thread
From: Artur Wiebe @ 2020-06-24 18:02 UTC (permalink / raw)
  To: ptxdist; +Cc: Artur Wiebe

Signed-off-by: Artur Wiebe <artur@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-request@pengutronix.de

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2020-06-26 11:00 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-06-24 18:02 [ptxdist] [PATCH] imagemagick: enabled WEBP support Artur Wiebe
2020-06-26 11:00 ` [ptxdist] [APPLIED] " Michael Olbrich

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox