From b2fe1ea791ca15e43ac41be08ec398f451cc578e Mon Sep 17 00:00:00 2001 From: Markus Volk Date: Thu, 24 Sep 2026 10:22:17 +0200 Subject: [PATCH] sushi: add recipe Quick previewer for Nautilus, started over D-Bus when a file is selected and space is pressed. It is a gjs application, so meson is told where gjs and env live on the target through a cross file, which also keeps the build host paths out of the two wrapper scripts. AI-Generated: Uses Claude Code (Claude Fable 5.1) Signed-off-by: Markus Volk Signed-off-by: Khem Raj --- meta-gnome/recipes-gnome/sushi/sushi_51.1.bb | 55 ++++++++++++++++++++ 1 file changed, 55 insertions(+) create mode 100644 meta-gnome/recipes-gnome/sushi/sushi_51.1.bb diff --git a/meta-gnome/recipes-gnome/sushi/sushi_51.1.bb b/meta-gnome/recipes-gnome/sushi/sushi_51.1.bb new file mode 100644 index 0000000000..8af34b2f26 --- /dev/null +++ b/meta-gnome/recipes-gnome/sushi/sushi_51.1.bb @@ -0,0 +1,55 @@ +SUMMARY = "Quick previewer for Nautilus" +HOMEPAGE = "https://gitlab.gnome.org/GNOME/sushi" +SECTION = "x11/gnome" + +LICENSE = "GPL-2.0-or-later" +LIC_FILES_CHKSUM = "file://COPYING;md5=8a935b4d9a4fa8aa5978b50a432f833e" + +DEPENDS = " \ + blueprint-compiler-native \ + freetype \ + fribidi \ + gjs \ + glib-2.0 \ + glycin \ + gstreamer1.0 \ + gstreamer1.0-plugins-base \ + gtk4 \ + gtksourceview5 \ + harfbuzz \ + libadwaita \ + papers \ + webkitgtk \ +" + +inherit gnomebase gobject-introspection gettext features_check + +GIR_MESON_OPTION = "" + +REQUIRED_DISTRO_FEATURES = "opengl gobject-introspection-data" + +SRC_URI[archive.sha256sum] = "d326ec69fc004be3a5fc048f7ecf2c8eb828b7d8b682f1e7a2ba01a5e72993e1" + +export GI_TYPELIB_PATH = "${STAGING_LIBDIR}/girepository-1.0/" + +PACKAGECONFIG ??= "${@bb.utils.filter('DISTRO_FEATURES', 'wayland x11', d)}" +PACKAGECONFIG[wayland] = "-Dwayland=enabled,-Dwayland=disabled" +PACKAGECONFIG[x11] = "-DX11=enabled,-DX11=disabled,virtual/libx11" + +EXTRA_OEMESON += "--cross-file=${WORKDIR}/meson-${PN}.cross" + +do_write_config:append() { + cat >${WORKDIR}/meson-${PN}.cross <