mirror of
https://gitlab.com/buildroot.org/buildroot.git
synced 2026-09-19 16:40:46 -09:00
This updates WPE WebKit to the 2.50 stable series. WPE WebKit 2.50 highlights and 2.50.[1-5] release notes: - https://wpewebkit.org/release/wpewebkit-2.50.0.html - https://wpewebkit.org/release/wpewebkit-2.50.1.html - https://wpewebkit.org/release/wpewebkit-2.50.2.html - https://wpewebkit.org/release/wpewebkit-2.50.3.html - https://wpewebkit.org/release/wpewebkit-2.50.4.html - https://wpewebkit.org/release/wpewebkit-2.50.5.html Fixes the following security issues: - From https://wpewebkit.org/security/WSA-2025-0007.html CVE-2025-43343 - From https://wpewebkit.org/security/WSA-2025-0006.html CVE-2025-43272, CVE-2025-43342, CVE-2025-43356, CVE-2025-43368 - From https://wpewebkit.org/security/WSA-2025-0005.html CVE-2025-31273, CVE-2025-31278, CVE-2025-43211, CVE-2025-43212, CVE-2025-43216, CVE-2025-43227, CVE-2025-43228, CVE-2025-43240, CVE-2025-43265, CVE-2025-6558 Removed patch 0001 which is included in this release. Signed-off-by: Adrian Perez de Castro <aperez@igalia.com> [Bernd: bumped to 2.50.5, removed two patches originally added by Adrian which were added to upstream version 2.50.2] Signed-off-by: Bernd Kuhls <bernd@kuhls.net> Acked-by: Adrian Perez de Castro <aperez@igalia.com> Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
179 lines
4.9 KiB
Makefile
179 lines
4.9 KiB
Makefile
################################################################################
|
|
#
|
|
# wpewebkit
|
|
#
|
|
################################################################################
|
|
|
|
# The middle number is even for stable releases, odd for development ones.
|
|
WPEWEBKIT_VERSION = 2.50.5
|
|
WPEWEBKIT_SITE = https://wpewebkit.org/releases
|
|
WPEWEBKIT_SOURCE = wpewebkit-$(WPEWEBKIT_VERSION).tar.xz
|
|
WPEWEBKIT_INSTALL_STAGING = YES
|
|
WPEWEBKIT_LICENSE = LGPL-2.1+, BSD-2-Clause
|
|
WPEWEBKIT_LICENSE_FILES = \
|
|
Source/WebCore/LICENSE-APPLE \
|
|
Source/WebCore/LICENSE-LGPL-2.1
|
|
WPEWEBKIT_CPE_ID_VENDOR = wpewebkit
|
|
WPEWEBKIT_CPE_ID_PRODUCT = wpe_webkit
|
|
WPEWEBKIT_DEPENDENCIES = host-gperf host-python3 host-ruby host-unifdef \
|
|
harfbuzz icu jpeg libepoxy libgcrypt libgles libsoup3 libtasn1 \
|
|
libpng libxslt wayland-protocols webp wpebackend-fdo
|
|
|
|
WPEWEBKIT_CMAKE_BACKEND = ninja
|
|
|
|
# Buildroot adds support for ccache through its
|
|
# toolchain-wrapper, so tell wpewebkit not to mess with it.
|
|
WPEWEBKIT_CONF_ENV = WK_USE_CCACHE=NO
|
|
|
|
WPEWEBKIT_CONF_OPTS = \
|
|
-DPORT=WPE \
|
|
-DENABLE_API_TESTS=OFF \
|
|
-DENABLE_DOCUMENTATION=OFF \
|
|
-DENABLE_INTROSPECTION=OFF \
|
|
-DENABLE_MINIBROWSER=OFF \
|
|
-DENABLE_WEB_RTC=OFF \
|
|
-DUSE_ATK=OFF
|
|
|
|
# WPE WebKit uses a bundled copy of Skia since 2.46.0 for
|
|
# little-endian targets, and Cairo for big-endian ones.
|
|
ifeq ($(BR2_ENDIAN),"BIG")
|
|
WPEWEBKIT_DEPENDENCIES += cairo
|
|
WPEWEBKIT_CONF_OPTS += -DUSE_SKIA=OFF
|
|
else
|
|
WPEWEBKIT_DEPENDENCIES += fontconfig freetype
|
|
WPEWEBKIT_CONF_OPTS += -DUSE_SKIA=ON
|
|
endif
|
|
|
|
ifeq ($(BR2_PACKAGE_WPEWEBKIT_SANDBOX),y)
|
|
WPEWEBKIT_CONF_OPTS += \
|
|
-DENABLE_BUBBLEWRAP_SANDBOX=ON \
|
|
-DBWRAP_EXECUTABLE=/usr/bin/bwrap \
|
|
-DDBUS_PROXY_EXECUTABLE=/usr/bin/xdg-dbus-proxy
|
|
WPEWEBKIT_DEPENDENCIES += libseccomp
|
|
else
|
|
WPEWEBKIT_CONF_OPTS += -DENABLE_BUBBLEWRAP_SANDBOX=OFF
|
|
endif
|
|
|
|
ifeq ($(BR2_PACKAGE_WPEWEBKIT_MULTIMEDIA),y)
|
|
WPEWEBKIT_CONF_OPTS += \
|
|
-DENABLE_VIDEO=ON \
|
|
-DENABLE_WEB_AUDIO=ON \
|
|
-DENABLE_WEB_CODECS=ON
|
|
WPEWEBKIT_DEPENDENCIES += gstreamer1 gst1-libav gst1-plugins-base
|
|
else
|
|
WPEWEBKIT_CONF_OPTS += \
|
|
-DENABLE_VIDEO=OFF \
|
|
-DENABLE_WEB_AUDIO=OFF \
|
|
-DENABLE_WEB_CODECS=OFF
|
|
endif
|
|
|
|
ifeq ($(BR2_PACKAGE_WPEWEBKIT_MEDIA_STREAM),y)
|
|
WPEWEBKIT_CONF_OPTS += -DENABLE_MEDIA_STREAM=ON
|
|
WPEWEBKIT_DEPENDENCIES += gst1-plugins-bad
|
|
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
|
|
WPEWEBKIT_CONF_OPTS += -DUSE_GSTREAMER_GL=OFF
|
|
endif
|
|
|
|
ifeq ($(BR2_PACKAGE_WPEWEBKIT_WEBDRIVER),y)
|
|
WPEWEBKIT_CONF_OPTS += -DENABLE_WEBDRIVER=ON
|
|
else
|
|
WPEWEBKIT_CONF_OPTS += -DENABLE_WEBDRIVER=OFF
|
|
endif
|
|
|
|
ifeq ($(BR2_PACKAGE_FLITE),y)
|
|
WPEWEBKIT_CONF_OPTS += -DENABLE_SPEECH_SYNTHESIS=ON
|
|
WPEWEBKIT_DEPENDENCIES += flite
|
|
else
|
|
WPEWEBKIT_CONF_OPTS += -DENABLE_SPEECH_SYNTHESIS=OFF
|
|
endif
|
|
|
|
ifeq ($(BR2_PACKAGE_LCMS2),y)
|
|
WPEWEBKIT_CONF_OPTS += -DUSE_LCMS=ON
|
|
WPEWEBKIT_DEPENDENCIES += lcms2
|
|
else
|
|
WPEWEBKIT_CONF_OPTS += -DUSE_LCMS=OFF
|
|
endif
|
|
|
|
ifeq ($(BR2_PACKAGE_LIBBACKTRACE),y)
|
|
WPEWEBKIT_CONF_OPTS += -DUSE_LIBBACKTRACE=ON
|
|
WPEWEBKIT_DEPENDENCIES += libbacktrace
|
|
else
|
|
WPEWEBKIT_CONF_OPTS += -DUSE_LIBBACKTRACE=OFF
|
|
endif
|
|
|
|
ifeq ($(BR2_PACKAGE_LIBDRM),y)
|
|
WPEWEBKIT_CONF_OPTS += -DUSE_LIBDRM=ON
|
|
WPEWEBKIT_DEPENDENCIES += libdrm
|
|
else
|
|
WPEWEBKIT_CONF_OPTS += -DUSE_LIBDRM=OFF
|
|
endif
|
|
|
|
ifeq ($(BR2_PACKAGE_WOFF2),y)
|
|
WPEWEBKIT_CONF_OPTS += -DUSE_WOFF2=ON
|
|
WPEWEBKIT_DEPENDENCIES += woff2
|
|
else
|
|
WPEWEBKIT_CONF_OPTS += -DUSE_WOFF2=OFF
|
|
endif
|
|
|
|
ifeq ($(BR2_PACKAGE_LIBJXL),y)
|
|
WPEWEBKIT_CONF_OPTS += -DUSE_JPEGXL=ON
|
|
WPEWEBKIT_DEPENDENCIES += libjxl
|
|
else
|
|
WPEWEBKIT_CONF_OPTS += -DUSE_JPEGXL=OFF
|
|
endif
|
|
|
|
ifeq ($(BR2_PACKAGE_SYSPROF),y)
|
|
WPEWEBKIT_CONF_OPTS += -DUSE_SYSPROF_CAPTURE=ON
|
|
WPEWEBKIT_DEPENDENCIES += sysprof
|
|
else
|
|
WPEWEBKIT_CONF_OPTS += -DUSE_SYSPROF_CAPTURE=OFF
|
|
endif
|
|
|
|
ifeq ($(BR2_INIT_SYSTEMD),y)
|
|
WPEWEBKIT_CONF_OPTS += -DENABLE_JOURNALD_LOG=ON
|
|
WPEWEBKIT_DEPENDENCIES += systemd
|
|
else
|
|
WPEWEBKIT_CONF_OPTS += -DENABLE_JOURNALD_LOG=OFF
|
|
endif
|
|
|
|
ifeq ($(BR2_PACKAGE_HAS_LIBGBM),y)
|
|
WPEWEBKIT_CONF_OPTS += -DUSE_GBM=ON
|
|
WPEWEBKIT_DEPENDENCIES += libgbm
|
|
else
|
|
WPEWEBKIT_CONF_OPTS += -DUSE_GBM=OFF
|
|
endif
|
|
|
|
# JIT is not supported for MIPS r6, but the WebKit build system does not
|
|
# have a check for these processors. The same goes for ARMv5 and ARMv6.
|
|
# Disable JIT forcibly here and use the CLoop interpreter instead.
|
|
#
|
|
# Also, we have to disable the sampling profiler and WebAssembly, which
|
|
# do NOT work with ENABLE_C_LOOP.
|
|
#
|
|
# Upstream bugs: https://bugs.webkit.org/show_bug.cgi?id=191258
|
|
# https://bugs.webkit.org/show_bug.cgi?id=172765
|
|
# https://bugs.webkit.org/show_bug.cgi?id=265218
|
|
#
|
|
ifeq ($(BR2_ARM_CPU_ARMV5)$(BR2_ARM_CPU_ARMV6)$(BR2_MIPS_CPU_MIPS32R6)$(BR2_MIPS_CPU_MIPS64R6),y)
|
|
WPEWEBKIT_CONF_OPTS += \
|
|
-DENABLE_JIT=OFF \
|
|
-DENABLE_C_LOOP=ON \
|
|
-DENABLE_SAMPLING_PROFILER=OFF \
|
|
-DENABLE_WEBASSEMBLY=OFF
|
|
endif
|
|
|
|
$(eval $(cmake-package))
|