[OE-core] [PATCH] wayland-protocols: extend to native and fix dependencies

Saul Wold sgw at linux.intel.com
Fri Sep 22 23:52:19 UTC 2017


When trying to build a newer version of Mesa, a native version of
wayland-protocols is needed to build.

Signed-off-by: Saul Wold <sgw at linux.intel.com>
---
 meta/recipes-graphics/wayland/wayland-protocols_1.10.bb | 5 +++++
 1 file changed, 5 insertions(+)

diff --git a/meta/recipes-graphics/wayland/wayland-protocols_1.10.bb b/meta/recipes-graphics/wayland/wayland-protocols_1.10.bb
index 4f9e9f32bfc..64044dae8d7 100644
--- a/meta/recipes-graphics/wayland/wayland-protocols_1.10.bb
+++ b/meta/recipes-graphics/wayland/wayland-protocols_1.10.bb
@@ -11,6 +11,9 @@ LIC_FILES_CHKSUM = "file://COPYING;md5=c7b12b6702da38ca028ace54aae3d484 \
 
 SRC_URI = "https://wayland.freedesktop.org/releases/${BPN}-${PV}.tar.xz \
            "
+
+DEPENDS = "wayland"
+
 SRC_URI[md5sum] = "84a7846c2b6a6a3e265fc9be36453e60"
 SRC_URI[sha256sum] = "5719c51d7354864983171c5083e93a72ac99229e2b460c4bb10513de08839c0a"
 
@@ -18,3 +21,5 @@ inherit allarch autotools pkgconfig
 
 PACKAGES = "${PN}"
 FILES_${PN} += "${datadir}/pkgconfig/wayland-protocols.pc"
+
+BBCLASSEXTEND = "native"
-- 
2.13.5




More information about the Openembedded-core mailing list