Commit Graph

2 Commits

Author SHA1 Message Date
Khem Raj
339aae60e6 webkitgtk: Remove x11 from packageconfigs
opengl-or-es can be kept now

This ends up configure errors with newly updated 2.40 webkit in core
Fixes issues like

| CMake Error at Source/cmake/WebKitMacros.cmake:154 (target_link_libraries):
|   Target "WebCore" links to:
|
|     WPE::libwpe
|
|   but the target was not found.  Possible reasons include:
|
|     * There is a typo in the target name.
|     * A find_package call is missing for an IMPORTED target.
|     * An ALIAS target is missing.

Signed-off-by: Khem Raj <raj.khem@gmail.com>
2023-07-08 15:03:33 -07:00
Khem Raj
db42a4d578 webkitgtk: Fix build with vivante openGL SDKs
Fixes build errors like
2.38.3-r0/webkitgtk-2.38.3/Source/WebCore/platform/graphics/egl/GLContextEGL.cpp:198:59: error: invalid 'static_cast' from type 'GLNativeWindowType' {aka 'long unsigned int'} to type 'EGLNativeWindowType' {aka 'wl_egl_window*'}
  198 |         surface = eglCreateWindowSurface(display, config, static_cast<EGLNativeWindowType>(window), nullptr);
      |                                                           ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

Signed-off-by: Khem Raj <raj.khem@gmail.com>
2023-01-11 11:37:16 -08:00