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 <raj.khem@gmail.com>
This commit is contained in:
Khem Raj 2025-07-02 18:18:00 -07:00
parent 7740ec9e95
commit 355e97e1ee
No known key found for this signature in database
GPG Key ID: BB053355919D3314

View File

@ -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} += " \