diff mbox series

[v2,3/7] libhandy: add recipe (from oe-core)

Message ID 20260513105210.2109216-3-ross.burton@arm.com
State Under Review
Headers show
Series [v2,1/7] iwd: depend on the regulatory database | expand

Commit Message

Ross Burton May 13, 2026, 10:52 a.m. UTC
This was previously in oe-core but is being removed as it is no longer
used by anything in that layer. Some changes were made in the process of
moving the recipe to meta-oe:

- Inherit gnomebase, as this is a GNOME package
- Download the release tarball instead of a git clone
- Set the correct license, this is -or-later not -only. Add handy.h to
  the license checksum to provide verification.

The final output is identical to the recipe in oe-core.

Signed-off-by: Ross Burton <ross.burton@arm.com>
---
 .../libhandy/libhandy_1.8.3.bb                | 25 +++++++++++++++++++
 1 file changed, 25 insertions(+)
 create mode 100644 meta-gnome/recipes-support/libhandy/libhandy_1.8.3.bb
diff mbox series

Patch

diff --git a/meta-gnome/recipes-support/libhandy/libhandy_1.8.3.bb b/meta-gnome/recipes-support/libhandy/libhandy_1.8.3.bb
new file mode 100644
index 0000000000..0c525bcae3
--- /dev/null
+++ b/meta-gnome/recipes-support/libhandy/libhandy_1.8.3.bb
@@ -0,0 +1,25 @@ 
+SUMMARY = "A library full of GTK+ widgets for mobile phones"
+DESCRIPTION = "Library with GTK widgets for mobile phones. Libhandy provides \
+GTK widgets and GObjects to ease developing applications for mobile phones. \
+It was developed by Purism (and used by several official GNOME projects) \
+to extend Gtk by providing mobile-friendly widgets and make the creation of \
+responsive apps easier."
+HOMEPAGE = "https://gitlab.gnome.org/GNOME/libhandy"
+BUGTRACKER = "https://gitlab.gnome.org/GNOME/libhandy/-/issues"
+LICENSE = "LGPL-2.1-or-later"
+LIC_FILES_CHKSUM = "file://COPYING;md5=4fbd65380cdd255951079008b364516c \
+                    file://src/handy.h;beginline=4;endline=4;md5=20a35c7a7509753627b8c372765d5f22"
+
+DEPENDS = "gtk+3"
+
+inherit gnomebase gobject-introspection vala gettext gi-docgen features_check
+
+SRC_URI[archive.sha256sum] = "05b497229073ff557f10b326e074c5066f8743a302d4820ab97bcb5cd2dab087"
+
+GIR_MESON_ENABLE_FLAG = 'enabled'
+GIR_MESON_DISABLE_FLAG = 'disabled'
+
+PACKAGES =+ "${PN}-examples"
+FILES:${PN}-examples = "${bindir}"
+
+ANY_OF_DISTRO_FEATURES = "${GTK3DISTROFEATURES}"