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 <[email protected]>
---
 .../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 --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}"
-- 
2.43.0

-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#126967): 
https://lists.openembedded.org/g/openembedded-devel/message/126967
Mute This Topic: https://lists.openembedded.org/mt/119294939/21656
Group Owner: [email protected]
Unsubscribe: https://lists.openembedded.org/g/openembedded-devel/unsub 
[[email protected]]
-=-=-=-=-=-=-=-=-=-=-=-

Reply via email to