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

Message ID 20220307032228.3555244-1-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-gnome/tepl/tepl_6.00.0.bb | 5 ++++-
 1 file changed, 4 insertions(+), 1 deletion(-)

Patch

diff --git a/meta-gnome/recipes-gnome/tepl/tepl_6.00.0.bb b/meta-gnome/recipes-gnome/tepl/tepl_6.00.0.bb
index 0ac7e3693d..61e82e2856 100644
--- a/meta-gnome/recipes-gnome/tepl/tepl_6.00.0.bb
+++ b/meta-gnome/recipes-gnome/tepl/tepl_6.00.0.bb
@@ -15,10 +15,13 @@  GNOMEBASEBUILDCLASS = "meson"
 
 inherit gnomebase gobject-introspection gettext features_check
 
+# for gtksourceview4
+REQUIRED_DISTRO_FEATURES += "x11"
+
 SRC_URI[archive.sha256sum] = "a86397a895dca9c0de7a5ccb063bda8f7ef691cccb950ce2cfdee367903e7a63"
 
 # gobject-introspection is mandatory and cannot be configured
-REQUIRED_DISTRO_FEATURES = "gobject-introspection-data"
+REQUIRED_DISTRO_FEATURES += "gobject-introspection-data"
 GIR_MESON_OPTION = ""
 
 GTKDOC_MESON_OPTION = "gtk_doc"