Source/WebCore/LICENSE-APPLE \
Source/WebCore/LICENSE-LGPL-2
WEBKITGTK24_DEPENDENCIES = host-ruby host-flex host-bison host-gperf \
- enchant harfbuzz icu jpeg libcurl libgtk2 libsecret libsoup \
- libxml2 libxslt sqlite webp
+ host-pkgconf enchant harfbuzz icu jpeg libcurl libgtk2 \
+ libsecret libsoup libxml2 libxslt sqlite webp
WEBKITGTK24_DEPENDENCIES += \
$(if $(BR_PACKAGE_XLIB_LIBXCOMPOSITE),xlib_libXcomposite) \
--enable-webgl \
--disable-glx
WEBKITGTK24_DEPENDENCIES += libegl libgles
+# Some EGL/GLES implementations needs extra help (eg. rpi-userland)
+WEBKITGTK24_CONF_ENV += CPPFLAGS="$(TARGET_CPPFLAGS) \
+ `$(PKG_CONFIG_HOST_BINARY) --cflags egl` \
+ `$(PKG_CONFIG_HOST_BINARY) --clfags glesv2`"
# No GL
else
WEBKITGTK24_CONF_OPTS += \