[oe-commits] [openembedded-core] branch master-next updated: at-spi2-core: only depend of x11 if in DISTRO_FEATURES

git at git.openembedded.org git at git.openembedded.org
Mon Jan 21 12:25:27 UTC 2019


This is an automated email from the git hooks/post-receive script.

rpurdie pushed a commit to branch master-next
in repository openembedded-core.

The following commit(s) were added to refs/heads/master-next by this push:
     new e80bfa6  at-spi2-core: only depend of x11 if in DISTRO_FEATURES
e80bfa6 is described below

commit e80bfa6bdfc1ad97c6232f8387d1bf8a8c7a8b20
Author: Peter Bergin <peter at berginkonsult.se>
AuthorDate: Sat Jan 19 22:35:21 2019 +0100

    at-spi2-core: only depend of x11 if in DISTRO_FEATURES
    
    Build system for at-spi2-core package have auto detection
    of x11 dependency since version 2.26.1. Remove the hardcoded
    dependency in the recipe and let DISTRO_FEATURES decide.
    
    Signed-off-by: Peter Bergin <peter at berginkonsult.se>
    Signed-off-by: Richard Purdie <richard.purdie at linuxfoundation.org>
---
 meta/recipes-support/atk/at-spi2-core_2.30.0.bb | 9 +++++----
 1 file changed, 5 insertions(+), 4 deletions(-)

diff --git a/meta/recipes-support/atk/at-spi2-core_2.30.0.bb b/meta/recipes-support/atk/at-spi2-core_2.30.0.bb
index d7ea9be..7d2d406 100644
--- a/meta/recipes-support/atk/at-spi2-core_2.30.0.bb
+++ b/meta/recipes-support/atk/at-spi2-core_2.30.0.bb
@@ -11,11 +11,12 @@ SRC_URI = "${GNOME_MIRROR}/${BPN}/${MAJ_VER}/${BPN}-${PV}.tar.xz \
 SRC_URI[md5sum] = "d4f22c66b3210ffe6b10d01c04e008b5"
 SRC_URI[sha256sum] = "0175f5393d19da51f4c11462cba4ba6ef3fa042abf1611a70bdfed586b7bfb2b"
 
-DEPENDS = "dbus glib-2.0 virtual/libx11 libxi libxtst"
+X11DEPENDS = "virtual/libx11 libxi libxtst"
 
-inherit meson gtk-doc gettext systemd pkgconfig distro_features_check upstream-version-is-even gobject-introspection
-# depends on virtual/libx11
-REQUIRED_DISTRO_FEATURES = "x11"
+DEPENDS = "dbus glib-2.0"
+DEPENDS += "${@bb.utils.contains('DISTRO_FEATURES', 'x11', '${X11DEPENDS}', '', d)}"
+
+inherit meson gtk-doc gettext systemd pkgconfig upstream-version-is-even gobject-introspection
 
 EXTRA_OEMESON = " -Dsystemd_user_dir=${systemd_user_unitdir} \
                   -Ddbus_daemon=${bindir}/dbus-daemon"

-- 
To stop receiving notification emails like this one, please contact
the administrator of this repository.


More information about the Openembedded-commits mailing list