summaryrefslogtreecommitdiffstats
path: root/meta/recipes-support
diff options
context:
space:
mode:
authorRoss Burton <ross.burton@arm.com>2022-12-13 16:17:30 +0000
committerRichard Purdie <richard.purdie@linuxfoundation.org>2022-12-21 10:16:31 +0000
commit566d928f5f5bc55c39c2f8b73b28646af395fe43 (patch)
treea8f8d7942a251bf4db8b83cd2826f328d172aa1f /meta/recipes-support
parent3f79265a7dc43cdd8a630f60cca3da73c4185ae9 (diff)
downloadpoky-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')
-rw-r--r--meta/recipes-support/atk/at-spi2-core_2.46.0.bb10
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
14SRC_URI[sha256sum] = "aa0c86c79f7a8d67bae49a5b7a5ab08430c608cffe6e33bf47a72f41ab03c3d0" 14SRC_URI[sha256sum] = "aa0c86c79f7a8d67bae49a5b7a5ab08430c608cffe6e33bf47a72f41ab03c3d0"
15 15
16X11DEPENDS = "virtual/libx11 libxi libxtst"
17
18DEPENDS = "dbus glib-2.0 libxml2" 16DEPENDS = "dbus glib-2.0 libxml2"
19DEPENDS += "${@bb.utils.contains('DISTRO_FEATURES', 'x11', '${X11DEPENDS}', '', d)}"
20 17
21# For backwards compatibility 18# For backwards compatibility
22PROVIDES += "atk at-spi2-atk" 19PROVIDES += "atk at-spi2-atk"
@@ -25,9 +22,10 @@ RPROVIDES:${PN} += "atk at-spi2-atk"
25inherit meson gtk-doc gettext systemd pkgconfig upstream-version-is-even gobject-introspection 22inherit meson gtk-doc gettext systemd pkgconfig upstream-version-is-even gobject-introspection
26 23
27EXTRA_OEMESON = " -Dsystemd_user_dir=${systemd_user_unitdir} \ 24EXTRA_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" 27PACKAGECONFIG ??= "${@bb.utils.filter('DISTRO_FEATURES', 'x11', d)}"
28PACKAGECONFIG[x11] = "-Dx11=yes,-Dx11=no,virtual/libx11 libxi libxtst"
31 29
32GTKDOC_MESON_OPTION = "docs" 30GTKDOC_MESON_OPTION = "docs"
33 31