From 6062a0c9af9d26eb85c8a1e291a483b920b9c6c3 Mon Sep 17 00:00:00 2001 From: Kai Kang Date: Thu, 19 Dec 2024 18:52:23 +0800 Subject: [PATCH] libxfce4windowing: add recipe Add recipe for libxfce4windowing 4.20.0 which is required by other xfce4 components such as xfce4-session, xfdesktop etc. Signed-off-by: Kai Kang Signed-off-by: Khem Raj --- .../libxfce4windowing_4.20.0.bb | 24 +++++++++++++++++++ 1 file changed, 24 insertions(+) create mode 100644 meta-xfce/recipes-xfce/libxfce4windowing/libxfce4windowing_4.20.0.bb diff --git a/meta-xfce/recipes-xfce/libxfce4windowing/libxfce4windowing_4.20.0.bb b/meta-xfce/recipes-xfce/libxfce4windowing/libxfce4windowing_4.20.0.bb new file mode 100644 index 0000000000..e16997ca11 --- /dev/null +++ b/meta-xfce/recipes-xfce/libxfce4windowing/libxfce4windowing_4.20.0.bb @@ -0,0 +1,24 @@ +SUMMARY = "Windowing concept abstraction library for X11 and Wayland" +SECTION = "x11/libs" +LICENSE = "LGPL-2.1-only" +LIC_FILES_CHKSUM = "file://COPYING;md5=435ed639f84d4585d93824e7da3d85da" + +DEPENDS = "xfce4-dev-tools-native libdisplay-info libwnck3" + +SRC_URI[sha256sum] = "56f29b1d79606fb00a12c83ef4ece12877d2b22bf1acaaff89537fbe8e939f68" + +inherit features_check gobject-introspection gtk-doc xfce + +# Currently, X11 is fully supported. Wayland is partially supported +REQUIRED_DISTRO_FEATURES = "x11" + +PACKAGECONFIG ??= "${@bb.utils.filter('DISTRO_FEATURES', 'wayland', d)}" +PACKAGECONFIG[wayland] = "--enable-wayland, --disable-wayland, wayland-native" + +EXTRA_OECONF = "--enable-x11 \ + WAYLAND_SCANNER=${STAGING_BINDIR_NATIVE}/wayland-scanner \ + " + +do_compile:prepend() { + export GIR_EXTRA_LIBS_PATH=${B}/libxfce4windowing/.libs +}