aboutsummaryrefslogtreecommitdiffstats
path: root/meta-xfce/recipes-xfce
diff options
context:
space:
mode:
authorMingli Yu <mingli.yu@windriver.com>2022-11-10 16:36:19 +0800
committerKhem Raj <raj.khem@gmail.com>2022-11-10 10:41:35 -0800
commitbd206048b6fabe22a67058aaf250a28d00d92135 (patch)
tree2f395969754102a508ac19fdad6e4d7c0ed119d8 /meta-xfce/recipes-xfce
parent052866b19632d0cce1c7295b3a94cf570a3f887e (diff)
downloadmeta-openembedded-contrib-bd206048b6fabe22a67058aaf250a28d00d92135.tar.gz
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 <mingli.yu@windriver.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
Diffstat (limited to 'meta-xfce/recipes-xfce')
-rw-r--r--meta-xfce/recipes-xfce/libxfce4ui/libxfce4ui_4.16.1.bb2
1 files changed, 1 insertions, 1 deletions
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 bb45ee6f433..692c79f3c50 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"