diff options
| author | Changqing Li <changqing.li@windriver.com> | 2026-03-11 13:05:51 +0800 |
|---|---|---|
| committer | Khem Raj <raj.khem@gmail.com> | 2026-03-17 13:25:22 -0700 |
| commit | 2608fb9d2df1071bf8b9b768b98ac7b18b05c4f1 (patch) | |
| tree | e1b0e559db02405aa13b0ca1b2865de8f6e9d5fa | |
| parent | acc562d488a5ccaa896bcb8948ceaf28b0c66d36 (diff) | |
| download | meta-openembedded-2608fb9d2df1071bf8b9b768b98ac7b18b05c4f1.tar.gz | |
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 <changqing.li@windriver.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
| -rw-r--r-- | meta-xfce/recipes-panel-plugins/pulseaudio/xfce4-pulseaudio-plugin_0.5.1.bb | 2 |
1 files changed, 1 insertions, 1 deletions
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" | |||
| 7 | 7 | ||
| 8 | inherit xfce-panel-plugin features_check | 8 | inherit xfce-panel-plugin features_check |
| 9 | 9 | ||
| 10 | REQUIRED_DISTRO_FEATURES = "pulseaudio" | 10 | REQUIRED_DISTRO_FEATURES = "pulseaudio ${@bb.utils.contains_any('DISTRO_FEATURES', 'opengl vulkan', 'x11', '', d)}" |
| 11 | 11 | ||
| 12 | DEPENDS += "dbus-glib pulseaudio" | 12 | DEPENDS += "dbus-glib pulseaudio" |
| 13 | 13 | ||
