Skip to contentSkip to conversation

libportal: add distro features check

PATCH New [email protected] 1 participant 1 message May 27, 2022

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 libportal: add distro features check

From: Kai Kang <[email protected]>

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

---
 meta-gnome/recipes-gnome/libportal/libportal_0.6.bb | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)
meta-gnome/recipes-gnome/libportal/libportal_0.6.bb +3 -1
index ec728d78b..9784f0481 100644
@@ -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"
 
Signature · 1 line
2.17.1