aboutsummaryrefslogtreecommitdiffstats
path: root/meta-gnome
diff options
context:
space:
mode:
authorAndreas Müller <schnitzeltony@gmail.com>2020-03-21 12:05:17 +0100
committerKhem Raj <raj.khem@gmail.com>2020-03-21 08:53:29 -0700
commitd8efe116fccb088517cacb92e5d79bcdb122e663 (patch)
treeb8e4cd83b813d9f0467a4acfd39a9c3e4486ea4b /meta-gnome
parent46ae08202a52af4788372ba8c8e0ecefaa7eb301 (diff)
downloadmeta-openembedded-d8efe116fccb088517cacb92e5d79bcdb122e663.tar.gz
libnma: add gtk+3 to DEPENDS / add missing required distro features
* 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 <schnitzeltony@gmail.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
Diffstat (limited to 'meta-gnome')
-rw-r--r--meta-gnome/recipes-connectivity/libnma/libnma_1.8.28.bb7
1 files 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 de5ad08632..267baff86c 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"