mailarchive of the ptxdist mailing list
 help / color / mirror / Atom feed
From: Artur Wiebe <artur@4wiebe.de>
To: ptxdist@pengutronix.de
Cc: Artur Wiebe <artur@4wiebe.de>
Subject: [ptxdist] [PATCH] imagemagick: enabled WEBP support
Date: Wed, 24 Jun 2020 20:02:22 +0200	[thread overview]
Message-ID: <20200624180222.435512-1-artur@4wiebe.de> (raw)

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

             reply	other threads:[~2020-06-24 18:03 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-06-24 18:02 Artur Wiebe [this message]
2020-06-26 11:00 ` [ptxdist] [APPLIED] " Michael Olbrich

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20200624180222.435512-1-artur@4wiebe.de \
    --to=artur@4wiebe.de \
    --cc=ptxdist@pengutronix.de \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox