diff options
author | Ross Burton <ross.burton@arm.com> | 2022-12-13 16:17:30 +0000 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2022-12-21 10:16:31 +0000 |
commit | 566d928f5f5bc55c39c2f8b73b28646af395fe43 (patch) | |
tree | a8f8d7942a251bf4db8b83cd2826f328d172aa1f /meta/recipes-support/atk | |
parent | 3f79265a7dc43cdd8a630f60cca3da73c4185ae9 (diff) | |
download | poky-566d928f5f5bc55c39c2f8b73b28646af395fe43.tar.gz |
at-spi2-core: clean up x11 enabling
Use a single PACKAGECONFIG instead of a number of location conditionals.
(From OE-Core rev: 15bad54d61f9a9151dd4a2bace5d5feb3e7adc7a)
Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.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-core_2.46.0.bb | 10 |
1 files changed, 4 insertions, 6 deletions
diff --git a/meta/recipes-support/atk/at-spi2-core_2.46.0.bb b/meta/recipes-support/atk/at-spi2-core_2.46.0.bb index 5ab501908d..f815a5eeb2 100644 --- a/meta/recipes-support/atk/at-spi2-core_2.46.0.bb +++ b/meta/recipes-support/atk/at-spi2-core_2.46.0.bb | |||
@@ -13,10 +13,7 @@ SRC_URI = "${GNOME_MIRROR}/${BPN}/${MAJ_VER}/${BPN}-${PV}.tar.xz" | |||
13 | 13 | ||
14 | SRC_URI[sha256sum] = "aa0c86c79f7a8d67bae49a5b7a5ab08430c608cffe6e33bf47a72f41ab03c3d0" | 14 | SRC_URI[sha256sum] = "aa0c86c79f7a8d67bae49a5b7a5ab08430c608cffe6e33bf47a72f41ab03c3d0" |
15 | 15 | ||
16 | X11DEPENDS = "virtual/libx11 libxi libxtst" | ||
17 | |||
18 | DEPENDS = "dbus glib-2.0 libxml2" | 16 | DEPENDS = "dbus glib-2.0 libxml2" |
19 | DEPENDS += "${@bb.utils.contains('DISTRO_FEATURES', 'x11', '${X11DEPENDS}', '', d)}" | ||
20 | 17 | ||
21 | # For backwards compatibility | 18 | # For backwards compatibility |
22 | PROVIDES += "atk at-spi2-atk" | 19 | PROVIDES += "atk at-spi2-atk" |
@@ -25,9 +22,10 @@ RPROVIDES:${PN} += "atk at-spi2-atk" | |||
25 | inherit meson gtk-doc gettext systemd pkgconfig upstream-version-is-even gobject-introspection | 22 | inherit meson gtk-doc gettext systemd pkgconfig upstream-version-is-even gobject-introspection |
26 | 23 | ||
27 | EXTRA_OEMESON = " -Dsystemd_user_dir=${systemd_user_unitdir} \ | 24 | EXTRA_OEMESON = " -Dsystemd_user_dir=${systemd_user_unitdir} \ |
28 | -Ddbus_daemon=${bindir}/dbus-daemon \ | 25 | -Ddbus_daemon=${bindir}/dbus-daemon" |
29 | ${@bb.utils.contains('DISTRO_FEATURES', 'x11', '-Dx11=yes', '-Dx11=no', d)} \ | 26 | |
30 | " | 27 | PACKAGECONFIG ??= "${@bb.utils.filter('DISTRO_FEATURES', 'x11', d)}" |
28 | PACKAGECONFIG[x11] = "-Dx11=yes,-Dx11=no,virtual/libx11 libxi libxtst" | ||
31 | 29 | ||
32 | GTKDOC_MESON_OPTION = "docs" | 30 | GTKDOC_MESON_OPTION = "docs" |
33 | 31 | ||