diff options
author | Wang Mingyu <wangmy@fujitsu.com> | 2024-03-13 15:08:02 +0800 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2024-04-16 08:07:01 +0100 |
commit | 7f23f72449d4334d41da5637508ab6489399b709 (patch) | |
tree | 2b755cc58de6f67062ac8233bde98c0eded79d85 /meta/recipes-gnome/gcr/gcr_4.2.1.bb | |
parent | 69a3a3f9be4e26ca9a56466babc2fcdc1f6c27ad (diff) | |
download | poky-7f23f72449d4334d41da5637508ab6489399b709.tar.gz |
gcr: upgrade 4.2.0 -> 4.2.1
Changelog:
===========
- gcr-ssh-agent: set 'SSH_AUTH_SOCK'
- gcr-ssh-agent: port avoid deadlock fix
- Updated translations
(From OE-Core rev: 5b98e250d8c04040df1333506b72575d368e6bdc)
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.2.1.bb')
-rw-r--r-- | meta/recipes-gnome/gcr/gcr_4.2.1.bb | 58 |
1 files changed, 58 insertions, 0 deletions
diff --git a/meta/recipes-gnome/gcr/gcr_4.2.1.bb b/meta/recipes-gnome/gcr/gcr_4.2.1.bb new file mode 100644 index 0000000000..26dc1d1bc6 --- /dev/null +++ b/meta/recipes-gnome/gcr/gcr_4.2.1.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] = "ed783b5c80373cd058c02ea9e3e2a64e558599ca190a5abd598122e479967de5" | ||
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 | } | ||