[Buildroot] [PATCH 4/4] package/wpewebkit: use lcms2 for if available

Arnout Vandecappelle arnout at mind.be
Wed Nov 17 21:03:30 UTC 2021



On 26/10/2021 00:44, Adrian Perez de Castro wrote:
> Make wpewebkit support color management if the lcms2 package
> has been selected.
> 
> Signed-off-by: Adrian Perez de Castro <aperez at igalia.com>
> ---
>   package/wpewebkit/wpewebkit.mk | 7 +++++++
>   1 file changed, 7 insertions(+)
> 
> diff --git a/package/wpewebkit/wpewebkit.mk b/package/wpewebkit/wpewebkit.mk
> index 606a1531c0..ab45d4a67c 100644
> --- a/package/wpewebkit/wpewebkit.mk
> +++ b/package/wpewebkit/wpewebkit.mk
> @@ -67,6 +67,13 @@ else
>   WPEWEBKIT_CONF_OPTS += -DENABLE_WEBDRIVER=OFF
>   endif
>   
> +ifeq ($(BR2_PACKAGE_LCMS2),y)
> +WPEWEBKIT_CONF_OPTS += -DUSE_LCMS=ON
> +WPEWEBKIT_DEPENDENCIES += lcms2
> +else
> +WPEWEBKIT_CONF_OPTS += -DUSE_LCMS=OFF

  There was already a -DUSE_LCMS=OFF in the unconditional optoins, so I've 
removed that one.

  Regards,
  Arnout

> +endif
> +
>   ifeq ($(BR2_PACKAGE_WOFF2),y)
>   WPEWEBKIT_CONF_OPTS += -DUSE_WOFF2=ON
>   WPEWEBKIT_DEPENDENCIES += woff2
> 


More information about the buildroot mailing list