diff options
author | Martin Jansa <martin.jansa@gmail.com> | 2020-02-22 18:49:01 +0100 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2020-02-22 23:57:27 +0000 |
commit | 680cba0bbec643903c81dfc1f6e8be829db2bdb9 (patch) | |
tree | 5953ab1312c18307364f423e99ff35997771c92c /meta | |
parent | a7d8e290b35ac39d685d909fbb58539eb1b34e08 (diff) | |
download | poky-680cba0bbec643903c81dfc1f6e8be829db2bdb9.tar.gz |
libwpe, wpebackend-fdo: add opengl to required DISTRO_FEATURES
* requires virtual/egl which isn't available without opengl in DISTRO_FEATURES
as shown in world builds without it:
ERROR: Nothing PROVIDES 'virtual/egl' (but openembedded-core/meta/recipes-sato/webkit/libwpe_1.4.0.1.bb, openembedded-core/meta/recipes-sato/webkit/wpebackend-fdo_1.4.1.bb DEPENDS on or otherwise requires it)
$ bitbake libwpe
NOTE: Resolving any missing task queue dependencies
ERROR: Nothing PROVIDES 'virtual/egl' (but /OE/build/oe-core/openembedded-core/meta/recipes-sato/webkit/libwpe_1.4.0.1.bb DEPENDS on or otherwise requires it). Close matches:
virtual/kernel
virtual/make
virtual/perf
ERROR: Required build target 'libwpe' has no buildable providers.
Missing or unbuildable dependency chain was: ['libwpe', 'virtual/egl']
$ bitbake wpebackend-fdo
NOTE: Resolving any missing task queue dependencies
ERROR: Nothing PROVIDES 'virtual/egl' (but /OE/build/oe-core/openembedded-core/meta/recipes-sato/webkit/wpebackend-fdo_1.4.1.bb DEPENDS on or otherwise requires it). Close matches:
virtual/kernel
virtual/make
virtual/perf
ERROR: Required build target 'wpebackend-fdo' has no buildable providers.
Missing or unbuildable dependency chain was: ['wpebackend-fdo', 'virtual/egl']
$ bitbake webkitgtk
ERROR: Nothing PROVIDES 'webkitgtk'
webkitgtk was skipped: missing required distro feature 'opengl' (not in DISTRO_FEATURES)
(From OE-Core rev: 7214af1d8ed9082cb4646951df8b5d97591a4876)
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta')
-rw-r--r-- | meta/recipes-sato/webkit/libwpe_1.4.0.1.bb | 4 | ||||
-rw-r--r-- | meta/recipes-sato/webkit/wpebackend-fdo_1.4.1.bb | 4 |
2 files changed, 6 insertions, 2 deletions
diff --git a/meta/recipes-sato/webkit/libwpe_1.4.0.1.bb b/meta/recipes-sato/webkit/libwpe_1.4.0.1.bb index 346ca9b1d8..12499ff281 100644 --- a/meta/recipes-sato/webkit/libwpe_1.4.0.1.bb +++ b/meta/recipes-sato/webkit/libwpe_1.4.0.1.bb | |||
@@ -9,7 +9,9 @@ DEPENDS = "virtual/egl libxkbcommon" | |||
9 | # Workaround build issue with RPi userland EGL libraries. | 9 | # Workaround build issue with RPi userland EGL libraries. |
10 | CFLAGS_append_rpi = " ${@bb.utils.contains('MACHINE_FEATURES', 'vc4graphics', '', '-D_GNU_SOURCE', d)}" | 10 | CFLAGS_append_rpi = " ${@bb.utils.contains('MACHINE_FEATURES', 'vc4graphics', '', '-D_GNU_SOURCE', d)}" |
11 | 11 | ||
12 | inherit cmake | 12 | inherit cmake features_check |
13 | |||
14 | REQUIRED_DISTRO_FEATURES = "opengl" | ||
13 | 15 | ||
14 | SRC_URI = "https://wpewebkit.org/releases/${BPN}-${PV}.tar.xz" | 16 | SRC_URI = "https://wpewebkit.org/releases/${BPN}-${PV}.tar.xz" |
15 | SRC_URI[sha256sum] = "09849dfb34877354f34f318e138971cf22e677b2179e1f0a8ea00ab0b7bd8e9b" | 17 | SRC_URI[sha256sum] = "09849dfb34877354f34f318e138971cf22e677b2179e1f0a8ea00ab0b7bd8e9b" |
diff --git a/meta/recipes-sato/webkit/wpebackend-fdo_1.4.1.bb b/meta/recipes-sato/webkit/wpebackend-fdo_1.4.1.bb index 7db5806d9d..cd2f7fabda 100644 --- a/meta/recipes-sato/webkit/wpebackend-fdo_1.4.1.bb +++ b/meta/recipes-sato/webkit/wpebackend-fdo_1.4.1.bb | |||
@@ -8,7 +8,9 @@ DEPENDS = "glib-2.0 libxkbcommon wayland virtual/egl libwpe" | |||
8 | 8 | ||
9 | DEPENDS_append_class-target = " wayland-native" | 9 | DEPENDS_append_class-target = " wayland-native" |
10 | 10 | ||
11 | inherit cmake | 11 | inherit cmake features_check |
12 | |||
13 | REQUIRED_DISTRO_FEATURES = "opengl" | ||
12 | 14 | ||
13 | SRC_URI = "https://wpewebkit.org/releases/${BPN}-${PV}.tar.xz" | 15 | SRC_URI = "https://wpewebkit.org/releases/${BPN}-${PV}.tar.xz" |
14 | SRC_URI[sha256sum] = "6249a0b7cbfa662206a8d2fa24e2c574e75c681ad0e93468091f1dc68ddb299d" | 16 | SRC_URI[sha256sum] = "6249a0b7cbfa662206a8d2fa24e2c574e75c681ad0e93468091f1dc68ddb299d" |