Skip to contentSkip to conversation

gtk-layer-shell: Add recipe for GTK3 version

PATCH New Khem Raj 1 participant 2 messages Nov 18, 2025

lore
Share & tools
lore

Khem Raj

author
#0 lore raw

PATCH 1/2 gtk-layer-shell: Add recipe for GTK3 version

This is needed by xfce4-screenshooter

---
 .../gtk-layer-shell/gtk-layer-shell_0.10.0.bb | 25 +++++++++++++++++++
 1 file changed, 25 insertions(+)
 create mode 100644 meta-oe/recipes-support/gtk-layer-shell/gtk-layer-shell_0.10.0.bb
meta-oe/recipes-support/gtk-layer-shell/gtk-layer-shell_0.10.0.bb new file +25 -0
new file mode 100644
index 0000000000..2bfe9b0e77
@@ -0,0 +1,25 @@
+SUMMARY = "A library to write GTK applications that use Layer Shell"
+HOMEPAGE = "https://github.com/wmww/gtk-layer-shell"
+BUGTRACKER = "https://github.com/www/gtk-layer-shell/issues"
+SECTION = "graphics"
+LICENSE = "MIT"
+
+LIC_FILES_CHKSUM = "file://LICENSE_MIT.txt;md5=ffeb3391e5dace600b84c757688b9f1b"
+
+REQUIRED_DISTRO_FEATURES = "wayland gobject-introspection-data"
+
+DEPENDS += " \
+	gtk+3 \
+	wayland \
+	wayland-native \
+	wayland-protocols \
+"
+
+SRC_URI = " \
+	git://github.com/wmww/gtk-layer-shell.git;protocol=https;branch=master;tag=v${PV} \
+"
+SRCREV = "3964966d72ea3359f4ff748081493e979c080b7e"
+
+inherit meson pkgconfig features_check gobject-introspection vala
+
+EXTRA_OEMESON += "--buildtype release"
author
#1 lore raw

PATCH 2/2 xfce4-screenshooter: Add gtk-layer-shell to depends with wayland

---
 .../xfce4-screenshooter/xfce4-screenshooter_1.11.3.bb           | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
meta-xfce/recipes-apps/xfce4-screenshooter/xfce4-screenshooter_1.11.3.bb +1 -1
index 1dff925a0b..144848a6c8 100644
@@ -13,7 +13,7 @@ XFCE_COMPRESS_TYPE = "xz"
 SRC_URI[sha256sum] = "1f6a14f7d1b0c440f31e24a8cc4fe2996185357fa786f0c2cdfe564ef673a710"
 
 PACKAGECONFIG ??= "${@bb.utils.filter('DISTRO_FEATURES', 'wayland', d)}"
-PACKAGECONFIG[wayland] = "-Dwayland=enabled, -Dwayland=disabled, wayland-native wayland"
+PACKAGECONFIG[wayland] = "-Dwayland=enabled, -Dwayland=disabled, gtk-layer-shell wayland-native wayland"
 
 EXTRA_OECONF += "WAYLAND_SCANNER=${STAGING_BINDIR_NATIVE}/wayland-scanner"