mirror of
https://github.com/MiyooCFW/buildroot.git
synced 2025-09-27 22:24:19 +03:00
Merge from bittboy/buildroot@26c91a9
This commit is contained in:
@@ -12,19 +12,19 @@ config BR2_PACKAGE_WEBKITGTK_ARCH_SUPPORTS
|
||||
depends on BR2_TOOLCHAIN_HAS_SYNC_4
|
||||
depends on BR2_PACKAGE_LIBGPG_ERROR_ARCH_SUPPORTS # libgcrypt
|
||||
|
||||
comment "webkitgtk needs libgtk3 and a glibc toolchain w/ C++, gcc >= 6, host gcc >= 4.8"
|
||||
comment "webkitgtk needs libgtk3 and a glibc toolchain w/ C++, gcc >= 7, host gcc >= 4.9"
|
||||
depends on BR2_PACKAGE_WEBKITGTK_ARCH_SUPPORTS
|
||||
depends on !BR2_PACKAGE_LIBGTK3 || !BR2_INSTALL_LIBSTDCPP || \
|
||||
!BR2_TOOLCHAIN_USES_GLIBC || \
|
||||
!BR2_HOST_GCC_AT_LEAST_4_8 || \
|
||||
!BR2_TOOLCHAIN_GCC_AT_LEAST_6
|
||||
!BR2_TOOLCHAIN_GCC_AT_LEAST_7 || \
|
||||
!BR2_HOST_GCC_AT_LEAST_4_9
|
||||
depends on BR2_USE_MMU
|
||||
|
||||
config BR2_PACKAGE_WEBKITGTK
|
||||
bool "webkitgtk"
|
||||
depends on BR2_HOST_GCC_AT_LEAST_4_9 # icu
|
||||
depends on BR2_INSTALL_LIBSTDCPP
|
||||
depends on BR2_HOST_GCC_AT_LEAST_4_8 # icu
|
||||
depends on BR2_TOOLCHAIN_GCC_AT_LEAST_6
|
||||
depends on BR2_TOOLCHAIN_GCC_AT_LEAST_7
|
||||
depends on BR2_TOOLCHAIN_USES_GLIBC
|
||||
depends on BR2_PACKAGE_LIBGTK3
|
||||
depends on BR2_PACKAGE_WEBKITGTK_ARCH_SUPPORTS
|
||||
@@ -57,6 +57,21 @@ config BR2_PACKAGE_WEBKITGTK
|
||||
|
||||
if BR2_PACKAGE_WEBKITGTK
|
||||
|
||||
config BR2_PACKAGE_WEBKITGTK_SANDBOX
|
||||
bool "sandboxing support"
|
||||
depends on BR2_PACKAGE_LIBSECCOMP_ARCH_SUPPORTS # libseccomp
|
||||
depends on BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_12 # libseccomp
|
||||
select BR2_PACKAGE_BUBBLEWRAP # runtime
|
||||
select BR2_PACKAGE_XDG_DBUS_PROXY # runtime
|
||||
select BR2_PACKAGE_LIBSECCOMP
|
||||
help
|
||||
Enable sandboxing of the processes used for network operation,
|
||||
disk access, and Web content rendering.
|
||||
|
||||
comment "sandboxing support needs a toolchain w/ headers >= 3.12"
|
||||
depends on BR2_PACKAGE_LIBSECCOMP_ARCH_SUPPORTS
|
||||
depends on !BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_12
|
||||
|
||||
config BR2_PACKAGE_WEBKITGTK_HTTPS
|
||||
bool "HTTPS support"
|
||||
depends on !BR2_STATIC_LIBS # libsoup -> glib-networking, gnutls
|
||||
@@ -95,8 +110,7 @@ if BR2_PACKAGE_WEBKITGTK_MULTIMEDIA
|
||||
config BR2_PACKAGE_WEBKITGTK_USE_GSTREAMER_GL
|
||||
bool "use gstreamer-gl"
|
||||
default y
|
||||
depends on BR2_PACKAGE_GST1_PLUGINS_BASE_HAS_LIB_OPENGL
|
||||
select BR2_PACKAGE_GST1_PLUGINS_BAD_PLUGIN_GL
|
||||
depends on BR2_PACKAGE_GST1_PLUGINS_BASE_LIB_OPENGL_OPENGL
|
||||
help
|
||||
Use the GStreamer GL elements for handling video content.
|
||||
This is recommended as it improves performance of video
|
||||
|
||||
@@ -1,8 +1,8 @@
|
||||
# From https://webkitgtk.org/releases/webkitgtk-2.24.3.tar.xz.sums
|
||||
md5 e2a5bbd09a217eba096a2d1562143e35 webkitgtk-2.24.3.tar.xz
|
||||
sha1 26a33fd0af8223c130427cd59aaf5ccaba584114 webkitgtk-2.24.3.tar.xz
|
||||
sha256 940d746d7e82c357222feb5b3f44c4b201e81df7d81ddca5ca2bf3ae0acf6c51 webkitgtk-2.24.3.tar.xz
|
||||
# From https://webkitgtk.org/releases/webkitgtk-2.30.1.tar.xz.sums
|
||||
md5 de0f910d60de88273ffde7b4bb88bd42 webkitgtk-2.30.1.tar.xz
|
||||
sha1 23dd526e95399f97c758f8796e8cb184e9465eb7 webkitgtk-2.30.1.tar.xz
|
||||
sha256 17c59dfdadb7377192e9b59bc56c8a029c9fad4f38ed732b652bf33d0bd5d6b1 webkitgtk-2.30.1.tar.xz
|
||||
|
||||
# Hashes for license files:
|
||||
sha256 0b5d3a7cc325942567373b0ecd757d07c132e0ebd7c97bfc63f7e1a76094edb4 Source/WebCore/LICENSE-APPLE
|
||||
sha256 f2b3bd09663381deb99721109d22b47af1213bb43007a8b56a06c6375c8050ce Source/WebCore/LICENSE-LGPL-2.1
|
||||
sha256 0b5d3a7cc325942567373b0ecd757d07c132e0ebd7c97bfc63f7e1a76094edb4 Source/WebCore/LICENSE-APPLE
|
||||
sha256 f2b3bd09663381deb99721109d22b47af1213bb43007a8b56a06c6375c8050ce Source/WebCore/LICENSE-LGPL-2.1
|
||||
|
||||
@@ -4,7 +4,7 @@
|
||||
#
|
||||
################################################################################
|
||||
|
||||
WEBKITGTK_VERSION = 2.24.3
|
||||
WEBKITGTK_VERSION = 2.30.1
|
||||
WEBKITGTK_SITE = https://www.webkitgtk.org/releases
|
||||
WEBKITGTK_SOURCE = webkitgtk-$(WEBKITGTK_VERSION).tar.xz
|
||||
WEBKITGTK_INSTALL_STAGING = YES
|
||||
@@ -23,10 +23,22 @@ WEBKITGTK_CONF_OPTS = \
|
||||
-DENABLE_MINIBROWSER=ON \
|
||||
-DENABLE_SPELLCHECK=ON \
|
||||
-DPORT=GTK \
|
||||
-DSILENCE_CROSS_COMPILATION_NOTICES=ON \
|
||||
-DUSE_LIBNOTIFY=OFF \
|
||||
-DUSE_LIBHYPHEN=OFF \
|
||||
-DUSE_OPENJPEG=ON \
|
||||
-DUSE_WOFF2=ON
|
||||
-DUSE_WOFF2=ON \
|
||||
-DUSE_WPE_RENDERER=OFF
|
||||
|
||||
ifeq ($(BR2_PACKAGE_WEBKITGTK_SANDBOX),y)
|
||||
WEBKITGTK_CONF_OPTS += \
|
||||
-DENABLE_BUBBLEWRAP_SANDBOX=ON \
|
||||
-DBWRAP_EXECUTABLE=/usr/bin/bwrap \
|
||||
-DDBUS_PROXY_EXECUTABLE=/usr/bin/xdg-dbus-proxy
|
||||
WEBKITGTK_DEPENDENCIES += libseccomp
|
||||
else
|
||||
WEBKITGTK_CONF_OPTS += -DENABLE_BUBBLEWRAP_SANDBOX=OFF
|
||||
endif
|
||||
|
||||
ifeq ($(BR2_PACKAGE_WEBKITGTK_MULTIMEDIA),y)
|
||||
WEBKITGTK_CONF_OPTS += \
|
||||
@@ -88,9 +100,17 @@ endif
|
||||
|
||||
ifeq ($(BR2_PACKAGE_WEBKITGTK_USE_GSTREAMER_GL),y)
|
||||
WEBKITGTK_CONF_OPTS += -DUSE_GSTREAMER_GL=ON
|
||||
WEBKITGTK_DEPENDENCIES += gst1-plugins-bad
|
||||
else
|
||||
WEBKITGTK_CONF_OPTS += -DUSE_GSTREAMER_GL=OFF
|
||||
endif
|
||||
|
||||
# JIT is not supported for MIPS r6, but the WebKit build system does not
|
||||
# have a check for these processors. Disable JIT forcibly here and use
|
||||
# the CLoop interpreter instead.
|
||||
#
|
||||
# Upstream bug: https://bugs.webkit.org/show_bug.cgi?id=191258
|
||||
ifeq ($(BR2_MIPS_CPU_MIPS32R6)$(BR2_MIPS_CPU_MIPS64R6),y)
|
||||
WEBKITGTK_CONF_OPTS += -DENABLE_JIT=OFF -DENABLE_C_LOOP=ON
|
||||
endif
|
||||
|
||||
$(eval $(cmake-package))
|
||||
|
||||
Reference in New Issue
Block a user