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 <aperez@igalia.com>
Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
This commit is contained in:
Adrian Perez de Castro 2021-10-26 01:44:03 +03:00 committed by Arnout Vandecappelle (Essensium/Mind)
parent 86f46249b3
commit 84e90ce45c

View File

@ -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