diff options
| author | Wang Mingyu <wangmy@fujitsu.com> | 2024-04-24 16:41:59 +0800 |
|---|---|---|
| committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2024-04-25 10:06:02 +0100 |
| commit | bbbadbcbf336b18c607373a27a23eebb482f3e04 (patch) | |
| tree | a8b1857aed8e25c624857e24f4703cc1da7ae911 /meta/recipes-gnome/gcr/gcr_4.3.0.bb | |
| parent | 0b7f51d1ef565716b52a39d4e2f53ef9ede3c775 (diff) | |
| download | poky-bbbadbcbf336b18c607373a27a23eebb482f3e04.tar.gz | |
gcr: upgrade 4.2.1 -> 4.3.0
Changelog:
============
- certificate: Add API to retrieve version
- Bump required GnuTLS version to 3.8.5
- Avoid potential integer overflow spotted by UBSan
- Support GnuTLS as an alternative crypto backend
- Updated translations
(From OE-Core rev: 926b94a9477675f5828eb7d997aac8975500b7a8)
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-gnome/gcr/gcr_4.3.0.bb')
| -rw-r--r-- | meta/recipes-gnome/gcr/gcr_4.3.0.bb | 58 |
1 files changed, 58 insertions, 0 deletions
diff --git a/meta/recipes-gnome/gcr/gcr_4.3.0.bb b/meta/recipes-gnome/gcr/gcr_4.3.0.bb new file mode 100644 index 0000000000..50c8cfe8d6 --- /dev/null +++ b/meta/recipes-gnome/gcr/gcr_4.3.0.bb | |||
| @@ -0,0 +1,58 @@ | |||
| 1 | SUMMARY = "A library for bits of crypto UI and parsing etc" | ||
| 2 | DESCRIPTION = "GCR is a library for displaying certificates, and crypto UI, \ | ||
| 3 | accessing key stores. It also provides the viewer for crypto files on the \ | ||
| 4 | GNOME desktop." | ||
| 5 | HOMEPAGE = "https://gitlab.gnome.org/GNOME/gcr" | ||
| 6 | BUGTRACKER = "https://gitlab.gnome.org/GNOME/gcr/issues" | ||
| 7 | |||
| 8 | LICENSE = "GPL-2.0-only" | ||
| 9 | LIC_FILES_CHKSUM = "file://COPYING;md5=55ca817ccb7d5b5b66355690e9abc605" | ||
| 10 | |||
| 11 | DEPENDS = "p11-kit glib-2.0 libgcrypt gnupg-native \ | ||
| 12 | ${@bb.utils.contains('GI_DATA_ENABLED', 'True', 'libxslt-native', '', d)}" | ||
| 13 | |||
| 14 | CACHED_CONFIGUREVARS += "ac_cv_path_GPG='gpg2'" | ||
| 15 | |||
| 16 | CFLAGS += "-D_GNU_SOURCE" | ||
| 17 | |||
| 18 | GTKDOC_MESON_OPTION = "gtk_doc" | ||
| 19 | inherit gnomebase gtk-icon-cache gi-docgen features_check vala gobject-introspection gettext mime mime-xdg | ||
| 20 | |||
| 21 | REQUIRED_DISTRO_FEATURES = "${@bb.utils.contains('DISTRO_FEATURES', 'x11', 'opengl', '', d)}" | ||
| 22 | |||
| 23 | SRC_URI[archive.sha256sum] = "c3ee8728e4364b0397f435fa20f92f901ab139d2b264f4e059d67b3c0f43cd36" | ||
| 24 | |||
| 25 | PACKAGECONFIG ??= " \ | ||
| 26 | ${@bb.utils.filter('DISTRO_FEATURES', 'systemd', d)} \ | ||
| 27 | ${@bb.utils.contains('DISTRO_FEATURES', 'x11', 'gtk', '', d)} \ | ||
| 28 | ${@bb.utils.contains('DISTRO_FEATURES', 'wayland', 'gtk', '', d)} \ | ||
| 29 | ${@bb.utils.contains('GI_DATA_ENABLED', 'True', 'vapi', '', d)} \ | ||
| 30 | " | ||
| 31 | PACKAGECONFIG[gtk] = "-Dgtk4=true,-Dgtk4=false,gtk4" | ||
| 32 | PACKAGECONFIG[ssh_agent] = "-Dssh_agent=true,-Dssh_agent=false,libsecret,openssh" | ||
| 33 | #'Use systemd socket activation for server programs' | ||
| 34 | PACKAGECONFIG[systemd] = "-Dsystemd=enabled,-Dsystemd=disabled,systemd" | ||
| 35 | PACKAGECONFIG[vapi] = "-Dvapi=true,-Dvapi=false," | ||
| 36 | |||
| 37 | FILES:${PN} += " \ | ||
| 38 | ${datadir}/dbus-1 \ | ||
| 39 | ${datadir}/gcr-4 \ | ||
| 40 | ${systemd_user_unitdir}/gcr-ssh-agent.socket \ | ||
| 41 | ${systemd_user_unitdir}/gcr-ssh-agent.service \ | ||
| 42 | " | ||
| 43 | |||
| 44 | # http://errors.yoctoproject.org/Errors/Details/20229/ | ||
| 45 | ARM_INSTRUCTION_SET:armv4 = "arm" | ||
| 46 | ARM_INSTRUCTION_SET:armv5 = "arm" | ||
| 47 | ARM_INSTRUCTION_SET:armv6 = "arm" | ||
| 48 | |||
| 49 | EXTRA_OEMESON += "--cross-file=${WORKDIR}/meson-${PN}.cross" | ||
| 50 | |||
| 51 | do_write_config:append() { | ||
| 52 | cat >${WORKDIR}/meson-${PN}.cross <<EOF | ||
| 53 | [binaries] | ||
| 54 | gpg2 = '${bindir}/gpg2' | ||
| 55 | ssh-add = '${bindir}/ssh-add' | ||
| 56 | ssh-agent = '${bindir}/ssh-agent' | ||
| 57 | EOF | ||
| 58 | } | ||
