From 6cc1cbf9c737653795ace7df27322d73e0ecea87 Mon Sep 17 00:00:00 2001 From: Philippe Coval <philippe.coval@huawei.com> Date: Wed, 20 Oct 2021 19:30:40 +0200 Subject: [PATCH] lv-lib-png: add wayland to REQUIRED_DISTRO_FEATURES [Martin Jansa] * fixes: ERROR: Nothing PROVIDES 'lvgl' (but meta-oe/recipes-graphics/lvgl/lv-lib-png_8.0.2.bb DEPENDS on or otherwise requires it) lvgl was skipped: missing required distro feature 'wayland' (not in DISTRO_FEATURES) ERROR: Nothing RPROVIDES 'lv-lib-png-dev' (but meta-oe/recipes-graphics/lvgl/lv-lib-png_8.0.2.bb RDEPENDS on or otherwise requires it) No eligible RPROVIDERs exist for 'lv-lib-png-dev' NOTE: Runtime target 'lv-lib-png-dev' is unbuildable, removing... Missing or unbuildable dependency chain was: ['lv-lib-png-dev'] ERROR: Nothing RPROVIDES 'lv-lib-png' (but meta-oe/recipes-graphics/lvgl/lv-lib-png_8.0.2.bb RDEPENDS on or otherwise requires it) No eligible RPROVIDERs exist for 'lv-lib-png' NOTE: Runtime target 'lv-lib-png' is unbuildable, removing... Missing or unbuildable dependency chain was: ['lv-lib-png'] [Philippe Coval] Port patch from upstream, beside dunfell notation, recipes are now aligned. Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com> Signed-off-by: Khem Raj <raj.khem@gmail.com> Author: Martin Jansa <Martin.Jansa@gmail.com> Origin: https://lists.openembedded.org/g/openembedded-devel/message/93498Relate-to: https://github.com/openembedded/meta-openembedded/pull/454 Relate-to: https://github.com/lvgl/lvgl/issues/2534 Forwarded: https://booting.oniroproject.org/distro/oniro/-/merge_requests/432 Last-Update: 2021-11-17 Signed-off-by: Philippe Coval <philippe.coval@huawei.com> --- meta-oniro-staging/recipes-graphics/lvgl/lv-lib-png_8.0.2.bb | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/meta-oniro-staging/recipes-graphics/lvgl/lv-lib-png_8.0.2.bb b/meta-oniro-staging/recipes-graphics/lvgl/lv-lib-png_8.0.2.bb index eb39f45f..2e5da5a2 100644 --- a/meta-oniro-staging/recipes-graphics/lvgl/lv-lib-png_8.0.2.bb +++ b/meta-oniro-staging/recipes-graphics/lvgl/lv-lib-png_8.0.2.bb @@ -11,9 +11,13 @@ LIC_FILES_CHKSUM = "file://LICENSE;md5=d6fc0df890c5270ef045981b516bb8f2" SRC_URI = "git://github.com/lvgl/lv_lib_png;destsuffix=${S};protocol=https;nobranch=1" SRCREV = "bf1531afe07c9f861107559e29ab8a2d83e4715a" +# because of lvgl dependency +REQUIRED_DISTRO_FEATURES = "wayland" + DEPENDS += "lvgl" inherit cmake +inherit features_check TARGET_CFLAGS += "-DLV_CONF_INCLUDE_SIMPLE=1" TARGET_CFLAGS += "-I${RECIPE_SYSROOT}/${includedir}/lvgl" -- GitLab