From bd206048b6fabe22a67058aaf250a28d00d92135 Mon Sep 17 00:00:00 2001 From: Mingli Yu Date: Thu, 10 Nov 2022 16:36:19 +0800 Subject: libxfce4ui: check opengl DISTRO_FEATURES Check opengl DISTRO_FEATURES to determine enable x11 in PACKAGECONFIG or not as it make libxfce4ui depend on libepoxy when x11 enabled in PACKAGECONFIG part. Fixes: ERROR: Nothing PROVIDES 'libepoxy' (but /build/layers/meta-openembedded/meta-xfce/recipes-xfce/libxfce4ui/libxfce4ui_4.16.1.bb DEPENDS on or otherwise requires it) libepoxy was skipped: missing required distro feature 'opengl' (not in DISTRO_FEATURES) ERROR: Required build target 'meta-world-pkgdata' has no buildable providers. Missing or unbuildable dependency chain was: ['meta-world-pkgdata', 'xfce4-calculator-plugin', 'libxfce4ui', 'libepoxy'] Signed-off-by: Mingli Yu Signed-off-by: Khem Raj --- meta-xfce/recipes-xfce/libxfce4ui/libxfce4ui_4.16.1.bb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'meta-xfce/recipes-xfce') diff --git a/meta-xfce/recipes-xfce/libxfce4ui/libxfce4ui_4.16.1.bb b/meta-xfce/recipes-xfce/libxfce4ui/libxfce4ui_4.16.1.bb index bb45ee6f43..692c79f3c5 100644 --- a/meta-xfce/recipes-xfce/libxfce4ui/libxfce4ui_4.16.1.bb +++ b/meta-xfce/recipes-xfce/libxfce4ui/libxfce4ui_4.16.1.bb @@ -18,7 +18,7 @@ EXTRA_OECONF += "--with-vendor-info=${DISTRO}" EXTRA_OECONF += "--disable-vala" PACKAGECONFIG ??= " \ - ${@bb.utils.filter('DISTRO_FEATURES', 'x11', d)} \ + ${@bb.utils.contains('DISTRO_FEATURES', 'opengl','x11', "", d)} \ " PACKAGECONFIG[gladeui2] = "--enable-gladeui2,--disable-gladeui2,glade" PACKAGECONFIG[x11] = "--enable-startup-notification,--disable-startup-notification,libepoxy libice libsm startup-notification" -- cgit v1.2.3-54-g00ecf