[kirkstone 12/20] libportal: add distro features check


Armin Kuster
 

From: Kai Kang <kai.kang@...>

Add distro features check for libportal because it depends on gtk+3
which requires one of ${GTK3DISTROFEATURES}.

Signed-off-by: Kai Kang <kai.kang@...>
Signed-off-by: Khem Raj <raj.khem@...>
(cherry picked from commit 0baa7793e0df81a21a130e6f0513f27b322cd4ad)
Signed-off-by: Armin Kuster <akuster808@...>
---
meta-gnome/recipes-gnome/libportal/libportal_0.6.bb | 4 +++-
1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/meta-gnome/recipes-gnome/libportal/libportal_0.6.bb b/meta-gnome/recipes-gnome/libportal/libportal_0.6.bb
index ec728d78b9..9784f04818 100644
--- a/meta-gnome/recipes-gnome/libportal/libportal_0.6.bb
+++ b/meta-gnome/recipes-gnome/libportal/libportal_0.6.bb
@@ -10,7 +10,9 @@ SRC_URI = "git://github.com/flatpak/${BPN}.git;protocol=https;branch=main"
SRCREV = "13df0b887a7eb7b0f9b14069561a41f62e813155"
S = "${WORKDIR}/git"

-inherit meson gtk-doc gobject-introspection
+inherit meson gtk-doc gobject-introspection features_check
+
+ANY_OF_DISTRO_FEATURES = "${GTK3DISTROFEATURES}"

DEPENDS += "glib-2.0 glib-2.0-native gtk+3"

--
2.25.1

Join openembedded-devel@lists.openembedded.org to automatically receive all group messages.