diff options
author | Adrian Bunk <bunk@stusta.de> | 2020-02-26 13:51:37 +0200 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2020-02-28 23:11:29 +0000 |
commit | 3e5b34b48d3a1c9bc94331405311ac21a8010637 (patch) | |
tree | 4ab6597bd4f7777552215195900ff031824a3a9b /meta/recipes-sato/webkit | |
parent | 20ad8fd118cc9032e7472f0ebbbbe36b637525a3 (diff) | |
download | poky-3e5b34b48d3a1c9bc94331405311ac21a8010637.tar.gz |
webkitgtk: Remove unnecessary REQUIRED_DISTRO_FEATURES requirements
x11 can be replaced with wayland.
opengl is mandatory only with wayland.
Without x11, use gles2 for opengl.
(From OE-Core rev: 1408c00d619d862d4da63882a86ff096a891ad5d)
Signed-off-by: Adrian Bunk <bunk@stusta.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-sato/webkit')
-rw-r--r-- | meta/recipes-sato/webkit/webkitgtk_2.26.4.bb | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/meta/recipes-sato/webkit/webkitgtk_2.26.4.bb b/meta/recipes-sato/webkit/webkitgtk_2.26.4.bb index cc69653fb5..190bc78966 100644 --- a/meta/recipes-sato/webkit/webkitgtk_2.26.4.bb +++ b/meta/recipes-sato/webkit/webkitgtk_2.26.4.bb | |||
@@ -26,7 +26,8 @@ SRC_URI[sha256sum] = "4386900713dfadf9741177210b32623cab22562a79ffd0d446b6656993 | |||
26 | 26 | ||
27 | inherit cmake pkgconfig gobject-introspection perlnative features_check upstream-version-is-even gtk-doc | 27 | inherit cmake pkgconfig gobject-introspection perlnative features_check upstream-version-is-even gtk-doc |
28 | 28 | ||
29 | REQUIRED_DISTRO_FEATURES = "x11 opengl" | 29 | ANY_OF_DISTRO_FEATURES = "${GTK3DISTROFEATURES}" |
30 | REQUIRED_DISTRO_FEATURES = "${@bb.utils.contains('DISTRO_FEATURES', 'wayland', 'opengl', '', d)}" | ||
30 | 31 | ||
31 | CVE_PRODUCT = "webkitgtk webkitgtk\+" | 32 | CVE_PRODUCT = "webkitgtk webkitgtk\+" |
32 | 33 | ||
@@ -39,7 +40,8 @@ DEPENDS = "zlib libsoup-2.4 curl libxml2 cairo libxslt libgcrypt \ | |||
39 | " | 40 | " |
40 | 41 | ||
41 | PACKAGECONFIG ??= "${@bb.utils.filter('DISTRO_FEATURES', 'wayland x11', d)} \ | 42 | PACKAGECONFIG ??= "${@bb.utils.filter('DISTRO_FEATURES', 'wayland x11', d)} \ |
42 | ${@bb.utils.contains('DISTRO_FEATURES', 'opengl', 'webgl opengl', '' ,d)} \ | 43 | ${@bb.utils.contains('DISTRO_FEATURES', 'x11 opengl', 'webgl opengl', '' ,d)} \ |
44 | ${@bb.utils.contains('DISTRO_FEATURES', 'x11', '', 'webgl gles2' ,d)} \ | ||
43 | enchant \ | 45 | enchant \ |
44 | libsecret \ | 46 | libsecret \ |
45 | " | 47 | " |