diff mbox series

[meta-xfce,4/6] libxfce4windowing: add recipe

Message ID 20241219105225.555464-4-kai.kang@windriver.com
State Under Review
Headers show
Series [meta-xfce,1/6] xfce4-settings: 4.18.3 -> 4.20.0 | expand

Commit Message

Kai Dec. 19, 2024, 10:52 a.m. UTC
From: Kai Kang <kai.kang@windriver.com>

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 <kai.kang@windriver.com>
---
 .../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 mbox series

Patch

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 000000000..e16997ca1
--- /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
+}