mirror of
https://gitlab.com/buildroot.org/buildroot.git
synced 2026-09-09 07:51:59 -09:00
package/wpewebkit: use libavif if enabled
Make wpewebkit pick a value for the USE_AVIF option depending on BR2_PACKAGE_LIBAVIF. Signed-off-by: Adrian Perez de Castro <aperez@igalia.com> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
This commit is contained in:
committed by
Thomas Petazzoni
parent
9f458cd6c2
commit
afbe0fe8f5
@@ -28,8 +28,7 @@ WPEWEBKIT_CONF_OPTS = \
|
||||
-DENABLE_INTROSPECTION=OFF \
|
||||
-DENABLE_MINIBROWSER=OFF \
|
||||
-DENABLE_WEB_RTC=OFF \
|
||||
-DUSE_ATK=OFF \
|
||||
-DUSE_AVIF=OFF
|
||||
-DUSE_ATK=OFF
|
||||
|
||||
ifeq ($(BR2_PACKAGE_WPEWEBKIT_SANDBOX),y)
|
||||
WPEWEBKIT_CONF_OPTS += \
|
||||
@@ -61,6 +60,13 @@ else
|
||||
WPEWEBKIT_CONF_OPTS += -DENABLE_MEDIA_STREAM=OFF
|
||||
endif
|
||||
|
||||
ifeq ($(BR2_PACKAGE_LIBAVIF),y)
|
||||
WPEWEBKIT_CONF_OPTS += -DUSE_AVIF=ON
|
||||
WPEWEBKIT_DEPENDENCIES += libavif
|
||||
else
|
||||
WPEWEBKIT_CONF_OPTS += -DUSE_AVIF=OFF
|
||||
endif
|
||||
|
||||
ifeq ($(BR2_PACKAGE_WPEWEBKIT_USE_GSTREAMER_GL),y)
|
||||
WPEWEBKIT_CONF_OPTS += -DUSE_GSTREAMER_GL=ON
|
||||
else
|
||||
|
||||
Reference in New Issue
Block a user