diff options
author | Andrei Gherzan <andrei.gherzan@huawei.com> | 2021-03-05 15:49:02 +0000 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2021-03-06 22:39:04 +0000 |
commit | 585bf35ebe81b1848b9348f98b35970fca5cafe2 (patch) | |
tree | 616922fe9af1401be19c1100278b9688b563cf49 /meta/recipes-gnome | |
parent | 750293518de0fb57f302f68c4c4b839494b56546 (diff) | |
download | poky-585bf35ebe81b1848b9348f98b35970fca5cafe2.tar.gz |
gcr: Add support for building without x11
(From OE-Core rev: d04d813189f388bc8505e29edc3166673a60c746)
Signed-off-by: Andrei Gherzan <andrei.gherzan@huawei.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-gnome')
-rw-r--r-- | meta/recipes-gnome/gcr/gcr_3.38.1.bb | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/meta/recipes-gnome/gcr/gcr_3.38.1.bb b/meta/recipes-gnome/gcr/gcr_3.38.1.bb index fe80439b00..563087a360 100644 --- a/meta/recipes-gnome/gcr/gcr_3.38.1.bb +++ b/meta/recipes-gnome/gcr/gcr_3.38.1.bb | |||
@@ -8,7 +8,7 @@ BUGTRACKER = "https://gitlab.gnome.org/GNOME/gcr/issues" | |||
8 | LICENSE = "GPLv2" | 8 | LICENSE = "GPLv2" |
9 | LIC_FILES_CHKSUM = "file://COPYING;md5=55ca817ccb7d5b5b66355690e9abc605" | 9 | LIC_FILES_CHKSUM = "file://COPYING;md5=55ca817ccb7d5b5b66355690e9abc605" |
10 | 10 | ||
11 | DEPENDS = "gtk+3 p11-kit glib-2.0 libgcrypt gnupg-native \ | 11 | DEPENDS = "p11-kit glib-2.0 libgcrypt gnupg-native \ |
12 | ${@bb.utils.contains('GI_DATA_ENABLED', 'True', 'libxslt-native', '', d)}" | 12 | ${@bb.utils.contains('GI_DATA_ENABLED', 'True', 'libxslt-native', '', d)}" |
13 | 13 | ||
14 | CACHED_CONFIGUREVARS += "ac_cv_path_GPG='gpg2'" | 14 | CACHED_CONFIGUREVARS += "ac_cv_path_GPG='gpg2'" |
@@ -16,11 +16,12 @@ CACHED_CONFIGUREVARS += "ac_cv_path_GPG='gpg2'" | |||
16 | GNOMEBASEBUILDCLASS = "meson" | 16 | GNOMEBASEBUILDCLASS = "meson" |
17 | GTKDOC_MESON_OPTION = "gtk_doc" | 17 | GTKDOC_MESON_OPTION = "gtk_doc" |
18 | inherit gnomebase gtk-icon-cache gtk-doc features_check upstream-version-is-even vala gobject-introspection gettext mime mime-xdg | 18 | inherit gnomebase gtk-icon-cache gtk-doc features_check upstream-version-is-even vala gobject-introspection gettext mime mime-xdg |
19 | # depends on gtk+3, but also x11 through gtk+-x11 | ||
20 | REQUIRED_DISTRO_FEATURES = "x11" | ||
21 | 19 | ||
22 | SRC_URI[archive.sha256sum] = "17fcaf9c4a93a65fb1c72b82643bb102c13344084687d5886ea66313868d9ec9" | 20 | SRC_URI[archive.sha256sum] = "17fcaf9c4a93a65fb1c72b82643bb102c13344084687d5886ea66313868d9ec9" |
23 | 21 | ||
22 | PACKAGECONFIG ??= "${@bb.utils.contains('DISTRO_FEATURES', 'x11', 'gtk', '', d)}" | ||
23 | PACKAGECONFIG[gtk] = "-Dgtk=true,-Dgtk=false,gtk+3" | ||
24 | |||
24 | FILES_${PN} += " \ | 25 | FILES_${PN} += " \ |
25 | ${datadir}/dbus-1 \ | 26 | ${datadir}/dbus-1 \ |
26 | ${datadir}/gcr-3 \ | 27 | ${datadir}/gcr-3 \ |