xfce4-screenshooter: Fix build for wayland systems
PATCH 1/1 xfce4-screenshooter: Fix build for wayland systems
Ensure that wayland-scanner is added to dependencies Create protocols directory as well where the .c files generated during build are emitted into.
Signed-off-by Khem Raj <[email protected]>
--- .../xfce4-screenshooter/xfce4-screenshooter_1.10.6.bb | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-)
meta-xfce/recipes-apps/xfce4-screenshooter/xfce4-screenshooter_1.10.6.bb +6 -2
@@ -9,9 +9,13 @@ inherit xfce-app perlnative SRC_URI[sha256sum] = "992066cfecfb44a68681340bfd55d524d40410aac3da6ef25c6c6cb2150a5965" +PACKAGECONFIG ??= "${@bb.utils.filter('DISTRO_FEATURES', 'wayland', d)}" +PACKAGECONFIG[wayland] = "--enable-wayland, --disable-wayland, wayland-native wayland" + +EXTRA_OECONF += "WAYLAND_SCANNER=${STAGING_BINDIR_NATIVE}/wayland-scanner" + do_compile:prepend() { - mkdir -p lib - mkdir -p src panel-plugin + mkdir -p lib src panel-plugin protocols } FILES:${PN} += " \