package/webkitgtk: fix opengl configure option
- option was renamed from ENABLE_OPENGL to ENABLE_GRAPHICS_CONTEXT_GL since 2.30.0 Signed-off-by: Peter Seiderer <ps.report@gmx.net> Acked-by: Adrian Perez de Castro <aperez@igalia.com> Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
This commit is contained in:
parent
4bd2a317a7
commit
a27f4bd420
@ -66,7 +66,7 @@ ifeq ($(BR2_PACKAGE_LIBGTK3_X11),y)
|
||||
WEBKITGTK_CONF_OPTS += \
|
||||
-DENABLE_ACCELERATED_2D_CANVAS=ON \
|
||||
-DENABLE_GLES2=OFF \
|
||||
-DENABLE_OPENGL=ON \
|
||||
-DENABLE_GRAPHICS_CONTEXT_GL=ON \
|
||||
-DENABLE_X11_TARGET=ON
|
||||
WEBKITGTK_DEPENDENCIES += libgl \
|
||||
xlib_libXcomposite xlib_libXdamage xlib_libXrender xlib_libXt
|
||||
@ -84,13 +84,13 @@ WEBKITGTK_DEPENDENCIES += libegl
|
||||
ifeq ($(BR2_PACKAGE_HAS_LIBGLES),y)
|
||||
WEBKITGTK_CONF_OPTS += \
|
||||
-DENABLE_GLES2=ON \
|
||||
-DENABLE_OPENGL=ON
|
||||
-DENABLE_GRAPHICS_CONTEXT_GL=ON
|
||||
WEBKITGTK_DEPENDENCIES += libgles
|
||||
else
|
||||
# Disable general OpenGL (shading) if there's no GLESv2
|
||||
WEBKITGTK_CONF_OPTS += \
|
||||
-DENABLE_GLES2=OFF \
|
||||
-DENABLE_OPENGL=OFF
|
||||
-DENABLE_GRAPHICS_CONTEXT_GL=OFF
|
||||
endif
|
||||
# We must explicitly state the wayland target
|
||||
ifeq ($(BR2_PACKAGE_LIBGTK3_WAYLAND),y)
|
||||
|
Loading…
Reference in New Issue
Block a user