diff options
author | Philippe Normand <philn@igalia.com> | 2019-05-31 10:39:28 +0100 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2019-05-31 22:13:31 +0100 |
commit | 67edffa0aeb0830a8c4a88b3643c9654396dfab3 (patch) | |
tree | a98821aa7631064de381ea122111623d210f821a /meta/recipes-support/atk | |
parent | fe445324084c2631080afd3d28a0288f146bbdee (diff) | |
download | poky-67edffa0aeb0830a8c4a88b3643c9654396dfab3.tar.gz |
at-spi2: Make X11 support truly optional
X11 support in at-spi2-core can be turned off at compile time, so leverage this
and disable it when X11 is not present in DISTRO_FEATURES.
(From OE-Core rev: be18dabdb28703c889f97faadbaec07e76d5e8bd)
Signed-off-by: Philippe Normand <philn@igalia.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-support/atk')
-rw-r--r-- | meta/recipes-support/atk/at-spi2-atk_2.32.0.bb | 3 | ||||
-rw-r--r-- | meta/recipes-support/atk/at-spi2-core_2.32.1.bb | 4 |
2 files changed, 3 insertions, 4 deletions
diff --git a/meta/recipes-support/atk/at-spi2-atk_2.32.0.bb b/meta/recipes-support/atk/at-spi2-atk_2.32.0.bb index 8812d33d9a..bcf1c9c77a 100644 --- a/meta/recipes-support/atk/at-spi2-atk_2.32.0.bb +++ b/meta/recipes-support/atk/at-spi2-atk_2.32.0.bb | |||
@@ -11,9 +11,6 @@ DEPENDS = "dbus glib-2.0 glib-2.0-native atk at-spi2-core libxml2" | |||
11 | GNOMEBASEBUILDCLASS = "meson" | 11 | GNOMEBASEBUILDCLASS = "meson" |
12 | inherit gnomebase distro_features_check upstream-version-is-even | 12 | inherit gnomebase distro_features_check upstream-version-is-even |
13 | 13 | ||
14 | # The at-spi2-core requires x11 in DISTRO_FEATURES | ||
15 | REQUIRED_DISTRO_FEATURES = "x11" | ||
16 | |||
17 | PACKAGES =+ "${PN}-gnome ${PN}-gtk2" | 14 | PACKAGES =+ "${PN}-gnome ${PN}-gtk2" |
18 | 15 | ||
19 | FILES_${PN}-gnome = "${libdir}/gnome-settings-daemon-3.0/gtk-modules" | 16 | FILES_${PN}-gnome = "${libdir}/gnome-settings-daemon-3.0/gtk-modules" |
diff --git a/meta/recipes-support/atk/at-spi2-core_2.32.1.bb b/meta/recipes-support/atk/at-spi2-core_2.32.1.bb index 0f84259d94..11052a8ece 100644 --- a/meta/recipes-support/atk/at-spi2-core_2.32.1.bb +++ b/meta/recipes-support/atk/at-spi2-core_2.32.1.bb | |||
@@ -18,7 +18,9 @@ DEPENDS += "${@bb.utils.contains('DISTRO_FEATURES', 'x11', '${X11DEPENDS}', '', | |||
18 | inherit meson gtk-doc gettext systemd pkgconfig upstream-version-is-even gobject-introspection | 18 | inherit meson gtk-doc gettext systemd pkgconfig upstream-version-is-even gobject-introspection |
19 | 19 | ||
20 | EXTRA_OEMESON = " -Dsystemd_user_dir=${systemd_user_unitdir} \ | 20 | EXTRA_OEMESON = " -Dsystemd_user_dir=${systemd_user_unitdir} \ |
21 | -Ddbus_daemon=${bindir}/dbus-daemon" | 21 | -Ddbus_daemon=${bindir}/dbus-daemon \ |
22 | ${@bb.utils.contains('DISTRO_FEATURES', 'x11', '-Dx11=yes', '-Dx11=no', d)} \ | ||
23 | " | ||
22 | 24 | ||
23 | GTKDOC_MESON_OPTION = "docs" | 25 | GTKDOC_MESON_OPTION = "docs" |
24 | 26 | ||