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 <[email protected]> --- .../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" -- 2.34.1
-=-=-=-=-=-=-=-=-=-=-=- Links: You receive all messages sent to this group. View/Reply Online (#125053): https://lists.openembedded.org/g/openembedded-devel/message/125053 Mute This Topic: https://lists.openembedded.org/mt/118255399/21656 Group Owner: [email protected] Unsubscribe: https://lists.openembedded.org/g/openembedded-devel/unsub [[email protected]] -=-=-=-=-=-=-=-=-=-=-=-
