Buildroot Archive on lore.kernel.org
 help / color / mirror / Atom feed
From: Yann E. MORIN <yann.morin.1998@free.fr>
To: buildroot@busybox.net
Subject: [Buildroot] [PATCH 1/1] package/opencv3: add webp support
Date: Sun, 18 Oct 2020 21:45:49 +0200	[thread overview]
Message-ID: <20201018194549.GD3466@scaer> (raw)
In-Reply-To: <20201018150211.1299636-1-fontaine.fabrice@gmail.com>

Fabrice, All,

On 2020-10-18 17:02 +0200, Fabrice Fontaine spake thusly:
> webp support is available since version 3.0.0 and
> https://github.com/opencv/opencv/commit/500b7318beee639d8c341e9ea63ac7610ca225f4
> 
> Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>

Applied to master, thanks.

Regards,
Yann E. MORIN.

> ---
>  package/opencv3/Config.in  | 8 ++++++++
>  package/opencv3/opencv3.mk | 8 +++++++-
>  2 files changed, 15 insertions(+), 1 deletion(-)
> 
> diff --git a/package/opencv3/Config.in b/package/opencv3/Config.in
> index ac7da67c5f..b9ea033f13 100644
> --- a/package/opencv3/Config.in
> +++ b/package/opencv3/Config.in
> @@ -312,6 +312,14 @@ config BR2_PACKAGE_OPENCV3_WITH_V4L
>  	  If the package libv4l is enabled, its support is
>  	  automatically enabled.
>  
> +config BR2_PACKAGE_OPENCV3_WITH_WEBP
> +	bool "webp support"
> +	select BR2_PACKAGE_WEBP
> +	help
> +	  Enable WebP support.
> +
> +	  Use shared libwebp from the target system.
> +
>  comment "Install options"
>  
>  config BR2_PACKAGE_OPENCV3_INSTALL_DATA
> diff --git a/package/opencv3/opencv3.mk b/package/opencv3/opencv3.mk
> index c67387e114..8cd28cbf0c 100644
> --- a/package/opencv3/opencv3.mk
> +++ b/package/opencv3/opencv3.mk
> @@ -223,7 +223,6 @@ OPENCV3_CONF_OPTS += \
>  	-DWITH_VA=OFF \
>  	-DWITH_VA_INTEL=OFF \
>  	-DWITH_VTK=OFF \
> -	-DWITH_WEBP=OFF \
>  	-DWITH_XINE=OFF
>  
>  OPENCV3_DEPENDENCIES += host-pkgconf zlib
> @@ -318,6 +317,13 @@ else
>  OPENCV3_CONF_OPTS += -DWITH_V4L=OFF -DWITH_LIBV4L=OFF
>  endif
>  
> +ifeq ($(BR2_PACKAGE_OPENCV3_WITH_WEBP),y)
> +OPENCV3_CONF_OPTS += -DWITH_WEBP=ON
> +OPENCV3_DEPENDENCIES += webp
> +else
> +OPENCV3_CONF_OPTS += -DWITH_WEBP=OFF
> +endif
> +
>  ifeq ($(BR2_PACKAGE_OPENCV3_LIB_PYTHON),y)
>  OPENCV3_CONF_OPTS += \
>  	-DBUILD_opencv_python2=OFF \
> -- 
> 2.28.0
> 
> _______________________________________________
> buildroot mailing list
> buildroot at busybox.net
> http://lists.busybox.net/mailman/listinfo/buildroot

-- 
.-----------------.--------------------.------------------.--------------------.
|  Yann E. MORIN  | Real-Time Embedded | /"\ ASCII RIBBON | Erics' conspiracy: |
| +33 662 376 056 | Software  Designer | \ / CAMPAIGN     |  ___               |
| +33 561 099 427 `------------.-------:  X  AGAINST      |  \e/  There is no  |
| http://ymorin.is-a-geek.org/ | _/*\_ | / \ HTML MAIL    |   v   conspiracy.  |
'------------------------------^-------^------------------^--------------------'

      reply	other threads:[~2020-10-18 19:45 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-10-18 15:02 [Buildroot] [PATCH 1/1] package/opencv3: add webp support Fabrice Fontaine
2020-10-18 19:45 ` Yann E. MORIN [this message]

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=20201018194549.GD3466@scaer \
    --to=yann.morin.1998@free.fr \
    --cc=buildroot@busybox.net \
    /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