package/webkitgtk: fix opengl configure option
authorPeter Seiderer <ps.report@gmx.net>
Mon, 9 Nov 2020 23:13:55 +0000 (00:13 +0100)
committerPeter Korsgaard <peter@korsgaard.com>
Tue, 10 Nov 2020 20:25:05 +0000 (21:25 +0100)
- 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>
package/webkitgtk/webkitgtk.mk

index 1f8582daf5ac5b545d8fff9ca86bb7f2b3c0f4c5..5209eeed2d03879b570fc86fe652f1607cf562ec 100644 (file)
@@ -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)