blob: 563087a3604c6757fefd05cbb510d6a73d784df1 [file] [log] [blame]
Brad Bishop64c979e2019-11-04 13:55:29 -05001SUMMARY = "A library for bits of crypto UI and parsing etc"
2DESCRIPTION = "GCR is a library for displaying certificates, and crypto UI, \
3accessing key stores. It also provides the viewer for crypto files on the \
4GNOME desktop."
5HOMEPAGE = "https://gitlab.gnome.org/GNOME/gcr"
6BUGTRACKER = "https://gitlab.gnome.org/GNOME/gcr/issues"
7
8LICENSE = "GPLv2"
9LIC_FILES_CHKSUM = "file://COPYING;md5=55ca817ccb7d5b5b66355690e9abc605"
10
Andrew Geissler95ac1b82021-03-31 14:34:31 -050011DEPENDS = "p11-kit glib-2.0 libgcrypt gnupg-native \
Brad Bishop64c979e2019-11-04 13:55:29 -050012 ${@bb.utils.contains('GI_DATA_ENABLED', 'True', 'libxslt-native', '', d)}"
13
Andrew Geissler90fd73c2021-03-05 15:25:55 -060014CACHED_CONFIGUREVARS += "ac_cv_path_GPG='gpg2'"
15
Andrew Geissler4b740dc2020-05-05 08:54:39 -050016GNOMEBASEBUILDCLASS = "meson"
17GTKDOC_MESON_OPTION = "gtk_doc"
Andrew Geissler82c905d2020-04-13 13:39:40 -050018inherit gnomebase gtk-icon-cache gtk-doc features_check upstream-version-is-even vala gobject-introspection gettext mime mime-xdg
Brad Bishop64c979e2019-11-04 13:55:29 -050019
Andrew Geisslerd1e89492021-02-12 15:35:20 -060020SRC_URI[archive.sha256sum] = "17fcaf9c4a93a65fb1c72b82643bb102c13344084687d5886ea66313868d9ec9"
Brad Bishop64c979e2019-11-04 13:55:29 -050021
Andrew Geissler95ac1b82021-03-31 14:34:31 -050022PACKAGECONFIG ??= "${@bb.utils.contains('DISTRO_FEATURES', 'x11', 'gtk', '', d)}"
23PACKAGECONFIG[gtk] = "-Dgtk=true,-Dgtk=false,gtk+3"
24
Brad Bishop64c979e2019-11-04 13:55:29 -050025FILES_${PN} += " \
26 ${datadir}/dbus-1 \
27 ${datadir}/gcr-3 \
28"
29
30# http://errors.yoctoproject.org/Errors/Details/20229/
31ARM_INSTRUCTION_SET_armv4 = "arm"
32ARM_INSTRUCTION_SET_armv5 = "arm"
33ARM_INSTRUCTION_SET_armv6 = "arm"
Andrew Geissler90fd73c2021-03-05 15:25:55 -060034
35EXTRA_OEMESON += "--cross-file ${WORKDIR}/meson-${PN}.cross"
36do_write_config_append() {
37 cat >${WORKDIR}/meson-${PN}.cross <<EOF
38[binaries]
39gpg2 = '${bindir}/gpg2'
40EOF
41}