From 84e90ce45c34eb21596e4208510605ddb507419a Mon Sep 17 00:00:00 2001 From: Adrian Perez de Castro Date: Tue, 26 Oct 2021 01:44:03 +0300 Subject: [PATCH] package/wpewebkit: use lcms2 for if available Make wpewebkit support color management if the lcms2 package has been selected. Signed-off-by: Adrian Perez de Castro Signed-off-by: Arnout Vandecappelle (Essensium/Mind) --- package/wpewebkit/wpewebkit.mk | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/package/wpewebkit/wpewebkit.mk b/package/wpewebkit/wpewebkit.mk index 606a1531c0..fbe87862a7 100644 --- a/package/wpewebkit/wpewebkit.mk +++ b/package/wpewebkit/wpewebkit.mk @@ -23,7 +23,6 @@ WPEWEBKIT_CONF_OPTS = \ -DENABLE_ACCESSIBILITY=OFF \ -DENABLE_API_TESTS=OFF \ -DENABLE_MINIBROWSER=OFF \ - -DUSE_LCMS=OFF \ -DUSE_SOUP2=ON \ -DSILENCE_CROSS_COMPILATION_NOTICES=ON @@ -67,6 +66,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 +endif + ifeq ($(BR2_PACKAGE_WOFF2),y) WPEWEBKIT_CONF_OPTS += -DUSE_WOFF2=ON WPEWEBKIT_DEPENDENCIES += woff2