From: Noor Ahsan <[email protected]<mailto:[email protected]>>

*  Build was hitting an error "Nothing RPROVIDES 'dbus-x11'". dbus-glib 
RDEPENDS on it and
dbus was providing dbus-x11 when x11 was present in DISTRO FEATURES. So 
conditionally
added dbus-x11 to RDEPENDS_${PN}-tests in dbus-glib recipe.
* Verified on qemuppc.

Signed-off-by: Noor Ahsan <[email protected]>
---
meta/recipes-core/dbus/dbus-glib.inc |    2 +-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/meta/recipes-core/dbus/dbus-glib.inc 
b/meta/recipes-core/dbus/dbus-glib.inc
index a8e6d42..9cfe796 100644
--- a/meta/recipes-core/dbus/dbus-glib.inc
+++ b/meta/recipes-core/dbus/dbus-glib.inc
@@ -35,7 +35,7 @@ FILES_${PN}-bash-completion = 
"${sysconfdir}/bash_completion.d/dbus-bash-complet
FILES_${PN}-dev += "${libdir}/dbus-1.0/include ${bindir}/dbus-glib-tool"
FILES_${PN}-dev += "${bindir}/dbus-binding-tool"
-RDEPENDS_${PN}-tests += "dbus-x11"
+RDEPENDS_${PN}-tests += "${@base_contains('DISTRO_FEATURES', 'x11', 
'dbus-x11', '', d)}"
FILES_${PN}-tests = "${datadir}/${PN}/tests"
FILES_${PN}-tests-dbg = "${datadir}/${PN}/tests/.debug/* \
                          ${datadir}/${PN}/tests/core/.debug/* \
--
1.7.10.4
_______________________________________________
Openembedded-core mailing list
[email protected]
http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-core

Reply via email to