From 8de9b33e1462ab5b53f9fe23043c72d9aac15875 Mon Sep 17 00:00:00 2001 From: Anuj Mittal Date: Fri, 20 Nov 2020 14:49:14 +0800 Subject: glib-2.0: RDEPEND on dbusmock only when GI_DATA_ENABLED is True python3-dbusmock depends on pygobject unconditionally and it's not going to work if g-i is disabled. (From OE-Core rev: 881986b4032d893464dbcbd7e7e114b454af0a1b) Signed-off-by: Anuj Mittal Signed-off-by: Richard Purdie (cherry picked from commit b70627e2818ded74be862ad8650e19bf1fe9bd43) Signed-off-by: Anuj Mittal Signed-off-by: Richard Purdie --- meta/recipes-core/glib-2.0/glib.inc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'meta/recipes-core') diff --git a/meta/recipes-core/glib-2.0/glib.inc b/meta/recipes-core/glib-2.0/glib.inc index a0055d81b0..e48b5cb67b 100644 --- a/meta/recipes-core/glib-2.0/glib.inc +++ b/meta/recipes-core/glib-2.0/glib.inc @@ -170,7 +170,7 @@ RDEPENDS_${PN}-ptest += "\ ${PN}-locale-th \ python3-core \ python3-modules \ - python3-dbusmock \ + ${@bb.utils.contains('GI_DATA_ENABLED', 'True', 'python3-dbusmock', '', d)} \ ${PN}-codegen \ " -- cgit v1.2.3-54-g00ecf