From 2608fb9d2df1071bf8b9b768b98ac7b18b05c4f1 Mon Sep 17 00:00:00 2001 From: Changqing Li Date: Wed, 11 Mar 2026 13:05:51 +0800 Subject: [PATCH] xfce4-pulseaudio-plugin: require x11 distro feature When DISTRO_FEATURES contains pulseaudio, but not x11, world build will report error: pavucontrol was skipped: using DISTRO 'poky', which is missing required DISTRO_FEATURES: 'x11' Missing or unbuildable dependency chain was: ['meta-world-pkgdata', 'xfce4-pulseaudio-plugin', 'pavucontrol'] Refer [1], conditionally add x11 to REQUIRED_DISTRO_FEATURES [1] https://git.openembedded.org/meta-openembedded/commit/?id=3a57e5274540a2b4b6d6a1d9808d0c9783f250a7 Signed-off-by: Changqing Li Signed-off-by: Khem Raj --- .../pulseaudio/xfce4-pulseaudio-plugin_0.5.1.bb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/meta-xfce/recipes-panel-plugins/pulseaudio/xfce4-pulseaudio-plugin_0.5.1.bb b/meta-xfce/recipes-panel-plugins/pulseaudio/xfce4-pulseaudio-plugin_0.5.1.bb index 2fa76351a4..4f823c67b5 100644 --- a/meta-xfce/recipes-panel-plugins/pulseaudio/xfce4-pulseaudio-plugin_0.5.1.bb +++ b/meta-xfce/recipes-panel-plugins/pulseaudio/xfce4-pulseaudio-plugin_0.5.1.bb @@ -7,7 +7,7 @@ XFCE_COMPRESS_TYPE = "xz" inherit xfce-panel-plugin features_check -REQUIRED_DISTRO_FEATURES = "pulseaudio" +REQUIRED_DISTRO_FEATURES = "pulseaudio ${@bb.utils.contains_any('DISTRO_FEATURES', 'opengl vulkan', 'x11', '', d)}" DEPENDS += "dbus-glib pulseaudio"