Skip to contentSkip to conversation

tepl: Check for x11 in distro features

PATCH New Khem Raj 1 participant 3 messages Mar 7, 2022

lore
Share & tools
lore

Khem Raj

author
#0 lore raw

PATCH v2 1/3 tepl: Check for x11 in distro features

---
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(-)
meta-gnome/recipes-gnome/tepl/tepl_6.00.0.bb +4 -1
index 0ac7e3693d..61e82e2856 100644
@@ -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"
Signature · 1 line
2.35.1
author
#1 lore raw

PATCH v2 2/3 geary: Check for x11 in distro features

---
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(-)
meta-gnome/recipes-connectivity/geary/geary_40.0.bb +3 -2
index 5821122759..9b671eeab4 100644
@@ -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"
Signature · 1 line
2.35.1
author
#2 lore raw

PATCH 3/3 packagegroup-xfce-multimedia: Check for x11 distro feature

In reply to Khem Raj

Parole needs x11

---
 .../packagegroups/packagegroup-xfce-multimedia.bb            | 5 ++++-
 1 file changed, 4 insertions(+), 1 deletion(-)
meta-xfce/recipes-multimedia/packagegroups/packagegroup-xfce-multimedia.bb +4 -1
index f925864fbd..93e5bbf71d 100644
@@ -1,6 +1,9 @@
 SUMMARY = "All packages multimedia packages available for XFCE"
 
-inherit packagegroup
+inherit packagegroup features_check
+
+# parole needs x11
+REQUIRED_DISTRO_FEATURES = "pam x11"
 
 # While this item does not require it, it depends on xfmpc and xfc4-mpc-plugin
 # that wants mpd which does
Signature · 1 line
2.35.1