diff options
author | Markus Volk <f_l_k@t-online.de> | 2022-12-09 15:11:14 +0100 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2022-12-17 11:10:04 +0000 |
commit | 15bdcd1d5981c90e378075c82eb3a6e5de442be1 (patch) | |
tree | 9b946264735821ed93b28df1177d1176dc8cbc27 /meta/recipes-gnome/gcr/gcr3_3.40.0.bb | |
parent | 2b275b425ec9d0384ed3a510e32faaf16fb6a3ee (diff) | |
download | poky-15bdcd1d5981c90e378075c82eb3a6e5de442be1.tar.gz |
gcr: rename gcr -> gcr3
gcr-3 recipe is still needed for gnome projects that stick to gtk+3, rename to gcr3.
(From OE-Core rev: d0ebe63698470fb3336cc02db698cafacedbd070)
Signed-off-by: Markus Volk <f_l_k@t-online.de>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-gnome/gcr/gcr3_3.40.0.bb')
-rw-r--r-- | meta/recipes-gnome/gcr/gcr3_3.40.0.bb | 54 |
1 files changed, 54 insertions, 0 deletions
diff --git a/meta/recipes-gnome/gcr/gcr3_3.40.0.bb b/meta/recipes-gnome/gcr/gcr3_3.40.0.bb new file mode 100644 index 0000000000..5318768db6 --- /dev/null +++ b/meta/recipes-gnome/gcr/gcr3_3.40.0.bb | |||
@@ -0,0 +1,54 @@ | |||
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 | GNOMEBASEBUILDCLASS = "meson" | ||
19 | GTKDOC_MESON_OPTION = "gtk_doc" | ||
20 | inherit gnomebase gtk-icon-cache gtk-doc features_check upstream-version-is-even vala gobject-introspection gettext mime mime-xdg | ||
21 | UPSTREAM_CHECK_REGEX = "[^\d\.](?P<pver>\d+\.(?!9\d+)(\d*[02468])+(\.\d+)+)\.tar" | ||
22 | |||
23 | SRC_URI = " \ | ||
24 | https://download.gnome.org/sources/gcr/3.40/gcr-${PV}.tar.xz;name=archive \ | ||
25 | file://0001-gcr-meson.build-fix-one-parallel-build-failure.patch \ | ||
26 | file://b3ca1d02bb0148ca787ac4aead164d7c8ce2c4d8.patch" | ||
27 | |||
28 | SRC_URI[archive.sha256sum] = "b9d3645a5fd953a54285cc64d4fc046736463dbd4dcc25caf5c7b59bed3027f5" | ||
29 | |||
30 | S = "${WORKDIR}/gcr-${PV}" | ||
31 | |||
32 | PACKAGECONFIG ??= " \ | ||
33 | ${@bb.utils.contains('DISTRO_FEATURES', 'x11', 'gtk', '', d)} \ | ||
34 | ${@bb.utils.contains('DISTRO_FEATURES', 'wayland', 'gtk', '', d)} \ | ||
35 | " | ||
36 | PACKAGECONFIG[gtk] = "-Dgtk=true,-Dgtk=false,gtk+3" | ||
37 | |||
38 | FILES:${PN} += " \ | ||
39 | ${datadir}/dbus-1 \ | ||
40 | ${datadir}/gcr-3 \ | ||
41 | " | ||
42 | |||
43 | # http://errors.yoctoproject.org/Errors/Details/20229/ | ||
44 | ARM_INSTRUCTION_SET:armv4 = "arm" | ||
45 | ARM_INSTRUCTION_SET:armv5 = "arm" | ||
46 | ARM_INSTRUCTION_SET:armv6 = "arm" | ||
47 | |||
48 | EXTRA_OEMESON += "--cross-file ${WORKDIR}/meson-${PN}.cross" | ||
49 | do_write_config:append() { | ||
50 | cat >${WORKDIR}/meson-${PN}.cross <<EOF | ||
51 | [binaries] | ||
52 | gpg2 = '${bindir}/gpg2' | ||
53 | EOF | ||
54 | } | ||