* In case gcr is in PACKAGECONFIG, we need x11 in distro features
* gtk+3 in DEPENDS is necessary when gcr is not in PACKAGECONFIG. That adds
  ANY_OF_DISTRO_FEATURES

Thanks for reporting [1]

[1] 
https://lists.openembedded.org/g/openembedded-devel/topic/patch_1_5_libnma_initial/72312166?

Signed-off-by: Andreas Müller <[email protected]>
---
 meta-gnome/recipes-connectivity/libnma/libnma_1.8.28.bb | 7 +++++--
 1 file changed, 5 insertions(+), 2 deletions(-)

diff --git a/meta-gnome/recipes-connectivity/libnma/libnma_1.8.28.bb 
b/meta-gnome/recipes-connectivity/libnma/libnma_1.8.28.bb
index de5ad0863..267baff86 100644
--- a/meta-gnome/recipes-connectivity/libnma/libnma_1.8.28.bb
+++ b/meta-gnome/recipes-connectivity/libnma/libnma_1.8.28.bb
@@ -2,10 +2,13 @@ SUMMARY = "NetworkManager GUI library"
 LICENSE = "GPLv2"
 LIC_FILES_CHKSUM = "file://COPYING;md5=b234ee4d69f5fce4486a80fdaf4a4263"
 
-DEPENDS = "glib-2.0 networkmanager"
+DEPENDS = "glib-2.0 gtk+3 networkmanager"
 
 GNOMEBASEBUILDCLASS = "meson"
-inherit gnomebase gobject-introspection gtk-doc gettext vala
+inherit gnomebase gobject-introspection gtk-doc gettext vala features_check
+
+REQUIRED_DISTRO_FEATURES = 
"${@bb.utils.contains('PACKAGECONFIG','gcr','x11','',d)}"
+ANY_OF_DISTRO_FEATURES = "${GTK3DISTROFEATURES}"
 
 SRC_URI[archive.md5sum] = "094c45d7694b153612cbdc3c713edcb5"
 SRC_URI[archive.sha256sum] = 
"4af69552d131a3b2b8b6a2df584044258bf588448dcdb4bddfa12a07c134b726"
-- 
2.21.1


-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.

View/Reply Online (#83449): 
https://lists.openembedded.org/g/openembedded-devel/message/83449
Mute This Topic: https://lists.openembedded.org/mt/72442442/21656
Group Owner: [email protected]
Unsubscribe: https://lists.openembedded.org/g/openembedded-devel/unsub  
[[email protected]]
-=-=-=-=-=-=-=-=-=-=-=-

Reply via email to