Skip to content

Commit

Permalink
webkitgtk, wpewebkit: update to 2.40.2 and add gbm PACKAGECONFIG option
Browse files Browse the repository at this point in the history
* 2.40.2 is the last stable version and it also includes security fixes.
  Check:
  - https://webkitgtk.org/security/WSA-2023-0004.html
  - https://wpewebkit.org/security/WSA-2023-0004.html

 * Add also a new entry for the gbm PACKAGECONFIG option
  (enabled by default)
  • Loading branch information
clopez committed Jun 29, 2023
1 parent 0054d6d commit 13f7bd9
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ FILESEXTRAPATHS:prepend := "${THISDIR}/${PN}:"
SRC_URI = " \
https://www.webkitgtk.org/releases/webkitgtk-${PV}.tar.xz;name=tarball \
"
SRC_URI[tarball.sha256sum] = "64e526984f8cd2161ef03ae949af99c002ff333d615e6386b460164a3c1b7ef6"
SRC_URI[tarball.sha256sum] = "96898870d994da406ee7a632816dcde9a3bb395ee5f344fcb3f3b8cc8a77e000"

RRECOMMENDS:${PN} = "${PN}-bin \
ca-certificates \
Expand All @@ -43,6 +43,7 @@ PACKAGECONFIG ??= " ${@bb.utils.contains('DISTRO_FEATURES', 'x11', 'x11', '', d)
${@bb.utils.contains('DISTRO_FEATURES', 'opengl', 'opengl gles2 webgl', '', d)} \
${@bb.utils.contains('DISTRO_FEATURES', 'systemd', 'journald', '' ,d)} \
enchant \
gbm \
jit \
libsecret \
openjpeg \
Expand All @@ -55,6 +56,7 @@ PACKAGECONFIG[reduce-size] = "-DCMAKE_BUILD_TYPE=MinSizeRel,-DCMAKE_BUILD_TYPE=R
PACKAGECONFIG[bubblewrap] = "-DENABLE_BUBBLEWRAP_SANDBOX=ON,-DENABLE_BUBBLEWRAP_SANDBOX=OFF,bubblewrap xdg-dbus-proxy bubblewrap-native xdg-dbus-proxy-native libseccomp"
PACKAGECONFIG[enchant] = "-DENABLE_SPELLCHECK=ON,-DENABLE_SPELLCHECK=OFF,enchant2"
PACKAGECONFIG[gamepad] = "-DENABLE_GAMEPAD=ON,-DENABLE_GAMEPAD=OFF,libmanette"
PACKAGECONFIG[gbm] = "-DUSE_GBM=ON,-DUSE_GBM=OFF,libdrm"
PACKAGECONFIG[geoclue] = "-DENABLE_GEOLOCATION=ON,-DENABLE_GEOLOCATION=OFF,geoclue"
PACKAGECONFIG[gles2] = "-DENABLE_GLES2=ON,-DENABLE_GLES2=OFF,virtual/libgles2"
PACKAGECONFIG[libhyphen] = "-DUSE_LIBHYPHEN=ON,-DUSE_LIBHYPHEN=OFF,libhyphen"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ SRC_URI = "https://wpewebkit.org/releases/${BPN}-${PV}.tar.xz;name=tarball \
file://0001-FELightningNEON.cpp-fails-to-build-NEON-fast-path-se.patch \
"

SRC_URI[tarball.sha256sum] = "c6b25e168b70f2121305ed078d0790e0aa4b0c73fce44e32ed42d4e5dd137ccb"
SRC_URI[tarball.sha256sum] = "99b7ab42580ac5726a2c95bae90caf4cf5df89765e4a046ca72e97b7fd3bccc7"

DEPENDS += " libwpe"
RCONFLICTS:${PN} = "libwpe (< 1.12)"
Expand Down Expand Up @@ -42,3 +42,7 @@ PACKAGECONFIG:append = " wpe-1-1-api"

# unifdef-native: Needed since >2.38.
DEPENDS:append = " unifdef-native"

# Since 2.40.X
PACKAGECONFIG[gbm] = "-DUSE_GBM=ON,-DUSE_GBM=OFF,libdrm"
PACKAGECONFIG:append = " gbm"

0 comments on commit 13f7bd9

Please sign in to comment.