[meta-gnome,v2,2/3] geary: Check for x11 in distro features

Message ID 20220307032228.3555244-2-raj.khem@gmail.com
State New
Headers show
Series [meta-gnome,v2,1/3] tepl: Check for x11 in distro features | expand

Commit Message

Khem Raj March 7, 2022, 3:22 a.m. UTC
Signed-off-by: Khem Raj <raj.khem@gmail.com>
---
v2: Add to REQUIRED_DISTRO_FEATURES instead of assigning

 meta-gnome/recipes-connectivity/geary/geary_40.0.bb | 5 +++--
 1 file changed, 3 insertions(+), 2 deletions(-)

Patch

diff --git a/meta-gnome/recipes-connectivity/geary/geary_40.0.bb b/meta-gnome/recipes-connectivity/geary/geary_40.0.bb
index 5821122759..9b671eeab4 100644
--- a/meta-gnome/recipes-connectivity/geary/geary_40.0.bb
+++ b/meta-gnome/recipes-connectivity/geary/geary_40.0.bb
@@ -30,7 +30,7 @@  DEPENDS = " \
 
 RDEPENDS:${PN} = "gnome-keyring"
 
-inherit meson pkgconfig mime-xdg gtk-icon-cache gobject-introspection vala
+inherit meson pkgconfig mime-xdg gtk-icon-cache gobject-introspection vala features_check
 
 SRC_URI = " \
 	git://github.com/GNOME/geary.git;nobranch=1;protocol=https \
@@ -39,7 +39,8 @@  SRC_URI = " \
 S = "${WORKDIR}/git"
 SRCREV = "e561775c1580a9f60a726355b2b897bfc9cb3382"
 
-REQUIRED_DISTRO_FEATURES = "gobject-introspection-data"
+# for gnome-online-accounts
+REQUIRED_DISTRO_FEATURES = "gobject-introspection-data x11"
 
 GIR_MESON_OPTION = ""
 EXTRA_OEMESON = "-Dprofile=release"