summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDenys Dmytriyenko <denys@ti.com>2019-11-14 19:40:07 -0500
committerRichard Purdie <richard.purdie@linuxfoundation.org>2019-11-21 23:08:19 +0000
commit9702544b3e75d761d86cae7e8b36f3f2625b68ce (patch)
treeb8db1573283245d3f7d7c8d9fc32b9bd67c76f14
parenta616ffebdc6f761635f351432461010de1890b7d (diff)
downloadpoky-9702544b3e75d761d86cae7e8b36f3f2625b68ce.tar.gz
distro_features_check: expand with MACHINE_FEATURES and COMBINED_FEATURES, rename
Besides checking DISTRO_FEATURES for required or conflicting features, being able to check MACHINE_FEATURES and/or COMBINED_FEATURES may also be useful at times. Temporarily support the old class name with a warning about future deprecation. (From OE-Core rev: 5f4875b950ce199e91f99c8e945a0c709166dc14) Signed-off-by: Denys Dmytriyenko <denys@ti.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
-rw-r--r--meta/classes/distro_features_check.bbclass35
-rw-r--r--meta/classes/features_check.bbclass85
-rw-r--r--meta/conf/documentation.conf4
-rw-r--r--meta/recipes-bsp/usbutils/usbutils_012.bb2
-rw-r--r--meta/recipes-connectivity/avahi/avahi-ui_0.7.bb2
-rw-r--r--meta/recipes-connectivity/bluez5/bluez5.inc2
-rw-r--r--meta/recipes-connectivity/connman/connman-gnome_0.7.bb2
-rw-r--r--meta/recipes-core/glib-2.0/glib.inc2
-rw-r--r--meta/recipes-core/glibc/glibc.inc2
-rw-r--r--meta/recipes-core/libxml/libxml2_2.9.9.bb2
-rw-r--r--meta/recipes-core/packagegroups/packagegroup-self-hosted.bb2
-rw-r--r--meta/recipes-core/systemd/systemd-compat-units.bb2
-rw-r--r--meta/recipes-core/systemd/systemd-serialgetty.bb2
-rw-r--r--meta/recipes-core/systemd/systemd_243.bb2
-rw-r--r--meta/recipes-core/sysvinit/sysvinit_2.88dsf.bb2
-rw-r--r--meta/recipes-core/udev/eudev_3.2.8.bb2
-rw-r--r--meta/recipes-core/volatile-binds/volatile-binds.bb2
-rw-r--r--meta/recipes-devtools/mtools/mtools_4.0.23.bb2
-rw-r--r--meta/recipes-devtools/systemd-bootchart/systemd-bootchart_233.bb2
-rw-r--r--meta/recipes-extended/pam/libpam_1.3.1.bb2
-rw-r--r--meta/recipes-extended/xdg-utils/xdg-utils_1.1.3.bb2
-rw-r--r--meta/recipes-gnome/epiphany/epiphany_3.34.1.bb2
-rw-r--r--meta/recipes-gnome/gcr/gcr_3.34.0.bb2
-rw-r--r--meta/recipes-gnome/gtk+/gtk+3.inc2
-rw-r--r--meta/recipes-gnome/libdazzle/libdazzle_3.34.1.bb2
-rw-r--r--meta/recipes-gnome/libnotify/libnotify_0.7.8.bb2
-rw-r--r--meta/recipes-graphics/clutter/clutter-1.0.inc2
-rw-r--r--meta/recipes-graphics/clutter/clutter-gst-3.0.inc2
-rw-r--r--meta/recipes-graphics/clutter/clutter-gtk-1.0.inc2
-rw-r--r--meta/recipes-graphics/cogl/cogl-1.0.inc2
-rw-r--r--meta/recipes-graphics/glew/glew_2.1.0.bb2
-rw-r--r--meta/recipes-graphics/images/core-image-weston.bb2
-rw-r--r--meta/recipes-graphics/images/core-image-x11.bb2
-rw-r--r--meta/recipes-graphics/kmscube/kmscube_git.bb2
-rw-r--r--meta/recipes-graphics/libepoxy/libepoxy_1.5.3.bb2
-rw-r--r--meta/recipes-graphics/libfakekey/libfakekey_git.bb2
-rw-r--r--meta/recipes-graphics/libmatchbox/libmatchbox_1.12.bb2
-rw-r--r--meta/recipes-graphics/libva/libva-utils_2.5.0.bb2
-rw-r--r--meta/recipes-graphics/libva/libva_2.5.0.bb2
-rw-r--r--meta/recipes-graphics/matchbox-wm/matchbox-wm_1.2.2.bb2
-rw-r--r--meta/recipes-graphics/mesa/libglu_9.0.1.bb2
-rw-r--r--meta/recipes-graphics/mesa/mesa-demos_8.4.0.bb2
-rw-r--r--meta/recipes-graphics/mesa/mesa.inc2
-rw-r--r--meta/recipes-graphics/mx/mx.inc2
-rw-r--r--meta/recipes-graphics/packagegroups/packagegroup-core-clutter.bb2
-rw-r--r--meta/recipes-graphics/packagegroups/packagegroup-core-x11-base.bb2
-rw-r--r--meta/recipes-graphics/packagegroups/packagegroup-core-x11-xserver.bb2
-rw-r--r--meta/recipes-graphics/packagegroups/packagegroup-core-x11.bb2
-rw-r--r--meta/recipes-graphics/piglit/piglit_git.bb2
-rw-r--r--meta/recipes-graphics/pong-clock/pong-clock_1.0.bb2
-rw-r--r--meta/recipes-graphics/startup-notification/startup-notification_0.12.bb2
-rw-r--r--meta/recipes-graphics/virglrenderer/virglrenderer_0.8.0.bb2
-rw-r--r--meta/recipes-graphics/vulkan/vulkan-demos_git.bb2
-rw-r--r--meta/recipes-graphics/vulkan/vulkan-loader_1.1.108.bb2
-rw-r--r--meta/recipes-graphics/vulkan/vulkan-tools_1.1.108.bb2
-rw-r--r--meta/recipes-graphics/waffle/waffle_1.6.0.bb2
-rw-r--r--meta/recipes-graphics/wayland/weston-init.bb2
-rw-r--r--meta/recipes-graphics/wayland/weston_7.0.0.bb2
-rw-r--r--meta/recipes-graphics/x11-common/xserver-nodm-init_3.0.bb2
-rw-r--r--meta/recipes-graphics/xinput-calibrator/xinput-calibrator_git.bb2
-rw-r--r--meta/recipes-graphics/xorg-app/xorg-app-common.inc2
-rw-r--r--meta/recipes-graphics/xorg-driver/xorg-driver-common.inc2
-rw-r--r--meta/recipes-graphics/xorg-font/xorg-font-common.inc2
-rw-r--r--meta/recipes-graphics/xorg-font/xorg-minimal-fonts.bb2
-rw-r--r--meta/recipes-graphics/xorg-lib/libxcb_1.13.1.bb2
-rw-r--r--meta/recipes-graphics/xorg-lib/xcb-util.inc2
-rw-r--r--meta/recipes-graphics/xorg-lib/xorg-lib-common.inc2
-rw-r--r--meta/recipes-graphics/xorg-xserver/xserver-xorg.inc2
-rw-r--r--meta/recipes-graphics/xrestop/xrestop_0.4.bb2
-rw-r--r--meta/recipes-multimedia/gstreamer/gst-examples_1.16.0.bb2
-rw-r--r--meta/recipes-multimedia/gstreamer/gstreamer1.0-python_1.16.1.bb2
-rw-r--r--meta/recipes-multimedia/gstreamer/gstreamer1.0-vaapi_1.16.1.bb2
-rw-r--r--meta/recipes-sato/l3afpad/l3afpad_git.bb2
-rw-r--r--meta/recipes-sato/matchbox-config-gtk/matchbox-config-gtk_0.2.bb2
-rw-r--r--meta/recipes-sato/matchbox-desktop/matchbox-desktop_2.2.bb2
-rw-r--r--meta/recipes-sato/matchbox-keyboard/matchbox-keyboard_0.1.1.bb2
-rw-r--r--meta/recipes-sato/matchbox-panel-2/matchbox-panel-2_2.11.bb2
-rw-r--r--meta/recipes-sato/matchbox-sato/matchbox-session-sato_0.1.bb2
-rw-r--r--meta/recipes-sato/matchbox-terminal/matchbox-terminal_0.2.bb2
-rw-r--r--meta/recipes-sato/matchbox-theme-sato/matchbox-theme-sato.inc2
-rw-r--r--meta/recipes-sato/packagegroups/packagegroup-core-x11-sato.bb2
-rw-r--r--meta/recipes-sato/pcmanfm/pcmanfm_1.3.1.bb2
-rw-r--r--meta/recipes-sato/puzzles/puzzles_git.bb2
-rw-r--r--meta/recipes-sato/sato-screenshot/sato-screenshot_0.3.bb2
-rw-r--r--meta/recipes-sato/settings-daemon/settings-daemon_0.0.2.bb2
-rw-r--r--meta/recipes-sato/webkit/webkitgtk_2.26.2.bb2
-rw-r--r--meta/recipes-support/atk/at-spi2-atk_2.32.0.bb2
-rw-r--r--meta/recipes-support/consolekit/consolekit_0.4.6.bb2
-rw-r--r--meta/recipes-support/libfm/libfm_1.3.1.bb2
-rw-r--r--meta/recipes-support/nss-myhostname/nss-myhostname_0.3.bb2
-rw-r--r--meta/recipes-support/vte/vte_0.58.2.bb2
91 files changed, 180 insertions, 120 deletions
diff --git a/meta/classes/distro_features_check.bbclass b/meta/classes/distro_features_check.bbclass
index eeaa3b44cb..8124a8ca27 100644
--- a/meta/classes/distro_features_check.bbclass
+++ b/meta/classes/distro_features_check.bbclass
@@ -1,32 +1,7 @@
1# Allow checking of required and conflicting DISTRO_FEATURES 1# Temporarily provide fallback to the old name of the class
2#
3# ANY_OF_DISTRO_FEATURES: ensure at least one item on this list is included
4# in DISTRO_FEATURES.
5# REQUIRED_DISTRO_FEATURES: ensure every item on this list is included
6# in DISTRO_FEATURES.
7# CONFLICT_DISTRO_FEATURES: ensure no item in this list is included in
8# DISTRO_FEATURES.
9#
10# Copyright 2013 (C) O.S. Systems Software LTDA.
11 2
12python () { 3python __anonymous() {
13 # Assume at least one var is set. 4 bb.warn("distro_features_check.bbclass is deprecated, please use features_check.bbclass instead")
14 distro_features = set((d.getVar('DISTRO_FEATURES') or '').split())
15
16 any_of_distro_features = set((d.getVar('ANY_OF_DISTRO_FEATURES') or '').split())
17 if any_of_distro_features:
18 if set.isdisjoint(any_of_distro_features, distro_features):
19 raise bb.parse.SkipRecipe("one of '%s' needs to be in DISTRO_FEATURES" % ' '.join(any_of_distro_features))
20
21 required_distro_features = set((d.getVar('REQUIRED_DISTRO_FEATURES') or '').split())
22 if required_distro_features:
23 missing = set.difference(required_distro_features, distro_features)
24 if missing:
25 raise bb.parse.SkipRecipe("missing required distro feature%s '%s' (not in DISTRO_FEATURES)" % ('s' if len(missing) > 1 else '', ' '.join(missing)))
26
27 conflict_distro_features = set((d.getVar('CONFLICT_DISTRO_FEATURES') or '').split())
28 if conflict_distro_features:
29 conflicts = set.intersection(conflict_distro_features, distro_features)
30 if conflicts:
31 raise bb.parse.SkipRecipe("conflicting distro feature%s '%s' (in DISTRO_FEATURES)" % ('s' if len(conflicts) > 1 else '', ' '.join(conflicts)))
32} 5}
6
7inherit features_check
diff --git a/meta/classes/features_check.bbclass b/meta/classes/features_check.bbclass
new file mode 100644
index 0000000000..391fbe1c94
--- /dev/null
+++ b/meta/classes/features_check.bbclass
@@ -0,0 +1,85 @@
1# Allow checking of required and conflicting DISTRO_FEATURES
2#
3# ANY_OF_DISTRO_FEATURES: ensure at least one item on this list is included
4# in DISTRO_FEATURES.
5# REQUIRED_DISTRO_FEATURES: ensure every item on this list is included
6# in DISTRO_FEATURES.
7# CONFLICT_DISTRO_FEATURES: ensure no item in this list is included in
8# DISTRO_FEATURES.
9# ANY_OF_MACHINE_FEATURES: ensure at least one item on this list is included
10# in MACHINE_FEATURES.
11# REQUIRED_MACHINE_FEATURES: ensure every item on this list is included
12# in MACHINE_FEATURES.
13# CONFLICT_MACHINE_FEATURES: ensure no item in this list is included in
14# MACHINE_FEATURES.
15# ANY_OF_COMBINED_FEATURES: ensure at least one item on this list is included
16# in COMBINED_FEATURES.
17# REQUIRED_COMBINED_FEATURES: ensure every item on this list is included
18# in COMBINED_FEATURES.
19# CONFLICT_COMBINED_FEATURES: ensure no item in this list is included in
20# COMBINED_FEATURES.
21#
22# Copyright 2019 (C) Texas Instruments Inc.
23# Copyright 2013 (C) O.S. Systems Software LTDA.
24
25python () {
26 # Assume at least one var is set.
27 distro_features = set((d.getVar('DISTRO_FEATURES') or '').split())
28
29 any_of_distro_features = set((d.getVar('ANY_OF_DISTRO_FEATURES') or '').split())
30 if any_of_distro_features:
31 if set.isdisjoint(any_of_distro_features, distro_features):
32 raise bb.parse.SkipRecipe("one of '%s' needs to be in DISTRO_FEATURES" % ' '.join(any_of_distro_features))
33
34 required_distro_features = set((d.getVar('REQUIRED_DISTRO_FEATURES') or '').split())
35 if required_distro_features:
36 missing = set.difference(required_distro_features, distro_features)
37 if missing:
38 raise bb.parse.SkipRecipe("missing required distro feature%s '%s' (not in DISTRO_FEATURES)" % ('s' if len(missing) > 1 else '', ' '.join(missing)))
39
40 conflict_distro_features = set((d.getVar('CONFLICT_DISTRO_FEATURES') or '').split())
41 if conflict_distro_features:
42 conflicts = set.intersection(conflict_distro_features, distro_features)
43 if conflicts:
44 raise bb.parse.SkipRecipe("conflicting distro feature%s '%s' (in DISTRO_FEATURES)" % ('s' if len(conflicts) > 1 else '', ' '.join(conflicts)))
45
46 # Assume at least one var is set.
47 machine_features = set((d.getVar('MACHINE_FEATURES') or '').split())
48
49 any_of_machine_features = set((d.getVar('ANY_OF_MACHINE_FEATURES') or '').split())
50 if any_of_machine_features:
51 if set.isdisjoint(any_of_machine_features, machine_features):
52 raise bb.parse.SkipRecipe("one of '%s' needs to be in MACHINE_FEATURES" % ' '.join(any_of_machine_features))
53
54 required_machine_features = set((d.getVar('REQUIRED_MACHINE_FEATURES') or '').split())
55 if required_machine_features:
56 missing = set.difference(required_machine_features, machine_features)
57 if missing:
58 raise bb.parse.SkipRecipe("missing required machine feature%s '%s' (not in MACHINE_FEATURES)" % ('s' if len(missing) > 1 else '', ' '.join(missing)))
59
60 conflict_machine_features = set((d.getVar('CONFLICT_MACHINE_FEATURES') or '').split())
61 if conflict_machine_features:
62 conflicts = set.intersection(conflict_machine_features, machine_features)
63 if conflicts:
64 raise bb.parse.SkipRecipe("conflicting machine feature%s '%s' (in MACHINE_FEATURES)" % ('s' if len(conflicts) > 1 else '', ' '.join(conflicts)))
65
66 # Assume at least one var is set.
67 combined_features = set((d.getVar('COMBINED_FEATURES') or '').split())
68
69 any_of_combined_features = set((d.getVar('ANY_OF_COMBINED_FEATURES') or '').split())
70 if any_of_combined_features:
71 if set.isdisjoint(any_of_combined_features, combined_features):
72 raise bb.parse.SkipRecipe("one of '%s' needs to be in COMBINED_FEATURES" % ' '.join(any_of_combined_features))
73
74 required_combined_features = set((d.getVar('REQUIRED_COMBINED_FEATURES') or '').split())
75 if required_combined_features:
76 missing = set.difference(required_combined_features, combined_features)
77 if missing:
78 raise bb.parse.SkipRecipe("missing required machine feature%s '%s' (not in COMBINED_FEATURES)" % ('s' if len(missing) > 1 else '', ' '.join(missing)))
79
80 conflict_combined_features = set((d.getVar('CONFLICT_COMBINED_FEATURES') or '').split())
81 if conflict_combined_features:
82 conflicts = set.intersection(conflict_combined_features, combined_features)
83 if conflicts:
84 raise bb.parse.SkipRecipe("conflicting machine feature%s '%s' (in COMBINED_FEATURES)" % ('s' if len(conflicts) > 1 else '', ' '.join(conflicts)))
85}
diff --git a/meta/conf/documentation.conf b/meta/conf/documentation.conf
index 550df20b0f..fca36f3cf6 100644
--- a/meta/conf/documentation.conf
+++ b/meta/conf/documentation.conf
@@ -113,7 +113,7 @@ COMPATIBLE_MACHINE[doc] = "A regular expression that resolves to one or more tar
113COMPLEMENTARY_GLOB[doc] = "Defines wildcards to match when installing a list of complementary packages for all the packages installed in an image." 113COMPLEMENTARY_GLOB[doc] = "Defines wildcards to match when installing a list of complementary packages for all the packages installed in an image."
114CONFFILES[doc] = "Identifies editable or configurable files that are part of a package." 114CONFFILES[doc] = "Identifies editable or configurable files that are part of a package."
115CONFIG_SITE[doc] = "A list of files that contains autoconf test results relevant to the current build. This variable is used by the Autotools utilities when running configure." 115CONFIG_SITE[doc] = "A list of files that contains autoconf test results relevant to the current build. This variable is used by the Autotools utilities when running configure."
116CONFLICT_DISTRO_FEATURES[doc] = "When a recipe inherits the distro_features_check class, this variable identifies distribution features that would be in conflict should the recipe be built." 116CONFLICT_DISTRO_FEATURES[doc] = "When a recipe inherits the features_check class, this variable identifies distribution features that would be in conflict should the recipe be built."
117CORE_IMAGE_EXTRA_INSTALL[doc] = "Specifies the list of packages to be added to the image. You should only set this variable in the conf/local.conf file in the Build Directory." 117CORE_IMAGE_EXTRA_INSTALL[doc] = "Specifies the list of packages to be added to the image. You should only set this variable in the conf/local.conf file in the Build Directory."
118COREBASE[doc] = "Specifies the parent directory of the OpenEmbedded Core Metadata layer (i.e. meta)." 118COREBASE[doc] = "Specifies the parent directory of the OpenEmbedded Core Metadata layer (i.e. meta)."
119CONF_VERSION[doc] = "Tracks the version of local.conf. Increased each time build/conf/ changes incompatibly." 119CONF_VERSION[doc] = "Tracks the version of local.conf. Increased each time build/conf/ changes incompatibly."
@@ -346,7 +346,7 @@ QMAKE_PROFILES[doc] = "Specifies your own subset of .pro files to be built for u
346 346
347RCONFLICTS[doc] = "The list of packages that conflict with another package. Note that the package will not be installed if the conflicting packages are not first removed." 347RCONFLICTS[doc] = "The list of packages that conflict with another package. Note that the package will not be installed if the conflicting packages are not first removed."
348RDEPENDS[doc] = "Lists a package's runtime dependencies (i.e. other packages) that must be installed for the package to be built. They must be the names of other packages as listed in the PACKAGES variable, not recipe names (PN)." 348RDEPENDS[doc] = "Lists a package's runtime dependencies (i.e. other packages) that must be installed for the package to be built. They must be the names of other packages as listed in the PACKAGES variable, not recipe names (PN)."
349REQUIRED_DISTRO_FEATURES[doc] = "When a recipe inherits the distro_features_check class, this variable identifies distribution features that must exist in the current configuration in order for the OpenEmbedded build system to build the recipe." 349REQUIRED_DISTRO_FEATURES[doc] = "When a recipe inherits the features_check class, this variable identifies distribution features that must exist in the current configuration in order for the OpenEmbedded build system to build the recipe."
350RM_WORK_EXCLUDE[doc] = "With rm_work enabled, this variable specifies a list of packages whose work directories should not be removed." 350RM_WORK_EXCLUDE[doc] = "With rm_work enabled, this variable specifies a list of packages whose work directories should not be removed."
351ROOTFS[doc] = "Indicates a filesystem image to include as the root filesystem." 351ROOTFS[doc] = "Indicates a filesystem image to include as the root filesystem."
352ROOTFS_POSTPROCESS_COMMAND[doc] = "Added by classes to run post processing commands once the OpenEmbedded build system has created the root filesystem." 352ROOTFS_POSTPROCESS_COMMAND[doc] = "Added by classes to run post processing commands once the OpenEmbedded build system has created the root filesystem."
diff --git a/meta/recipes-bsp/usbutils/usbutils_012.bb b/meta/recipes-bsp/usbutils/usbutils_012.bb
index 0213e7af63..b670fa4ab6 100644
--- a/meta/recipes-bsp/usbutils/usbutils_012.bb
+++ b/meta/recipes-bsp/usbutils/usbutils_012.bb
@@ -15,7 +15,7 @@ SRC_URI = "${KERNELORG_MIRROR}/linux/utils/usb/usbutils/usbutils-${PV}.tar.gz \
15SRC_URI[md5sum] = "7484445cbcf04b3eacac892fe58f8d9f" 15SRC_URI[md5sum] = "7484445cbcf04b3eacac892fe58f8d9f"
16SRC_URI[sha256sum] = "ae2e10aad530d95839b6f4d46cd41715eae6f0f1789310d793e9be21b3e7ae20" 16SRC_URI[sha256sum] = "ae2e10aad530d95839b6f4d46cd41715eae6f0f1789310d793e9be21b3e7ae20"
17 17
18inherit autotools pkgconfig distro_features_check update-alternatives 18inherit autotools pkgconfig features_check update-alternatives
19 19
20ALTERNATIVE_${PN} = "lsusb" 20ALTERNATIVE_${PN} = "lsusb"
21ALTERNATIVE_PRIORITY = "100" 21ALTERNATIVE_PRIORITY = "100"
diff --git a/meta/recipes-connectivity/avahi/avahi-ui_0.7.bb b/meta/recipes-connectivity/avahi/avahi-ui_0.7.bb
index 1c6e46aaba..1510a0ef4f 100644
--- a/meta/recipes-connectivity/avahi/avahi-ui_0.7.bb
+++ b/meta/recipes-connectivity/avahi/avahi-ui_0.7.bb
@@ -1,6 +1,6 @@
1require avahi.inc 1require avahi.inc
2 2
3inherit distro_features_check 3inherit features_check
4ANY_OF_DISTRO_FEATURES = "${GTK3DISTROFEATURES}" 4ANY_OF_DISTRO_FEATURES = "${GTK3DISTROFEATURES}"
5 5
6DEPENDS += "avahi" 6DEPENDS += "avahi"
diff --git a/meta/recipes-connectivity/bluez5/bluez5.inc b/meta/recipes-connectivity/bluez5/bluez5.inc
index 1702323288..484509350b 100644
--- a/meta/recipes-connectivity/bluez5/bluez5.inc
+++ b/meta/recipes-connectivity/bluez5/bluez5.inc
@@ -64,7 +64,7 @@ S = "${WORKDIR}/bluez-${PV}"
64 64
65CVE_PRODUCT = "bluez" 65CVE_PRODUCT = "bluez"
66 66
67inherit autotools pkgconfig systemd update-rc.d distro_features_check ptest gobject-introspection-data 67inherit autotools pkgconfig systemd update-rc.d features_check ptest gobject-introspection-data
68 68
69EXTRA_OECONF = "\ 69EXTRA_OECONF = "\
70 --enable-test \ 70 --enable-test \
diff --git a/meta/recipes-connectivity/connman/connman-gnome_0.7.bb b/meta/recipes-connectivity/connman/connman-gnome_0.7.bb
index a56bd3751f..778bf50191 100644
--- a/meta/recipes-connectivity/connman/connman-gnome_0.7.bb
+++ b/meta/recipes-connectivity/connman/connman-gnome_0.7.bb
@@ -20,7 +20,7 @@ SRC_URI = "git://github.com/connectivity/connman-gnome.git \
20 20
21S = "${WORKDIR}/git" 21S = "${WORKDIR}/git"
22 22
23inherit autotools-brokensep gtk-icon-cache pkgconfig distro_features_check 23inherit autotools-brokensep gtk-icon-cache pkgconfig features_check
24ANY_OF_DISTRO_FEATURES = "${GTK3DISTROFEATURES}" 24ANY_OF_DISTRO_FEATURES = "${GTK3DISTROFEATURES}"
25 25
26RDEPENDS_${PN} = "connman" 26RDEPENDS_${PN} = "connman"
diff --git a/meta/recipes-core/glib-2.0/glib.inc b/meta/recipes-core/glib-2.0/glib.inc
index 8b95f21204..e811b42d77 100644
--- a/meta/recipes-core/glib-2.0/glib.inc
+++ b/meta/recipes-core/glib-2.0/glib.inc
@@ -28,7 +28,7 @@ PACKAGES += "${PN}-codegen ${PN}-utils"
28 28
29LEAD_SONAME = "libglib-2.0.*" 29LEAD_SONAME = "libglib-2.0.*"
30 30
31inherit meson gettext gtk-doc pkgconfig ptest-gnome upstream-version-is-even bash-completion gio-module-cache manpages distro_features_check 31inherit meson gettext gtk-doc pkgconfig ptest-gnome upstream-version-is-even bash-completion gio-module-cache manpages features_check
32 32
33GTKDOC_MESON_OPTION = "gtk_doc" 33GTKDOC_MESON_OPTION = "gtk_doc"
34 34
diff --git a/meta/recipes-core/glibc/glibc.inc b/meta/recipes-core/glibc/glibc.inc
index 252fd56c13..ea9a04ac73 100644
--- a/meta/recipes-core/glibc/glibc.inc
+++ b/meta/recipes-core/glibc/glibc.inc
@@ -6,7 +6,7 @@ DEPENDS = "virtual/${TARGET_PREFIX}gcc libgcc-initial linux-libc-headers"
6 6
7PROVIDES = "virtual/libc" 7PROVIDES = "virtual/libc"
8PROVIDES += "virtual/libintl virtual/libiconv" 8PROVIDES += "virtual/libintl virtual/libiconv"
9inherit autotools texinfo distro_features_check systemd 9inherit autotools texinfo features_check systemd
10 10
11LEAD_SONAME = "libc.so" 11LEAD_SONAME = "libc.so"
12 12
diff --git a/meta/recipes-core/libxml/libxml2_2.9.9.bb b/meta/recipes-core/libxml/libxml2_2.9.9.bb
index c38f883e44..5a7e098f38 100644
--- a/meta/recipes-core/libxml/libxml2_2.9.9.bb
+++ b/meta/recipes-core/libxml/libxml2_2.9.9.bb
@@ -35,7 +35,7 @@ PACKAGECONFIG ??= "python \
35PACKAGECONFIG[python] = "--with-python=${PYTHON},--without-python,python3" 35PACKAGECONFIG[python] = "--with-python=${PYTHON},--without-python,python3"
36PACKAGECONFIG[ipv6] = "--enable-ipv6,--disable-ipv6," 36PACKAGECONFIG[ipv6] = "--enable-ipv6,--disable-ipv6,"
37 37
38inherit autotools pkgconfig binconfig-disabled ptest distro_features_check 38inherit autotools pkgconfig binconfig-disabled ptest features_check
39 39
40inherit ${@bb.utils.contains('PACKAGECONFIG', 'python', 'python3native', '', d)} 40inherit ${@bb.utils.contains('PACKAGECONFIG', 'python', 'python3native', '', d)}
41 41
diff --git a/meta/recipes-core/packagegroups/packagegroup-self-hosted.bb b/meta/recipes-core/packagegroups/packagegroup-self-hosted.bb
index ee9d0636f2..0aab23e3e0 100644
--- a/meta/recipes-core/packagegroups/packagegroup-self-hosted.bb
+++ b/meta/recipes-core/packagegroups/packagegroup-self-hosted.bb
@@ -8,7 +8,7 @@ PR = "r13"
8 8
9PACKAGE_ARCH = "${TUNE_PKGARCH}" 9PACKAGE_ARCH = "${TUNE_PKGARCH}"
10 10
11inherit packagegroup distro_features_check 11inherit packagegroup features_check
12# rdepends on libx11-dev 12# rdepends on libx11-dev
13REQUIRED_DISTRO_FEATURES = "x11" 13REQUIRED_DISTRO_FEATURES = "x11"
14 14
diff --git a/meta/recipes-core/systemd/systemd-compat-units.bb b/meta/recipes-core/systemd/systemd-compat-units.bb
index d228a51c19..faa428b589 100644
--- a/meta/recipes-core/systemd/systemd-compat-units.bb
+++ b/meta/recipes-core/systemd/systemd-compat-units.bb
@@ -8,7 +8,7 @@ PACKAGE_WRITE_DEPS += "systemd-systemctl-native"
8 8
9S = "${WORKDIR}" 9S = "${WORKDIR}"
10 10
11inherit distro_features_check 11inherit features_check
12 12
13ALLOW_EMPTY_${PN} = "1" 13ALLOW_EMPTY_${PN} = "1"
14 14
diff --git a/meta/recipes-core/systemd/systemd-serialgetty.bb b/meta/recipes-core/systemd/systemd-serialgetty.bb
index 65a931f418..044c6c5b67 100644
--- a/meta/recipes-core/systemd/systemd-serialgetty.bb
+++ b/meta/recipes-core/systemd/systemd-serialgetty.bb
@@ -12,7 +12,7 @@ SRC_URI = "file://serial-getty@.service"
12S = "${WORKDIR}" 12S = "${WORKDIR}"
13 13
14# As this package is tied to systemd, only build it when we're also building systemd. 14# As this package is tied to systemd, only build it when we're also building systemd.
15inherit distro_features_check 15inherit features_check
16REQUIRED_DISTRO_FEATURES = "systemd" 16REQUIRED_DISTRO_FEATURES = "systemd"
17 17
18do_install() { 18do_install() {
diff --git a/meta/recipes-core/systemd/systemd_243.bb b/meta/recipes-core/systemd/systemd_243.bb
index 7935380e78..df56e557ff 100644
--- a/meta/recipes-core/systemd/systemd_243.bb
+++ b/meta/recipes-core/systemd/systemd_243.bb
@@ -8,7 +8,7 @@ DEPENDS = "intltool-native gperf-native libcap util-linux"
8 8
9SECTION = "base/shell" 9SECTION = "base/shell"
10 10
11inherit useradd pkgconfig meson perlnative update-rc.d update-alternatives qemu systemd gettext bash-completion manpages distro_features_check 11inherit useradd pkgconfig meson perlnative update-rc.d update-alternatives qemu systemd gettext bash-completion manpages features_check
12 12
13# As this recipe builds udev, respect systemd being in DISTRO_FEATURES so 13# As this recipe builds udev, respect systemd being in DISTRO_FEATURES so
14# that we don't build both udev and systemd in world builds. 14# that we don't build both udev and systemd in world builds.
diff --git a/meta/recipes-core/sysvinit/sysvinit_2.88dsf.bb b/meta/recipes-core/sysvinit/sysvinit_2.88dsf.bb
index bfc1283f73..8fd6df9d6b 100644
--- a/meta/recipes-core/sysvinit/sysvinit_2.88dsf.bb
+++ b/meta/recipes-core/sysvinit/sysvinit_2.88dsf.bb
@@ -29,7 +29,7 @@ SRC_URI[sha256sum] = "60bbc8c1e1792056e23761d22960b30bb13eccc2cabff8c7310a01f4d5
29S = "${WORKDIR}/sysvinit-${PV}" 29S = "${WORKDIR}/sysvinit-${PV}"
30B = "${S}/src" 30B = "${S}/src"
31 31
32inherit update-alternatives distro_features_check 32inherit update-alternatives features_check
33DEPENDS_append = " update-rc.d-native base-passwd virtual/crypt" 33DEPENDS_append = " update-rc.d-native base-passwd virtual/crypt"
34 34
35REQUIRED_DISTRO_FEATURES = "sysvinit" 35REQUIRED_DISTRO_FEATURES = "sysvinit"
diff --git a/meta/recipes-core/udev/eudev_3.2.8.bb b/meta/recipes-core/udev/eudev_3.2.8.bb
index eecf64e550..08729e14c3 100644
--- a/meta/recipes-core/udev/eudev_3.2.8.bb
+++ b/meta/recipes-core/udev/eudev_3.2.8.bb
@@ -23,7 +23,7 @@ SRC_URI = "http://dev.gentoo.org/~blueness/${BPN}/${BP}.tar.gz \
23SRC_URI[md5sum] = "ce166b3fdd910c2a4a840378f48fedaf" 23SRC_URI[md5sum] = "ce166b3fdd910c2a4a840378f48fedaf"
24SRC_URI[sha256sum] = "61e4948e9e51271c3cce2bb5311a30b206dd03ef011062e6c627fb007e43f6b8" 24SRC_URI[sha256sum] = "61e4948e9e51271c3cce2bb5311a30b206dd03ef011062e6c627fb007e43f6b8"
25 25
26inherit autotools update-rc.d qemu pkgconfig distro_features_check 26inherit autotools update-rc.d qemu pkgconfig features_check
27 27
28CONFLICT_DISTRO_FEATURES = "systemd" 28CONFLICT_DISTRO_FEATURES = "systemd"
29 29
diff --git a/meta/recipes-core/volatile-binds/volatile-binds.bb b/meta/recipes-core/volatile-binds/volatile-binds.bb
index d861a71a6b..b273293e9a 100644
--- a/meta/recipes-core/volatile-binds/volatile-binds.bb
+++ b/meta/recipes-core/volatile-binds/volatile-binds.bb
@@ -11,7 +11,7 @@ SRC_URI = "\
11 11
12S = "${WORKDIR}" 12S = "${WORKDIR}"
13 13
14inherit allarch systemd distro_features_check 14inherit allarch systemd features_check
15 15
16REQUIRED_DISTRO_FEATURES = "systemd" 16REQUIRED_DISTRO_FEATURES = "systemd"
17 17
diff --git a/meta/recipes-devtools/mtools/mtools_4.0.23.bb b/meta/recipes-devtools/mtools/mtools_4.0.23.bb
index 2ae69797a4..2093d80dba 100644
--- a/meta/recipes-devtools/mtools/mtools_4.0.23.bb
+++ b/meta/recipes-devtools/mtools/mtools_4.0.23.bb
@@ -35,7 +35,7 @@ SRC_URI = "${GNU_MIRROR}/mtools/mtools-${PV}.tar.bz2 \
35 35
36SRC_URI_append_class-native = " file://disable-hardcoded-configs.patch" 36SRC_URI_append_class-native = " file://disable-hardcoded-configs.patch"
37 37
38inherit autotools texinfo distro_features_check 38inherit autotools texinfo features_check
39 39
40EXTRA_OECONF = "--without-x" 40EXTRA_OECONF = "--without-x"
41 41
diff --git a/meta/recipes-devtools/systemd-bootchart/systemd-bootchart_233.bb b/meta/recipes-devtools/systemd-bootchart/systemd-bootchart_233.bb
index b0433e0e99..aef8839864 100644
--- a/meta/recipes-devtools/systemd-bootchart/systemd-bootchart_233.bb
+++ b/meta/recipes-devtools/systemd-bootchart/systemd-bootchart_233.bb
@@ -20,7 +20,7 @@ S = "${WORKDIR}/git"
20 20
21DEPENDS = "systemd libxslt-native xmlto-native docbook-xml-dtd4-native docbook-xsl-stylesheets-native intltool" 21DEPENDS = "systemd libxslt-native xmlto-native docbook-xml-dtd4-native docbook-xsl-stylesheets-native intltool"
22 22
23inherit pkgconfig autotools systemd distro_features_check 23inherit pkgconfig autotools systemd features_check
24 24
25REQUIRED_DISTRO_FEATURES = "systemd" 25REQUIRED_DISTRO_FEATURES = "systemd"
26 26
diff --git a/meta/recipes-extended/pam/libpam_1.3.1.bb b/meta/recipes-extended/pam/libpam_1.3.1.bb
index a2aa1ecd16..1194933827 100644
--- a/meta/recipes-extended/pam/libpam_1.3.1.bb
+++ b/meta/recipes-extended/pam/libpam_1.3.1.bb
@@ -150,7 +150,7 @@ do_install() {
150 fi 150 fi
151} 151}
152 152
153inherit distro_features_check 153inherit features_check
154REQUIRED_DISTRO_FEATURES = "pam" 154REQUIRED_DISTRO_FEATURES = "pam"
155 155
156BBCLASSEXTEND = "nativesdk native" 156BBCLASSEXTEND = "nativesdk native"
diff --git a/meta/recipes-extended/xdg-utils/xdg-utils_1.1.3.bb b/meta/recipes-extended/xdg-utils/xdg-utils_1.1.3.bb
index 8e46638197..7788b5f3c3 100644
--- a/meta/recipes-extended/xdg-utils/xdg-utils_1.1.3.bb
+++ b/meta/recipes-extended/xdg-utils/xdg-utils_1.1.3.bb
@@ -28,7 +28,7 @@ SRC_URI[sha256sum] = "d798b08af8a8e2063ddde6c9fa3398ca81484f27dec642c5627ffcaa0d
28UPSTREAM_CHECK_REGEX = "xdg-utils-(?P<pver>((\d+[\.\-_]*)+)((rc|alpha|beta)\d+)?)\.(tar\.gz|tgz)" 28UPSTREAM_CHECK_REGEX = "xdg-utils-(?P<pver>((\d+[\.\-_]*)+)((rc|alpha|beta)\d+)?)\.(tar\.gz|tgz)"
29 29
30# Needs brokensep as this doesn't use automake 30# Needs brokensep as this doesn't use automake
31inherit autotools-brokensep distro_features_check 31inherit autotools-brokensep features_check
32 32
33# The xprop requires x11 in DISTRO_FEATURES 33# The xprop requires x11 in DISTRO_FEATURES
34REQUIRED_DISTRO_FEATURES = "x11" 34REQUIRED_DISTRO_FEATURES = "x11"
diff --git a/meta/recipes-gnome/epiphany/epiphany_3.34.1.bb b/meta/recipes-gnome/epiphany/epiphany_3.34.1.bb
index d1cb515a58..cebd55dc87 100644
--- a/meta/recipes-gnome/epiphany/epiphany_3.34.1.bb
+++ b/meta/recipes-gnome/epiphany/epiphany_3.34.1.bb
@@ -8,7 +8,7 @@ DEPENDS = "libsoup-2.4 webkitgtk gtk+3 iso-codes avahi libnotify gcr \
8 glib-2.0 glib-2.0-native json-glib libdazzle" 8 glib-2.0 glib-2.0-native json-glib libdazzle"
9 9
10GNOMEBASEBUILDCLASS = "meson" 10GNOMEBASEBUILDCLASS = "meson"
11inherit gnomebase gsettings distro_features_check upstream-version-is-even gettext 11inherit gnomebase gsettings features_check upstream-version-is-even gettext
12REQUIRED_DISTRO_FEATURES = "x11 opengl" 12REQUIRED_DISTRO_FEATURES = "x11 opengl"
13 13
14SRC_URI = "${GNOME_MIRROR}/${GNOMEBN}/${@gnome_verdir("${PV}")}/${GNOMEBN}-${PV}.tar.${GNOME_COMPRESS_TYPE};name=archive \ 14SRC_URI = "${GNOME_MIRROR}/${GNOMEBN}/${@gnome_verdir("${PV}")}/${GNOMEBN}-${PV}.tar.${GNOME_COMPRESS_TYPE};name=archive \
diff --git a/meta/recipes-gnome/gcr/gcr_3.34.0.bb b/meta/recipes-gnome/gcr/gcr_3.34.0.bb
index 616b0e5bf5..e3e8999635 100644
--- a/meta/recipes-gnome/gcr/gcr_3.34.0.bb
+++ b/meta/recipes-gnome/gcr/gcr_3.34.0.bb
@@ -11,7 +11,7 @@ LIC_FILES_CHKSUM = "file://COPYING;md5=55ca817ccb7d5b5b66355690e9abc605"
11DEPENDS = "gtk+3 p11-kit glib-2.0 libgcrypt \ 11DEPENDS = "gtk+3 p11-kit glib-2.0 libgcrypt \
12 ${@bb.utils.contains('GI_DATA_ENABLED', 'True', 'libxslt-native', '', d)}" 12 ${@bb.utils.contains('GI_DATA_ENABLED', 'True', 'libxslt-native', '', d)}"
13 13
14inherit gnomebase gtk-icon-cache gtk-doc distro_features_check upstream-version-is-even vala gobject-introspection gettext 14inherit gnomebase gtk-icon-cache gtk-doc features_check upstream-version-is-even vala gobject-introspection gettext
15# depends on gtk+3, but also x11 through gtk+-x11 15# depends on gtk+3, but also x11 through gtk+-x11
16REQUIRED_DISTRO_FEATURES = "x11" 16REQUIRED_DISTRO_FEATURES = "x11"
17 17
diff --git a/meta/recipes-gnome/gtk+/gtk+3.inc b/meta/recipes-gnome/gtk+/gtk+3.inc
index dc6768c4e8..e1f1e0db31 100644
--- a/meta/recipes-gnome/gtk+/gtk+3.inc
+++ b/meta/recipes-gnome/gtk+/gtk+3.inc
@@ -10,7 +10,7 @@ DEPENDS = "glib-2.0 cairo pango atk jpeg libpng gdk-pixbuf \
10 10
11LICENSE = "LGPLv2 & LGPLv2+ & LGPLv2.1+" 11LICENSE = "LGPLv2 & LGPLv2+ & LGPLv2.1+"
12 12
13inherit autotools gettext pkgconfig gtk-doc update-alternatives gtk-immodules-cache gsettings distro_features_check gobject-introspection 13inherit autotools gettext pkgconfig gtk-doc update-alternatives gtk-immodules-cache gsettings features_check gobject-introspection
14 14
15BBCLASSEXTEND = "native nativesdk" 15BBCLASSEXTEND = "native nativesdk"
16 16
diff --git a/meta/recipes-gnome/libdazzle/libdazzle_3.34.1.bb b/meta/recipes-gnome/libdazzle/libdazzle_3.34.1.bb
index e2973905f8..1c8b2c86e0 100644
--- a/meta/recipes-gnome/libdazzle/libdazzle_3.34.1.bb
+++ b/meta/recipes-gnome/libdazzle/libdazzle_3.34.1.bb
@@ -8,7 +8,7 @@ BUGTRACKER = "https://gitlab.gnome.org/GNOME/libdazzle/issues"
8LIC_FILES_CHKSUM = "file://COPYING;md5=8f0e2cd40e05189ec81232da84bd6e1a" 8LIC_FILES_CHKSUM = "file://COPYING;md5=8f0e2cd40e05189ec81232da84bd6e1a"
9 9
10GNOMEBASEBUILDCLASS = "meson" 10GNOMEBASEBUILDCLASS = "meson"
11inherit gnomebase upstream-version-is-even vala distro_features_check gobject-introspection 11inherit gnomebase upstream-version-is-even vala features_check gobject-introspection
12 12
13DEPENDS = "glib-2.0-native glib-2.0 gtk+3" 13DEPENDS = "glib-2.0-native glib-2.0 gtk+3"
14 14
diff --git a/meta/recipes-gnome/libnotify/libnotify_0.7.8.bb b/meta/recipes-gnome/libnotify/libnotify_0.7.8.bb
index f4cda7bc74..0306b04f4e 100644
--- a/meta/recipes-gnome/libnotify/libnotify_0.7.8.bb
+++ b/meta/recipes-gnome/libnotify/libnotify_0.7.8.bb
@@ -7,7 +7,7 @@ LIC_FILES_CHKSUM = "file://COPYING;md5=7fbc338309ac38fefcd64b04bb903e34"
7 7
8DEPENDS = "dbus gtk+3 glib-2.0" 8DEPENDS = "dbus gtk+3 glib-2.0"
9 9
10inherit gnomebase gtk-doc distro_features_check gobject-introspection 10inherit gnomebase gtk-doc features_check gobject-introspection
11# depends on gtk+3 11# depends on gtk+3
12ANY_OF_DISTRO_FEATURES = "${GTK3DISTROFEATURES}" 12ANY_OF_DISTRO_FEATURES = "${GTK3DISTROFEATURES}"
13 13
diff --git a/meta/recipes-graphics/clutter/clutter-1.0.inc b/meta/recipes-graphics/clutter/clutter-1.0.inc
index 9ecdfd0a8c..5dc45ebf21 100644
--- a/meta/recipes-graphics/clutter/clutter-1.0.inc
+++ b/meta/recipes-graphics/clutter/clutter-1.0.inc
@@ -5,7 +5,7 @@ box UIs, presentations, kiosk style applications and so on."
5HOMEPAGE = "http://www.clutter-project.org/" 5HOMEPAGE = "http://www.clutter-project.org/"
6LICENSE = "LGPLv2.1+" 6LICENSE = "LGPLv2.1+"
7 7
8inherit clutter ptest-gnome distro_features_check upstream-version-is-even gobject-introspection 8inherit clutter ptest-gnome features_check upstream-version-is-even gobject-introspection
9# depends on cogl-1.0 which needs opengl 9# depends on cogl-1.0 which needs opengl
10REQUIRED_DISTRO_FEATURES ?= "opengl" 10REQUIRED_DISTRO_FEATURES ?= "opengl"
11 11
diff --git a/meta/recipes-graphics/clutter/clutter-gst-3.0.inc b/meta/recipes-graphics/clutter/clutter-gst-3.0.inc
index 4c877982b7..fc3eade886 100644
--- a/meta/recipes-graphics/clutter/clutter-gst-3.0.inc
+++ b/meta/recipes-graphics/clutter/clutter-gst-3.0.inc
@@ -2,7 +2,7 @@ SUMMARY = "GStreamer integration library for Clutter"
2HOMEPAGE = "http://www.clutter-project.org/" 2HOMEPAGE = "http://www.clutter-project.org/"
3LICENSE = "LGPLv2+" 3LICENSE = "LGPLv2+"
4 4
5inherit clutter distro_features_check upstream-version-is-even gobject-introspection 5inherit clutter features_check upstream-version-is-even gobject-introspection
6# depends on clutter-1.0 which depends on cogl-1.0 6# depends on clutter-1.0 which depends on cogl-1.0
7REQUIRED_DISTRO_FEATURES ?= "opengl" 7REQUIRED_DISTRO_FEATURES ?= "opengl"
8 8
diff --git a/meta/recipes-graphics/clutter/clutter-gtk-1.0.inc b/meta/recipes-graphics/clutter/clutter-gtk-1.0.inc
index 11826a6f0c..7bf2278555 100644
--- a/meta/recipes-graphics/clutter/clutter-gtk-1.0.inc
+++ b/meta/recipes-graphics/clutter/clutter-gtk-1.0.inc
@@ -3,7 +3,7 @@ HOMEPAGE = "http://www.clutter-project.org/"
3LICENSE = "LGPLv2+" 3LICENSE = "LGPLv2+"
4 4
5CLUTTERBASEBUILDCLASS = "meson" 5CLUTTERBASEBUILDCLASS = "meson"
6inherit clutter distro_features_check upstream-version-is-even gobject-introspection gtk-doc 6inherit clutter features_check upstream-version-is-even gobject-introspection gtk-doc
7 7
8# depends on clutter-1.0 which depends on cogl-1.0 8# depends on clutter-1.0 which depends on cogl-1.0
9REQUIRED_DISTRO_FEATURES ?= "opengl" 9REQUIRED_DISTRO_FEATURES ?= "opengl"
diff --git a/meta/recipes-graphics/cogl/cogl-1.0.inc b/meta/recipes-graphics/cogl/cogl-1.0.inc
index 23661d9b64..d8d06651da 100644
--- a/meta/recipes-graphics/cogl/cogl-1.0.inc
+++ b/meta/recipes-graphics/cogl/cogl-1.0.inc
@@ -6,7 +6,7 @@ can render without stepping on each others toes."
6HOMEPAGE = "http://wiki.clutter-project.org/wiki/Cogl" 6HOMEPAGE = "http://wiki.clutter-project.org/wiki/Cogl"
7LICENSE = "MIT" 7LICENSE = "MIT"
8 8
9inherit clutter distro_features_check upstream-version-is-even gobject-introspection 9inherit clutter features_check upstream-version-is-even gobject-introspection
10# cogl-1.0 needs opengl to build 10# cogl-1.0 needs opengl to build
11REQUIRED_DISTRO_FEATURES ?= "opengl" 11REQUIRED_DISTRO_FEATURES ?= "opengl"
12 12
diff --git a/meta/recipes-graphics/glew/glew_2.1.0.bb b/meta/recipes-graphics/glew/glew_2.1.0.bb
index 18e6909aa7..f6f43406f8 100644
--- a/meta/recipes-graphics/glew/glew_2.1.0.bb
+++ b/meta/recipes-graphics/glew/glew_2.1.0.bb
@@ -15,7 +15,7 @@ SRC_URI[sha256sum] = "04de91e7e6763039bc11940095cd9c7f880baba82196a7765f727ac05a
15UPSTREAM_CHECK_URI = "http://sourceforge.net/projects/glew/files/glew" 15UPSTREAM_CHECK_URI = "http://sourceforge.net/projects/glew/files/glew"
16UPSTREAM_CHECK_REGEX = "/glew/(?P<pver>(\d+[\.\-_]*)+)/" 16UPSTREAM_CHECK_REGEX = "/glew/(?P<pver>(\d+[\.\-_]*)+)/"
17 17
18inherit lib_package pkgconfig distro_features_check 18inherit lib_package pkgconfig features_check
19 19
20REQUIRED_DISTRO_FEATURES = "opengl" 20REQUIRED_DISTRO_FEATURES = "opengl"
21 21
diff --git a/meta/recipes-graphics/images/core-image-weston.bb b/meta/recipes-graphics/images/core-image-weston.bb
index e36655ffc5..f5102e1989 100644
--- a/meta/recipes-graphics/images/core-image-weston.bb
+++ b/meta/recipes-graphics/images/core-image-weston.bb
@@ -4,7 +4,7 @@ IMAGE_FEATURES += "splash package-management ssh-server-dropbear hwcodecs"
4 4
5LICENSE = "MIT" 5LICENSE = "MIT"
6 6
7inherit core-image distro_features_check 7inherit core-image features_check
8 8
9REQUIRED_DISTRO_FEATURES = "wayland" 9REQUIRED_DISTRO_FEATURES = "wayland"
10 10
diff --git a/meta/recipes-graphics/images/core-image-x11.bb b/meta/recipes-graphics/images/core-image-x11.bb
index cd5374949d..52407759f9 100644
--- a/meta/recipes-graphics/images/core-image-x11.bb
+++ b/meta/recipes-graphics/images/core-image-x11.bb
@@ -4,7 +4,7 @@ IMAGE_FEATURES += "splash package-management x11-base"
4 4
5LICENSE = "MIT" 5LICENSE = "MIT"
6 6
7inherit core-image distro_features_check 7inherit core-image features_check
8 8
9REQUIRED_DISTRO_FEATURES = "x11" 9REQUIRED_DISTRO_FEATURES = "x11"
10 10
diff --git a/meta/recipes-graphics/kmscube/kmscube_git.bb b/meta/recipes-graphics/kmscube/kmscube_git.bb
index 2b6837fef6..82720045b3 100644
--- a/meta/recipes-graphics/kmscube/kmscube_git.bb
+++ b/meta/recipes-graphics/kmscube/kmscube_git.bb
@@ -13,7 +13,7 @@ UPSTREAM_CHECK_COMMITS = "1"
13 13
14S = "${WORKDIR}/git" 14S = "${WORKDIR}/git"
15 15
16inherit meson pkgconfig distro_features_check 16inherit meson pkgconfig features_check
17 17
18REQUIRED_DISTRO_FEATURES = "opengl" 18REQUIRED_DISTRO_FEATURES = "opengl"
19 19
diff --git a/meta/recipes-graphics/libepoxy/libepoxy_1.5.3.bb b/meta/recipes-graphics/libepoxy/libepoxy_1.5.3.bb
index 834d8154ee..71a2c91353 100644
--- a/meta/recipes-graphics/libepoxy/libepoxy_1.5.3.bb
+++ b/meta/recipes-graphics/libepoxy/libepoxy_1.5.3.bb
@@ -15,7 +15,7 @@ SRC_URI[md5sum] = "e2845de8d2782b2d31c01ae8d7cd4cbb"
15SRC_URI[sha256sum] = "002958c5528321edd53440235d3c44e71b5b1e09b9177e8daf677450b6c4433d" 15SRC_URI[sha256sum] = "002958c5528321edd53440235d3c44e71b5b1e09b9177e8daf677450b6c4433d"
16UPSTREAM_CHECK_URI = "https://github.com/anholt/libepoxy/releases" 16UPSTREAM_CHECK_URI = "https://github.com/anholt/libepoxy/releases"
17 17
18inherit meson pkgconfig distro_features_check 18inherit meson pkgconfig features_check
19 19
20REQUIRED_DISTRO_FEATURES = "opengl" 20REQUIRED_DISTRO_FEATURES = "opengl"
21REQUIRED_DISTRO_FEATURES_class-native = "" 21REQUIRED_DISTRO_FEATURES_class-native = ""
diff --git a/meta/recipes-graphics/libfakekey/libfakekey_git.bb b/meta/recipes-graphics/libfakekey/libfakekey_git.bb
index 4b803dbae5..ab6f5ac9ed 100644
--- a/meta/recipes-graphics/libfakekey/libfakekey_git.bb
+++ b/meta/recipes-graphics/libfakekey/libfakekey_git.bb
@@ -17,7 +17,7 @@ SRC_URI = "git://git.yoctoproject.org/${BPN}"
17 17
18S = "${WORKDIR}/git" 18S = "${WORKDIR}/git"
19 19
20inherit autotools pkgconfig gettext distro_features_check 20inherit autotools pkgconfig gettext features_check
21 21
22# The libxtst requires x11 in DISTRO_FEATURES 22# The libxtst requires x11 in DISTRO_FEATURES
23REQUIRED_DISTRO_FEATURES = "x11" 23REQUIRED_DISTRO_FEATURES = "x11"
diff --git a/meta/recipes-graphics/libmatchbox/libmatchbox_1.12.bb b/meta/recipes-graphics/libmatchbox/libmatchbox_1.12.bb
index cca2d48a45..1a31677978 100644
--- a/meta/recipes-graphics/libmatchbox/libmatchbox_1.12.bb
+++ b/meta/recipes-graphics/libmatchbox/libmatchbox_1.12.bb
@@ -21,7 +21,7 @@ SRC_URI = "git://git.yoctoproject.org/${BPN}"
21 21
22S = "${WORKDIR}/git" 22S = "${WORKDIR}/git"
23 23
24inherit autotools pkgconfig distro_features_check 24inherit autotools pkgconfig features_check
25# depends on virtual/libx11 25# depends on virtual/libx11
26REQUIRED_DISTRO_FEATURES = "x11" 26REQUIRED_DISTRO_FEATURES = "x11"
27 27
diff --git a/meta/recipes-graphics/libva/libva-utils_2.5.0.bb b/meta/recipes-graphics/libva/libva-utils_2.5.0.bb
index fc013d75c3..f68d0cf8b6 100644
--- a/meta/recipes-graphics/libva/libva-utils_2.5.0.bb
+++ b/meta/recipes-graphics/libva/libva-utils_2.5.0.bb
@@ -25,7 +25,7 @@ UPSTREAM_CHECK_URI = "https://github.com/intel/libva-utils/releases"
25 25
26DEPENDS = "libva" 26DEPENDS = "libva"
27 27
28inherit autotools pkgconfig distro_features_check 28inherit autotools pkgconfig features_check
29 29
30# depends on libva which requires opengl 30# depends on libva which requires opengl
31REQUIRED_DISTRO_FEATURES = "opengl" 31REQUIRED_DISTRO_FEATURES = "opengl"
diff --git a/meta/recipes-graphics/libva/libva_2.5.0.bb b/meta/recipes-graphics/libva/libva_2.5.0.bb
index e75648b2be..73e2e01c3f 100644
--- a/meta/recipes-graphics/libva/libva_2.5.0.bb
+++ b/meta/recipes-graphics/libva/libva_2.5.0.bb
@@ -26,7 +26,7 @@ UPSTREAM_CHECK_URI = "https://github.com/intel/libva/releases"
26 26
27DEPENDS = "libdrm virtual/mesa" 27DEPENDS = "libdrm virtual/mesa"
28 28
29inherit autotools pkgconfig distro_features_check 29inherit autotools pkgconfig features_check
30 30
31REQUIRED_DISTRO_FEATURES = "opengl" 31REQUIRED_DISTRO_FEATURES = "opengl"
32 32
diff --git a/meta/recipes-graphics/matchbox-wm/matchbox-wm_1.2.2.bb b/meta/recipes-graphics/matchbox-wm/matchbox-wm_1.2.2.bb
index 815a75f36d..b9961c398c 100644
--- a/meta/recipes-graphics/matchbox-wm/matchbox-wm_1.2.2.bb
+++ b/meta/recipes-graphics/matchbox-wm/matchbox-wm_1.2.2.bb
@@ -17,7 +17,7 @@ SRC_URI = "git://git.yoctoproject.org/matchbox-window-manager \
17 17
18S = "${WORKDIR}/git" 18S = "${WORKDIR}/git"
19 19
20inherit autotools pkgconfig distro_features_check 20inherit autotools pkgconfig features_check
21# depends on virtual/libx11 21# depends on virtual/libx11
22REQUIRED_DISTRO_FEATURES = "x11" 22REQUIRED_DISTRO_FEATURES = "x11"
23 23
diff --git a/meta/recipes-graphics/mesa/libglu_9.0.1.bb b/meta/recipes-graphics/mesa/libglu_9.0.1.bb
index 068fb19e26..703f131f79 100644
--- a/meta/recipes-graphics/mesa/libglu_9.0.1.bb
+++ b/meta/recipes-graphics/mesa/libglu_9.0.1.bb
@@ -21,7 +21,7 @@ S = "${WORKDIR}/glu-${PV}"
21 21
22DEPENDS = "virtual/libgl" 22DEPENDS = "virtual/libgl"
23 23
24inherit autotools pkgconfig distro_features_check 24inherit autotools pkgconfig features_check
25 25
26# Requires libGL.so which is provided by mesa when x11 in DISTRO_FEATURES 26# Requires libGL.so which is provided by mesa when x11 in DISTRO_FEATURES
27REQUIRED_DISTRO_FEATURES = "x11 opengl" 27REQUIRED_DISTRO_FEATURES = "x11 opengl"
diff --git a/meta/recipes-graphics/mesa/mesa-demos_8.4.0.bb b/meta/recipes-graphics/mesa/mesa-demos_8.4.0.bb
index 129a47df48..38bdbded29 100644
--- a/meta/recipes-graphics/mesa/mesa-demos_8.4.0.bb
+++ b/meta/recipes-graphics/mesa/mesa-demos_8.4.0.bb
@@ -22,7 +22,7 @@ SRC_URI = "https://mesa.freedesktop.org/archive/demos/${BPN}-${PV}.tar.bz2 \
22SRC_URI[md5sum] = "6b65a02622765522176d00f553086fa3" 22SRC_URI[md5sum] = "6b65a02622765522176d00f553086fa3"
23SRC_URI[sha256sum] = "01e99c94a0184e63e796728af89bfac559795fb2a0d6f506fa900455ca5fff7d" 23SRC_URI[sha256sum] = "01e99c94a0184e63e796728af89bfac559795fb2a0d6f506fa900455ca5fff7d"
24 24
25inherit autotools pkgconfig distro_features_check 25inherit autotools pkgconfig features_check
26# depends on virtual/egl, virtual/libgl ... 26# depends on virtual/egl, virtual/libgl ...
27REQUIRED_DISTRO_FEATURES = "opengl x11" 27REQUIRED_DISTRO_FEATURES = "opengl x11"
28 28
diff --git a/meta/recipes-graphics/mesa/mesa.inc b/meta/recipes-graphics/mesa/mesa.inc
index 9e5808ee27..bf1492b422 100644
--- a/meta/recipes-graphics/mesa/mesa.inc
+++ b/meta/recipes-graphics/mesa/mesa.inc
@@ -24,7 +24,7 @@ PROVIDES = " \
24 virtual/mesa \ 24 virtual/mesa \
25 " 25 "
26 26
27inherit meson pkgconfig python3native gettext distro_features_check 27inherit meson pkgconfig python3native gettext features_check
28 28
29# Unset these to stop python trying to report the target Python setup 29# Unset these to stop python trying to report the target Python setup
30_PYTHON_SYSCONFIGDATA_NAME[unexport] = "1" 30_PYTHON_SYSCONFIGDATA_NAME[unexport] = "1"
diff --git a/meta/recipes-graphics/mx/mx.inc b/meta/recipes-graphics/mx/mx.inc
index d304837484..714a06f0af 100644
--- a/meta/recipes-graphics/mx/mx.inc
+++ b/meta/recipes-graphics/mx/mx.inc
@@ -1,7 +1,7 @@
1SUMMARY = "Clutter based UI widget library" 1SUMMARY = "Clutter based UI widget library"
2LICENSE = "LGPLv2.1" 2LICENSE = "LGPLv2.1"
3 3
4inherit clutter autotools distro_features_check gobject-introspection gtk-doc 4inherit clutter autotools features_check gobject-introspection gtk-doc
5# depends on clutter-1.0 which depends on cogl-1.0 5# depends on clutter-1.0 which depends on cogl-1.0
6REQUIRED_DISTRO_FEATURES = "opengl" 6REQUIRED_DISTRO_FEATURES = "opengl"
7 7
diff --git a/meta/recipes-graphics/packagegroups/packagegroup-core-clutter.bb b/meta/recipes-graphics/packagegroups/packagegroup-core-clutter.bb
index 87c700e023..2e7b47dd40 100644
--- a/meta/recipes-graphics/packagegroups/packagegroup-core-clutter.bb
+++ b/meta/recipes-graphics/packagegroups/packagegroup-core-clutter.bb
@@ -6,7 +6,7 @@ SUMMARY = "Clutter package groups"
6 6
7PR = "r6" 7PR = "r6"
8 8
9inherit packagegroup distro_features_check 9inherit packagegroup features_check
10# rdepends on clutter-* 10# rdepends on clutter-*
11REQUIRED_DISTRO_FEATURES = "opengl" 11REQUIRED_DISTRO_FEATURES = "opengl"
12 12
diff --git a/meta/recipes-graphics/packagegroups/packagegroup-core-x11-base.bb b/meta/recipes-graphics/packagegroups/packagegroup-core-x11-base.bb
index 7ea72d55a7..9ca2705a5f 100644
--- a/meta/recipes-graphics/packagegroups/packagegroup-core-x11-base.bb
+++ b/meta/recipes-graphics/packagegroups/packagegroup-core-x11-base.bb
@@ -2,7 +2,7 @@ SUMMARY = "Basic X11 session"
2DESCRIPTION = "Packages required to set up a basic working X11 session" 2DESCRIPTION = "Packages required to set up a basic working X11 session"
3PR = "r1" 3PR = "r1"
4 4
5inherit packagegroup distro_features_check 5inherit packagegroup features_check
6# rdepends on matchbox-wm 6# rdepends on matchbox-wm
7REQUIRED_DISTRO_FEATURES = "x11" 7REQUIRED_DISTRO_FEATURES = "x11"
8 8
diff --git a/meta/recipes-graphics/packagegroups/packagegroup-core-x11-xserver.bb b/meta/recipes-graphics/packagegroups/packagegroup-core-x11-xserver.bb
index 97dcac5f79..a0b944a678 100644
--- a/meta/recipes-graphics/packagegroups/packagegroup-core-x11-xserver.bb
+++ b/meta/recipes-graphics/packagegroups/packagegroup-core-x11-xserver.bb
@@ -7,7 +7,7 @@ PR = "r40"
7 7
8PACKAGE_ARCH = "${MACHINE_ARCH}" 8PACKAGE_ARCH = "${MACHINE_ARCH}"
9 9
10inherit packagegroup distro_features_check 10inherit packagegroup features_check
11# rdepends on XSERVER 11# rdepends on XSERVER
12REQUIRED_DISTRO_FEATURES = "x11" 12REQUIRED_DISTRO_FEATURES = "x11"
13 13
diff --git a/meta/recipes-graphics/packagegroups/packagegroup-core-x11.bb b/meta/recipes-graphics/packagegroups/packagegroup-core-x11.bb
index 001db9e5e2..cddf1932f3 100644
--- a/meta/recipes-graphics/packagegroups/packagegroup-core-x11.bb
+++ b/meta/recipes-graphics/packagegroups/packagegroup-core-x11.bb
@@ -4,7 +4,7 @@
4 4
5PR = "r40" 5PR = "r40"
6 6
7inherit packagegroup distro_features_check 7inherit packagegroup features_check
8REQUIRED_DISTRO_FEATURES = "x11" 8REQUIRED_DISTRO_FEATURES = "x11"
9 9
10PACKAGES = "${PN} ${PN}-utils" 10PACKAGES = "${PN} ${PN}-utils"
diff --git a/meta/recipes-graphics/piglit/piglit_git.bb b/meta/recipes-graphics/piglit/piglit_git.bb
index 28a52cfeee..696d438c5a 100644
--- a/meta/recipes-graphics/piglit/piglit_git.bb
+++ b/meta/recipes-graphics/piglit/piglit_git.bb
@@ -21,7 +21,7 @@ X11_RDEPS = "${@bb.utils.contains('DISTRO_FEATURES', 'x11', 'mesa-demos', '', d)
21 21
22DEPENDS = "libpng waffle libxkbcommon virtual/libgl python3-mako-native python3-numpy-native python3-six-native virtual/egl" 22DEPENDS = "libpng waffle libxkbcommon virtual/libgl python3-mako-native python3-numpy-native python3-six-native virtual/egl"
23 23
24inherit cmake pkgconfig python3native distro_features_check bash-completion 24inherit cmake pkgconfig python3native features_check bash-completion
25 25
26# depends on virtual/libgl 26# depends on virtual/libgl
27REQUIRED_DISTRO_FEATURES += "opengl" 27REQUIRED_DISTRO_FEATURES += "opengl"
diff --git a/meta/recipes-graphics/pong-clock/pong-clock_1.0.bb b/meta/recipes-graphics/pong-clock/pong-clock_1.0.bb
index cdfe38a221..c3c237eee7 100644
--- a/meta/recipes-graphics/pong-clock/pong-clock_1.0.bb
+++ b/meta/recipes-graphics/pong-clock/pong-clock_1.0.bb
@@ -2,7 +2,7 @@ SUMMARY = "A clock combined with a game of pong"
2LICENSE = "GPLv2+" 2LICENSE = "GPLv2+"
3DEPENDS = "virtual/libx11 xdmcp xau" 3DEPENDS = "virtual/libx11 xdmcp xau"
4 4
5inherit distro_features_check pkgconfig 5inherit features_check pkgconfig
6# depends on virtual/libx11 6# depends on virtual/libx11
7REQUIRED_DISTRO_FEATURES = "x11" 7REQUIRED_DISTRO_FEATURES = "x11"
8 8
diff --git a/meta/recipes-graphics/startup-notification/startup-notification_0.12.bb b/meta/recipes-graphics/startup-notification/startup-notification_0.12.bb
index 6c1b93cd0a..a26ab44fa7 100644
--- a/meta/recipes-graphics/startup-notification/startup-notification_0.12.bb
+++ b/meta/recipes-graphics/startup-notification/startup-notification_0.12.bb
@@ -17,7 +17,7 @@ SECTION = "libs"
17 17
18DEPENDS = "virtual/libx11 libsm xcb-util" 18DEPENDS = "virtual/libx11 libsm xcb-util"
19 19
20inherit autotools pkgconfig distro_features_check 20inherit autotools pkgconfig features_check
21# depends on virtual/libx11 21# depends on virtual/libx11
22REQUIRED_DISTRO_FEATURES = "x11" 22REQUIRED_DISTRO_FEATURES = "x11"
23 23
diff --git a/meta/recipes-graphics/virglrenderer/virglrenderer_0.8.0.bb b/meta/recipes-graphics/virglrenderer/virglrenderer_0.8.0.bb
index 4ac4412df3..4420d84ae5 100644
--- a/meta/recipes-graphics/virglrenderer/virglrenderer_0.8.0.bb
+++ b/meta/recipes-graphics/virglrenderer/virglrenderer_0.8.0.bb
@@ -16,7 +16,7 @@ SRC_URI = "git://anongit.freedesktop.org/virglrenderer \
16 16
17S = "${WORKDIR}/git" 17S = "${WORKDIR}/git"
18 18
19inherit autotools pkgconfig distro_features_check 19inherit autotools pkgconfig features_check
20 20
21BBCLASSEXTEND = "native nativesdk" 21BBCLASSEXTEND = "native nativesdk"
22 22
diff --git a/meta/recipes-graphics/vulkan/vulkan-demos_git.bb b/meta/recipes-graphics/vulkan/vulkan-demos_git.bb
index d2041d7d4c..74dc2ad679 100644
--- a/meta/recipes-graphics/vulkan/vulkan-demos_git.bb
+++ b/meta/recipes-graphics/vulkan/vulkan-demos_git.bb
@@ -20,7 +20,7 @@ S = "${WORKDIR}/git"
20 20
21REQUIRED_DISTRO_FEATURES = 'vulkan' 21REQUIRED_DISTRO_FEATURES = 'vulkan'
22 22
23inherit cmake distro_features_check 23inherit cmake features_check
24DEPENDS = "vulkan-loader assimp" 24DEPENDS = "vulkan-loader assimp"
25 25
26do_install_append () { 26do_install_append () {
diff --git a/meta/recipes-graphics/vulkan/vulkan-loader_1.1.108.bb b/meta/recipes-graphics/vulkan/vulkan-loader_1.1.108.bb
index 2fd6c44480..a539c5a3ce 100644
--- a/meta/recipes-graphics/vulkan/vulkan-loader_1.1.108.bb
+++ b/meta/recipes-graphics/vulkan/vulkan-loader_1.1.108.bb
@@ -16,7 +16,7 @@ S = "${WORKDIR}/git"
16 16
17REQUIRED_DISTRO_FEATURES = "vulkan" 17REQUIRED_DISTRO_FEATURES = "vulkan"
18 18
19inherit cmake distro_features_check 19inherit cmake features_check
20ANY_OF_DISTRO_FEATURES = "x11 wayland" 20ANY_OF_DISTRO_FEATURES = "x11 wayland"
21 21
22DEPENDS += "vulkan-headers" 22DEPENDS += "vulkan-headers"
diff --git a/meta/recipes-graphics/vulkan/vulkan-tools_1.1.108.bb b/meta/recipes-graphics/vulkan/vulkan-tools_1.1.108.bb
index 26cdee3c14..4ac1bafd17 100644
--- a/meta/recipes-graphics/vulkan/vulkan-tools_1.1.108.bb
+++ b/meta/recipes-graphics/vulkan/vulkan-tools_1.1.108.bb
@@ -10,7 +10,7 @@ SRCREV = "3ccd7f6ebae3e1919adf837718c04feb6c2acc61"
10 10
11S = "${WORKDIR}/git" 11S = "${WORKDIR}/git"
12 12
13inherit cmake distro_features_check 13inherit cmake features_check
14ANY_OF_DISTRO_FEATURES = "x11 wayland" 14ANY_OF_DISTRO_FEATURES = "x11 wayland"
15REQUIRED_DISTRO_FEATURES = "vulkan" 15REQUIRED_DISTRO_FEATURES = "vulkan"
16 16
diff --git a/meta/recipes-graphics/waffle/waffle_1.6.0.bb b/meta/recipes-graphics/waffle/waffle_1.6.0.bb
index 8a1d5748f6..52cb1df899 100644
--- a/meta/recipes-graphics/waffle/waffle_1.6.0.bb
+++ b/meta/recipes-graphics/waffle/waffle_1.6.0.bb
@@ -9,7 +9,7 @@ SRC_URI[sha256sum] = "d9c899f710c50cfdd00f5f4cdfeaef0687d8497362239bdde93bed6c90
9 9
10UPSTREAM_CHECK_URI = "http://www.waffle-gl.org/releases.html" 10UPSTREAM_CHECK_URI = "http://www.waffle-gl.org/releases.html"
11 11
12inherit meson distro_features_check lib_package bash-completion 12inherit meson features_check lib_package bash-completion
13 13
14# This should be overridden per-machine to reflect the capabilities of the GL 14# This should be overridden per-machine to reflect the capabilities of the GL
15# stack. 15# stack.
diff --git a/meta/recipes-graphics/wayland/weston-init.bb b/meta/recipes-graphics/wayland/weston-init.bb
index 8b6689717c..e3e739e2b7 100644
--- a/meta/recipes-graphics/wayland/weston-init.bb
+++ b/meta/recipes-graphics/wayland/weston-init.bb
@@ -30,7 +30,7 @@ do_install() {
30 sed -i 's,@LOCALSTATEDIR@,${localstatedir},g' ${D}${bindir}/weston-start 30 sed -i 's,@LOCALSTATEDIR@,${localstatedir},g' ${D}${bindir}/weston-start
31} 31}
32 32
33inherit update-rc.d distro_features_check systemd 33inherit update-rc.d features_check systemd
34 34
35# rdepends on weston which depends on virtual/egl 35# rdepends on weston which depends on virtual/egl
36REQUIRED_DISTRO_FEATURES = "opengl" 36REQUIRED_DISTRO_FEATURES = "opengl"
diff --git a/meta/recipes-graphics/wayland/weston_7.0.0.bb b/meta/recipes-graphics/wayland/weston_7.0.0.bb
index d21275414e..e6548d3541 100644
--- a/meta/recipes-graphics/wayland/weston_7.0.0.bb
+++ b/meta/recipes-graphics/wayland/weston_7.0.0.bb
@@ -16,7 +16,7 @@ SRC_URI[sha256sum] = "a00a6d207b6a45f95f4401c604772a307c3767e5e2beecf3d879110c43
16 16
17UPSTREAM_CHECK_URI = "https://wayland.freedesktop.org/releases.html" 17UPSTREAM_CHECK_URI = "https://wayland.freedesktop.org/releases.html"
18 18
19inherit meson pkgconfig useradd distro_features_check 19inherit meson pkgconfig useradd features_check
20# depends on virtual/egl 20# depends on virtual/egl
21REQUIRED_DISTRO_FEATURES = "opengl" 21REQUIRED_DISTRO_FEATURES = "opengl"
22 22
diff --git a/meta/recipes-graphics/x11-common/xserver-nodm-init_3.0.bb b/meta/recipes-graphics/x11-common/xserver-nodm-init_3.0.bb
index a77c56445c..385fea5e83 100644
--- a/meta/recipes-graphics/x11-common/xserver-nodm-init_3.0.bb
+++ b/meta/recipes-graphics/x11-common/xserver-nodm-init_3.0.bb
@@ -17,7 +17,7 @@ S = "${WORKDIR}"
17# Since we refer to ROOTLESS_X which is normally enabled per-machine 17# Since we refer to ROOTLESS_X which is normally enabled per-machine
18PACKAGE_ARCH = "${MACHINE_ARCH}" 18PACKAGE_ARCH = "${MACHINE_ARCH}"
19 19
20inherit update-rc.d systemd distro_features_check 20inherit update-rc.d systemd features_check
21 21
22REQUIRED_DISTRO_FEATURES = "x11" 22REQUIRED_DISTRO_FEATURES = "x11"
23 23
diff --git a/meta/recipes-graphics/xinput-calibrator/xinput-calibrator_git.bb b/meta/recipes-graphics/xinput-calibrator/xinput-calibrator_git.bb
index 9873d3f33f..4f831932e7 100644
--- a/meta/recipes-graphics/xinput-calibrator/xinput-calibrator_git.bb
+++ b/meta/recipes-graphics/xinput-calibrator/xinput-calibrator_git.bb
@@ -7,7 +7,7 @@ DEPENDS = "virtual/libx11 libxi libxrandr"
7PV = "0.7.5+git${SRCPV}" 7PV = "0.7.5+git${SRCPV}"
8PR = "r6" 8PR = "r6"
9 9
10inherit autotools pkgconfig distro_features_check 10inherit autotools pkgconfig features_check
11# depends on virtual/libx11 11# depends on virtual/libx11
12REQUIRED_DISTRO_FEATURES = "x11" 12REQUIRED_DISTRO_FEATURES = "x11"
13 13
diff --git a/meta/recipes-graphics/xorg-app/xorg-app-common.inc b/meta/recipes-graphics/xorg-app/xorg-app-common.inc
index 3529cb26ef..101b3dfffd 100644
--- a/meta/recipes-graphics/xorg-app/xorg-app-common.inc
+++ b/meta/recipes-graphics/xorg-app/xorg-app-common.inc
@@ -12,6 +12,6 @@ INC_PR = "r8"
12 12
13SRC_URI = "${XORG_MIRROR}/individual/app/${BPN}-${PV}.tar.bz2" 13SRC_URI = "${XORG_MIRROR}/individual/app/${BPN}-${PV}.tar.bz2"
14 14
15inherit autotools pkgconfig distro_features_check 15inherit autotools pkgconfig features_check
16 16
17FILES_${PN} += " ${libdir}/X11/${BPN} ${datadir}/X11/app-defaults/" 17FILES_${PN} += " ${libdir}/X11/${BPN} ${datadir}/X11/app-defaults/"
diff --git a/meta/recipes-graphics/xorg-driver/xorg-driver-common.inc b/meta/recipes-graphics/xorg-driver/xorg-driver-common.inc
index e657c65b4c..54f04b11e5 100644
--- a/meta/recipes-graphics/xorg-driver/xorg-driver-common.inc
+++ b/meta/recipes-graphics/xorg-driver/xorg-driver-common.inc
@@ -13,7 +13,7 @@ SRC_URI = "${XORG_MIRROR}/individual/driver/${BPN}-${PV}.tar.bz2"
13 13
14FILES_${PN} += " ${libdir}/xorg/modules/drivers/*.so" 14FILES_${PN} += " ${libdir}/xorg/modules/drivers/*.so"
15 15
16inherit autotools pkgconfig distro_features_check 16inherit autotools pkgconfig features_check
17# depends on virtual/xserver 17# depends on virtual/xserver
18REQUIRED_DISTRO_FEATURES = "x11" 18REQUIRED_DISTRO_FEATURES = "x11"
19 19
diff --git a/meta/recipes-graphics/xorg-font/xorg-font-common.inc b/meta/recipes-graphics/xorg-font/xorg-font-common.inc
index cdbebcf788..f18c8aefc2 100644
--- a/meta/recipes-graphics/xorg-font/xorg-font-common.inc
+++ b/meta/recipes-graphics/xorg-font/xorg-font-common.inc
@@ -14,7 +14,7 @@ INC_PR = "r2"
14SRC_URI = "${XORG_MIRROR}/individual/font/${XORG_PN}-${PV}.tar.bz2" 14SRC_URI = "${XORG_MIRROR}/individual/font/${XORG_PN}-${PV}.tar.bz2"
15S = "${WORKDIR}/${XORG_PN}-${PV}" 15S = "${WORKDIR}/${XORG_PN}-${PV}"
16 16
17inherit autotools pkgconfig distro_features_check 17inherit autotools pkgconfig features_check
18 18
19# The mkfontscale-native requires x11 in DISTRO_FEATURES 19# The mkfontscale-native requires x11 in DISTRO_FEATURES
20REQUIRED_DISTRO_FEATURES = "x11" 20REQUIRED_DISTRO_FEATURES = "x11"
diff --git a/meta/recipes-graphics/xorg-font/xorg-minimal-fonts.bb b/meta/recipes-graphics/xorg-font/xorg-minimal-fonts.bb
index 9bcd1b2fa6..1ea08a6c99 100644
--- a/meta/recipes-graphics/xorg-font/xorg-minimal-fonts.bb
+++ b/meta/recipes-graphics/xorg-font/xorg-minimal-fonts.bb
@@ -13,7 +13,7 @@ SRC_URI = "file://misc"
13PE = "1" 13PE = "1"
14PR = "r2" 14PR = "r2"
15 15
16inherit allarch distro_features_check 16inherit allarch features_check
17 17
18# The font-alias requires x11 in DISTRO_FEATURES 18# The font-alias requires x11 in DISTRO_FEATURES
19REQUIRED_DISTRO_FEATURES = "x11" 19REQUIRED_DISTRO_FEATURES = "x11"
diff --git a/meta/recipes-graphics/xorg-lib/libxcb_1.13.1.bb b/meta/recipes-graphics/xorg-lib/libxcb_1.13.1.bb
index b0afc01dfd..9befc51b50 100644
--- a/meta/recipes-graphics/xorg-lib/libxcb_1.13.1.bb
+++ b/meta/recipes-graphics/xorg-lib/libxcb_1.13.1.bb
@@ -25,7 +25,7 @@ PACKAGES_DYNAMIC = "^libxcb-.*"
25 25
26FILES_${PN} = "${libdir}/libxcb.so.*" 26FILES_${PN} = "${libdir}/libxcb.so.*"
27 27
28inherit autotools pkgconfig distro_features_check 28inherit autotools pkgconfig features_check
29 29
30# The libxau and others requires x11 in DISTRO_FEATURES 30# The libxau and others requires x11 in DISTRO_FEATURES
31REQUIRED_DISTRO_FEATURES = "x11" 31REQUIRED_DISTRO_FEATURES = "x11"
diff --git a/meta/recipes-graphics/xorg-lib/xcb-util.inc b/meta/recipes-graphics/xorg-lib/xcb-util.inc
index 99d04f9d44..0e5ab70b2d 100644
--- a/meta/recipes-graphics/xorg-lib/xcb-util.inc
+++ b/meta/recipes-graphics/xorg-lib/xcb-util.inc
@@ -18,6 +18,6 @@ DEPENDS += "gperf-native"
18 18
19SRC_URI = "http://xcb.freedesktop.org/dist/${BPN}-${PV}.tar.bz2" 19SRC_URI = "http://xcb.freedesktop.org/dist/${BPN}-${PV}.tar.bz2"
20 20
21inherit autotools pkgconfig distro_features_check 21inherit autotools pkgconfig features_check
22 22
23REQUIRED_DISTRO_FEATURES = "x11" 23REQUIRED_DISTRO_FEATURES = "x11"
diff --git a/meta/recipes-graphics/xorg-lib/xorg-lib-common.inc b/meta/recipes-graphics/xorg-lib/xorg-lib-common.inc
index 09df0109cb..a566eaa45e 100644
--- a/meta/recipes-graphics/xorg-lib/xorg-lib-common.inc
+++ b/meta/recipes-graphics/xorg-lib/xorg-lib-common.inc
@@ -11,7 +11,7 @@ SRC_URI = "${XORG_MIRROR}/individual/lib/${XORG_PN}-${PV}.tar.bz2"
11 11
12S = "${WORKDIR}/${XORG_PN}-${PV}" 12S = "${WORKDIR}/${XORG_PN}-${PV}"
13 13
14inherit autotools distro_features_check pkgconfig 14inherit autotools features_check pkgconfig
15 15
16EXTRA_OECONF = "--disable-specs --without-groff --without-ps2pdf --without-fop" 16EXTRA_OECONF = "--disable-specs --without-groff --without-ps2pdf --without-fop"
17 17
diff --git a/meta/recipes-graphics/xorg-xserver/xserver-xorg.inc b/meta/recipes-graphics/xorg-xserver/xserver-xorg.inc
index 44315f59dc..a0ae65c785 100644
--- a/meta/recipes-graphics/xorg-xserver/xserver-xorg.inc
+++ b/meta/recipes-graphics/xorg-xserver/xserver-xorg.inc
@@ -24,7 +24,7 @@ S = "${WORKDIR}/${XORG_PN}-${PV}"
24 24
25inherit autotools pkgconfig 25inherit autotools pkgconfig
26 26
27inherit distro_features_check 27inherit features_check
28REQUIRED_DISTRO_FEATURES = "x11" 28REQUIRED_DISTRO_FEATURES = "x11"
29 29
30LIB_DEPS = "pixman libxfont2 xtrans libxau libxext libxdmcp libdrm libxkbfile libpciaccess" 30LIB_DEPS = "pixman libxfont2 xtrans libxau libxext libxdmcp libdrm libxkbfile libpciaccess"
diff --git a/meta/recipes-graphics/xrestop/xrestop_0.4.bb b/meta/recipes-graphics/xrestop/xrestop_0.4.bb
index ce5df03936..c7b8716f6f 100644
--- a/meta/recipes-graphics/xrestop/xrestop_0.4.bb
+++ b/meta/recipes-graphics/xrestop/xrestop_0.4.bb
@@ -19,6 +19,6 @@ SRC_URI = "http://downloads.yoctoproject.org/releases/xrestop/xrestop-${PV}.tar.
19SRC_URI[md5sum] = "d8a54596cbaf037e62b80c4585a3ca9b" 19SRC_URI[md5sum] = "d8a54596cbaf037e62b80c4585a3ca9b"
20SRC_URI[sha256sum] = "67c2fc94a7ecedbaae0d1837e82e93d1d98f4a6d759828860e552119af3ce257" 20SRC_URI[sha256sum] = "67c2fc94a7ecedbaae0d1837e82e93d1d98f4a6d759828860e552119af3ce257"
21 21
22inherit autotools pkgconfig distro_features_check 22inherit autotools pkgconfig features_check
23# depends on virtual/libx11 23# depends on virtual/libx11
24REQUIRED_DISTRO_FEATURES = "x11" 24REQUIRED_DISTRO_FEATURES = "x11"
diff --git a/meta/recipes-multimedia/gstreamer/gst-examples_1.16.0.bb b/meta/recipes-multimedia/gstreamer/gst-examples_1.16.0.bb
index e83ea8cb79..cc7a7e78e2 100644
--- a/meta/recipes-multimedia/gstreamer/gst-examples_1.16.0.bb
+++ b/meta/recipes-multimedia/gstreamer/gst-examples_1.16.0.bb
@@ -13,7 +13,7 @@ SRCREV = "d953c127c1146b50d5676618299933950685dcd7"
13 13
14S = "${WORKDIR}/git" 14S = "${WORKDIR}/git"
15 15
16inherit meson pkgconfig distro_features_check 16inherit meson pkgconfig features_check
17 17
18 18
19ANY_OF_DISTRO_FEATURES = "${GTK3DISTROFEATURES}" 19ANY_OF_DISTRO_FEATURES = "${GTK3DISTROFEATURES}"
diff --git a/meta/recipes-multimedia/gstreamer/gstreamer1.0-python_1.16.1.bb b/meta/recipes-multimedia/gstreamer/gstreamer1.0-python_1.16.1.bb
index 5a950f183c..c722f028b3 100644
--- a/meta/recipes-multimedia/gstreamer/gstreamer1.0-python_1.16.1.bb
+++ b/meta/recipes-multimedia/gstreamer/gstreamer1.0-python_1.16.1.bb
@@ -20,7 +20,7 @@ S = "${WORKDIR}/${PNREAL}-${PV}"
20REQUIRED_DISTRO_FEATURES = "gobject-introspection-data" 20REQUIRED_DISTRO_FEATURES = "gobject-introspection-data"
21UNKNOWN_CONFIGURE_WHITELIST_append = " --enable-introspection --disable-introspection" 21UNKNOWN_CONFIGURE_WHITELIST_append = " --enable-introspection --disable-introspection"
22 22
23inherit autotools pkgconfig distutils3-base upstream-version-is-even gobject-introspection distro_features_check 23inherit autotools pkgconfig distutils3-base upstream-version-is-even gobject-introspection features_check
24 24
25EXTRA_OECONF += "--with-libpython-dir=${libdir}" 25EXTRA_OECONF += "--with-libpython-dir=${libdir}"
26 26
diff --git a/meta/recipes-multimedia/gstreamer/gstreamer1.0-vaapi_1.16.1.bb b/meta/recipes-multimedia/gstreamer/gstreamer1.0-vaapi_1.16.1.bb
index 61cf705fd8..b8c2126d9b 100644
--- a/meta/recipes-multimedia/gstreamer/gstreamer1.0-vaapi_1.16.1.bb
+++ b/meta/recipes-multimedia/gstreamer/gstreamer1.0-vaapi_1.16.1.bb
@@ -19,7 +19,7 @@ SRC_URI[sha256sum] = "cb570f6f1e78cb364fbe3c4fb8751824ee9db0c942ba61b62380b9b5ab
19S = "${WORKDIR}/${REALPN}-${PV}" 19S = "${WORKDIR}/${REALPN}-${PV}"
20DEPENDS = "libva gstreamer1.0 gstreamer1.0-plugins-base gstreamer1.0-plugins-bad" 20DEPENDS = "libva gstreamer1.0 gstreamer1.0-plugins-base gstreamer1.0-plugins-bad"
21 21
22inherit autotools pkgconfig gtk-doc distro_features_check upstream-version-is-even 22inherit autotools pkgconfig gtk-doc features_check upstream-version-is-even
23 23
24REQUIRED_DISTRO_FEATURES ?= "opengl" 24REQUIRED_DISTRO_FEATURES ?= "opengl"
25 25
diff --git a/meta/recipes-sato/l3afpad/l3afpad_git.bb b/meta/recipes-sato/l3afpad/l3afpad_git.bb
index ccfda26589..8906c748ed 100644
--- a/meta/recipes-sato/l3afpad/l3afpad_git.bb
+++ b/meta/recipes-sato/l3afpad/l3afpad_git.bb
@@ -17,7 +17,7 @@ SRCREV ="3cdccdc9505643e50f8208171d9eee5de11a42ff"
17 17
18S = "${WORKDIR}/git" 18S = "${WORKDIR}/git"
19 19
20inherit autotools pkgconfig distro_features_check 20inherit autotools pkgconfig features_check
21 21
22ANY_OF_DISTRO_FEATURES = "${GTK3DISTROFEATURES}" 22ANY_OF_DISTRO_FEATURES = "${GTK3DISTROFEATURES}"
23 23
diff --git a/meta/recipes-sato/matchbox-config-gtk/matchbox-config-gtk_0.2.bb b/meta/recipes-sato/matchbox-config-gtk/matchbox-config-gtk_0.2.bb
index b993a94547..547e851c15 100644
--- a/meta/recipes-sato/matchbox-config-gtk/matchbox-config-gtk_0.2.bb
+++ b/meta/recipes-sato/matchbox-config-gtk/matchbox-config-gtk_0.2.bb
@@ -17,7 +17,7 @@ UPSTREAM_CHECK_GITTAGREGEX = "(?P<pver>(\d+(\.\d+)+))"
17 17
18S = "${WORKDIR}/git" 18S = "${WORKDIR}/git"
19 19
20inherit autotools pkgconfig distro_features_check 20inherit autotools pkgconfig features_check
21 21
22# The settings-daemon requires x11 in DISTRO_FEATURES 22# The settings-daemon requires x11 in DISTRO_FEATURES
23REQUIRED_DISTRO_FEATURES = "x11" 23REQUIRED_DISTRO_FEATURES = "x11"
diff --git a/meta/recipes-sato/matchbox-desktop/matchbox-desktop_2.2.bb b/meta/recipes-sato/matchbox-desktop/matchbox-desktop_2.2.bb
index b0cdfa2ae1..5c23e85202 100644
--- a/meta/recipes-sato/matchbox-desktop/matchbox-desktop_2.2.bb
+++ b/meta/recipes-sato/matchbox-desktop/matchbox-desktop_2.2.bb
@@ -20,7 +20,7 @@ EXTRA_OECONF = "--enable-startup-notification --with-dbus"
20 20
21S = "${WORKDIR}/git" 21S = "${WORKDIR}/git"
22 22
23inherit autotools pkgconfig distro_features_check 23inherit autotools pkgconfig features_check
24 24
25# The startup-notification requires x11 in DISTRO_FEATURES 25# The startup-notification requires x11 in DISTRO_FEATURES
26REQUIRED_DISTRO_FEATURES = "x11" 26REQUIRED_DISTRO_FEATURES = "x11"
diff --git a/meta/recipes-sato/matchbox-keyboard/matchbox-keyboard_0.1.1.bb b/meta/recipes-sato/matchbox-keyboard/matchbox-keyboard_0.1.1.bb
index 465f1349af..dfc7fbad57 100644
--- a/meta/recipes-sato/matchbox-keyboard/matchbox-keyboard_0.1.1.bb
+++ b/meta/recipes-sato/matchbox-keyboard/matchbox-keyboard_0.1.1.bb
@@ -18,7 +18,7 @@ SRC_URI = "git://git.yoctoproject.org/${BPN};branch=matchbox-keyboard-0-1 \
18 18
19S = "${WORKDIR}/git" 19S = "${WORKDIR}/git"
20 20
21inherit autotools pkgconfig gettext gtk-immodules-cache distro_features_check 21inherit autotools pkgconfig gettext gtk-immodules-cache features_check
22 22
23# The libxft, libfakekey and matchbox-panel-2 requires x11 in DISTRO_FEATURES 23# The libxft, libfakekey and matchbox-panel-2 requires x11 in DISTRO_FEATURES
24REQUIRED_DISTRO_FEATURES = "x11" 24REQUIRED_DISTRO_FEATURES = "x11"
diff --git a/meta/recipes-sato/matchbox-panel-2/matchbox-panel-2_2.11.bb b/meta/recipes-sato/matchbox-panel-2/matchbox-panel-2_2.11.bb
index 421740f984..2e6f5b7085 100644
--- a/meta/recipes-sato/matchbox-panel-2/matchbox-panel-2_2.11.bb
+++ b/meta/recipes-sato/matchbox-panel-2/matchbox-panel-2_2.11.bb
@@ -37,4 +37,4 @@ FILES_${PN} += "${libdir}/matchbox-panel/*.so \
37 ${datadir}/icons/" 37 ${datadir}/icons/"
38FILES_${PN}-dev += "${libdir}/matchbox-panel/*.la" 38FILES_${PN}-dev += "${libdir}/matchbox-panel/*.la"
39 39
40inherit autotools pkgconfig distro_features_check gettext 40inherit autotools pkgconfig features_check gettext
diff --git a/meta/recipes-sato/matchbox-sato/matchbox-session-sato_0.1.bb b/meta/recipes-sato/matchbox-sato/matchbox-session-sato_0.1.bb
index 8230e95140..966c5b5b92 100644
--- a/meta/recipes-sato/matchbox-sato/matchbox-session-sato_0.1.bb
+++ b/meta/recipes-sato/matchbox-sato/matchbox-session-sato_0.1.bb
@@ -13,7 +13,7 @@ PR = "r30"
13# based on the machine architecture. 13# based on the machine architecture.
14PACKAGE_ARCH = "${MACHINE_ARCH}" 14PACKAGE_ARCH = "${MACHINE_ARCH}"
15 15
16inherit distro_features_check 16inherit features_check
17 17
18# The matchbox-theme-sato requires x11 in DISTRO_FEATURES 18# The matchbox-theme-sato requires x11 in DISTRO_FEATURES
19REQUIRED_DISTRO_FEATURES = "x11" 19REQUIRED_DISTRO_FEATURES = "x11"
diff --git a/meta/recipes-sato/matchbox-terminal/matchbox-terminal_0.2.bb b/meta/recipes-sato/matchbox-terminal/matchbox-terminal_0.2.bb
index 7f5eda3043..9f00281dde 100644
--- a/meta/recipes-sato/matchbox-terminal/matchbox-terminal_0.2.bb
+++ b/meta/recipes-sato/matchbox-terminal/matchbox-terminal_0.2.bb
@@ -16,6 +16,6 @@ UPSTREAM_CHECK_GITTAGREGEX = "(?P<pver>(\d+(\.\d+)+))"
16 16
17S = "${WORKDIR}/git" 17S = "${WORKDIR}/git"
18 18
19inherit autotools pkgconfig distro_features_check 19inherit autotools pkgconfig features_check
20 20
21ANY_OF_DISTRO_FEATURES = "${GTK3DISTROFEATURES}" 21ANY_OF_DISTRO_FEATURES = "${GTK3DISTROFEATURES}"
diff --git a/meta/recipes-sato/matchbox-theme-sato/matchbox-theme-sato.inc b/meta/recipes-sato/matchbox-theme-sato/matchbox-theme-sato.inc
index d947e1ab0f..ce683e9630 100644
--- a/meta/recipes-sato/matchbox-theme-sato/matchbox-theme-sato.inc
+++ b/meta/recipes-sato/matchbox-theme-sato/matchbox-theme-sato.inc
@@ -8,7 +8,7 @@ LIC_FILES_CHKSUM = "file://COPYING;md5=aae86bb34b0a83716ca09f4e783d6ba4"
8DEPENDS = "matchbox-wm" 8DEPENDS = "matchbox-wm"
9SECTION = "x11/wm" 9SECTION = "x11/wm"
10 10
11inherit autotools pkgconfig distro_features_check 11inherit autotools pkgconfig features_check
12 12
13FILES_${PN} += "${datadir}/themes" 13FILES_${PN} += "${datadir}/themes"
14 14
diff --git a/meta/recipes-sato/packagegroups/packagegroup-core-x11-sato.bb b/meta/recipes-sato/packagegroups/packagegroup-core-x11-sato.bb
index 7e14ece93d..ed3f1a69a1 100644
--- a/meta/recipes-sato/packagegroups/packagegroup-core-x11-sato.bb
+++ b/meta/recipes-sato/packagegroups/packagegroup-core-x11-sato.bb
@@ -7,7 +7,7 @@ PR = "r33"
7 7
8PACKAGE_ARCH = "${MACHINE_ARCH}" 8PACKAGE_ARCH = "${MACHINE_ARCH}"
9 9
10inherit packagegroup distro_features_check 10inherit packagegroup features_check
11REQUIRED_DISTRO_FEATURES = "x11" 11REQUIRED_DISTRO_FEATURES = "x11"
12 12
13PACKAGES = "${PN} ${PN}-base ${PN}-apps ${PN}-games" 13PACKAGES = "${PN} ${PN}-base ${PN}-apps ${PN}-games"
diff --git a/meta/recipes-sato/pcmanfm/pcmanfm_1.3.1.bb b/meta/recipes-sato/pcmanfm/pcmanfm_1.3.1.bb
index a5e3a1ad33..c88e1ed8d6 100644
--- a/meta/recipes-sato/pcmanfm/pcmanfm_1.3.1.bb
+++ b/meta/recipes-sato/pcmanfm/pcmanfm_1.3.1.bb
@@ -21,7 +21,7 @@ SRC_URI[sha256sum] = "6804043b3ee3a703edde41c724946174b505fe958703eadbd7e0876ece
21 21
22UPSTREAM_CHECK_URI = "http://sourceforge.net/projects/pcmanfm/files/PCManFM%20%2B%20Libfm%20%28tarball%20release%29/PCManFM/" 22UPSTREAM_CHECK_URI = "http://sourceforge.net/projects/pcmanfm/files/PCManFM%20%2B%20Libfm%20%28tarball%20release%29/PCManFM/"
23 23
24inherit autotools pkgconfig distro_features_check 24inherit autotools pkgconfig features_check
25 25
26# The startup-notification requires x11 in DISTRO_FEATURES 26# The startup-notification requires x11 in DISTRO_FEATURES
27REQUIRED_DISTRO_FEATURES = "x11" 27REQUIRED_DISTRO_FEATURES = "x11"
diff --git a/meta/recipes-sato/puzzles/puzzles_git.bb b/meta/recipes-sato/puzzles/puzzles_git.bb
index 59b952522d..5ee9164b85 100644
--- a/meta/recipes-sato/puzzles/puzzles_git.bb
+++ b/meta/recipes-sato/puzzles/puzzles_git.bb
@@ -24,7 +24,7 @@ PV = "0.0+git${SRCPV}"
24 24
25S = "${WORKDIR}/git" 25S = "${WORKDIR}/git"
26 26
27inherit autotools distro_features_check pkgconfig 27inherit autotools features_check pkgconfig
28 28
29PACKAGECONFIG ??= "gtk3" 29PACKAGECONFIG ??= "gtk3"
30PACKAGECONFIG[gtk2] = "--with-gtk=2,,gtk+," 30PACKAGECONFIG[gtk2] = "--with-gtk=2,,gtk+,"
diff --git a/meta/recipes-sato/sato-screenshot/sato-screenshot_0.3.bb b/meta/recipes-sato/sato-screenshot/sato-screenshot_0.3.bb
index f3305aef78..f6dac2cf88 100644
--- a/meta/recipes-sato/sato-screenshot/sato-screenshot_0.3.bb
+++ b/meta/recipes-sato/sato-screenshot/sato-screenshot_0.3.bb
@@ -16,7 +16,7 @@ UPSTREAM_CHECK_GITTAGREGEX = "(?P<pver>(\d+(\.\d+)+))"
16 16
17S = "${WORKDIR}/git" 17S = "${WORKDIR}/git"
18 18
19inherit autotools pkgconfig distro_features_check 19inherit autotools pkgconfig features_check
20 20
21FILES_${PN} += "${libdir}/matchbox-panel/*.so" 21FILES_${PN} += "${libdir}/matchbox-panel/*.so"
22 22
diff --git a/meta/recipes-sato/settings-daemon/settings-daemon_0.0.2.bb b/meta/recipes-sato/settings-daemon/settings-daemon_0.0.2.bb
index bb6b69b900..227fd54b79 100644
--- a/meta/recipes-sato/settings-daemon/settings-daemon_0.0.2.bb
+++ b/meta/recipes-sato/settings-daemon/settings-daemon_0.0.2.bb
@@ -17,7 +17,7 @@ UPSTREAM_CHECK_GITTAGREGEX = "(?P<pver>(\d+(\.\d+)+))"
17 17
18S = "${WORKDIR}/git" 18S = "${WORKDIR}/git"
19 19
20inherit autotools pkgconfig gconf distro_features_check 20inherit autotools pkgconfig gconf features_check
21 21
22FILES_${PN} = "${bindir}/* ${sysconfdir}" 22FILES_${PN} = "${bindir}/* ${sysconfdir}"
23 23
diff --git a/meta/recipes-sato/webkit/webkitgtk_2.26.2.bb b/meta/recipes-sato/webkit/webkitgtk_2.26.2.bb
index c3560e811b..299d14a6f5 100644
--- a/meta/recipes-sato/webkit/webkitgtk_2.26.2.bb
+++ b/meta/recipes-sato/webkit/webkitgtk_2.26.2.bb
@@ -24,7 +24,7 @@ SRC_URI = "http://www.webkitgtk.org/releases/${BPN}-${PV}.tar.xz \
24SRC_URI[md5sum] = "65e06fe73ee166447894aaea95038e3b" 24SRC_URI[md5sum] = "65e06fe73ee166447894aaea95038e3b"
25SRC_URI[sha256sum] = "6b80f0637a80818559ac8fd50db3b394f41cb61904fb9b3ed65fa51635806512" 25SRC_URI[sha256sum] = "6b80f0637a80818559ac8fd50db3b394f41cb61904fb9b3ed65fa51635806512"
26 26
27inherit cmake pkgconfig gobject-introspection perlnative distro_features_check upstream-version-is-even gtk-doc 27inherit cmake pkgconfig gobject-introspection perlnative features_check upstream-version-is-even gtk-doc
28 28
29REQUIRED_DISTRO_FEATURES = "x11 opengl" 29REQUIRED_DISTRO_FEATURES = "x11 opengl"
30 30
diff --git a/meta/recipes-support/atk/at-spi2-atk_2.32.0.bb b/meta/recipes-support/atk/at-spi2-atk_2.32.0.bb
index bcf1c9c77a..d3a9de1e41 100644
--- a/meta/recipes-support/atk/at-spi2-atk_2.32.0.bb
+++ b/meta/recipes-support/atk/at-spi2-atk_2.32.0.bb
@@ -9,7 +9,7 @@ SRC_URI[archive.sha256sum] = "0b51e6d339fa2bcca3a3e3159ccea574c67b107f1ac8b00047
9DEPENDS = "dbus glib-2.0 glib-2.0-native atk at-spi2-core libxml2" 9DEPENDS = "dbus glib-2.0 glib-2.0-native atk at-spi2-core libxml2"
10 10
11GNOMEBASEBUILDCLASS = "meson" 11GNOMEBASEBUILDCLASS = "meson"
12inherit gnomebase distro_features_check upstream-version-is-even 12inherit gnomebase features_check upstream-version-is-even
13 13
14PACKAGES =+ "${PN}-gnome ${PN}-gtk2" 14PACKAGES =+ "${PN}-gnome ${PN}-gtk2"
15 15
diff --git a/meta/recipes-support/consolekit/consolekit_0.4.6.bb b/meta/recipes-support/consolekit/consolekit_0.4.6.bb
index a17f739d4d..89f2d77b66 100644
--- a/meta/recipes-support/consolekit/consolekit_0.4.6.bb
+++ b/meta/recipes-support/consolekit/consolekit_0.4.6.bb
@@ -9,7 +9,7 @@ LIC_FILES_CHKSUM = "file://COPYING;md5=59530bdf33659b29e73d4adb9f9f6552 \
9DEPENDS = "glib-2.0 glib-2.0-native dbus dbus-glib virtual/libx11" 9DEPENDS = "glib-2.0 glib-2.0-native dbus dbus-glib virtual/libx11"
10RDEPENDS_${PN} += "base-files" 10RDEPENDS_${PN} += "base-files"
11 11
12inherit autotools pkgconfig distro_features_check 12inherit autotools pkgconfig features_check
13# depends on virtual/libx11 13# depends on virtual/libx11
14REQUIRED_DISTRO_FEATURES = "x11" 14REQUIRED_DISTRO_FEATURES = "x11"
15 15
diff --git a/meta/recipes-support/libfm/libfm_1.3.1.bb b/meta/recipes-support/libfm/libfm_1.3.1.bb
index 65a6f8e78c..918fe3ece7 100644
--- a/meta/recipes-support/libfm/libfm_1.3.1.bb
+++ b/meta/recipes-support/libfm/libfm_1.3.1.bb
@@ -19,7 +19,7 @@ SRC_URI = "${SOURCEFORGE_MIRROR}/pcmanfm/libfm-${PV}.tar.xz \
19SRC_URI[md5sum] = "c15ecd2c9317e2c385cd3f046d0b61ba" 19SRC_URI[md5sum] = "c15ecd2c9317e2c385cd3f046d0b61ba"
20SRC_URI[sha256sum] = "96b1244bde41ca0eef0332cfb5c67bb16725dfd102128f3e6f74fadc13a1cfe4" 20SRC_URI[sha256sum] = "96b1244bde41ca0eef0332cfb5c67bb16725dfd102128f3e6f74fadc13a1cfe4"
21 21
22inherit autotools pkgconfig gtk-doc gettext distro_features_check 22inherit autotools pkgconfig gtk-doc gettext features_check
23ANY_OF_DISTRO_FEATURES = "${GTK3DISTROFEATURES}" 23ANY_OF_DISTRO_FEATURES = "${GTK3DISTROFEATURES}"
24 24
25EXTRA_OECONF = "--with-gtk=3" 25EXTRA_OECONF = "--with-gtk=3"
diff --git a/meta/recipes-support/nss-myhostname/nss-myhostname_0.3.bb b/meta/recipes-support/nss-myhostname/nss-myhostname_0.3.bb
index 244d9e204e..074f713205 100644
--- a/meta/recipes-support/nss-myhostname/nss-myhostname_0.3.bb
+++ b/meta/recipes-support/nss-myhostname/nss-myhostname_0.3.bb
@@ -12,7 +12,7 @@ SRC_URI = "http://0pointer.de/lennart/projects/nss-myhostname/nss-myhostname-${P
12SRC_URI[md5sum] = "d4ab9ac36c053ab8fb836db1cbd4a48f" 12SRC_URI[md5sum] = "d4ab9ac36c053ab8fb836db1cbd4a48f"
13SRC_URI[sha256sum] = "2ba744ea8d578d1c57c85884e94a3042ee17843a5294434d3a7f6c4d67e7caf2" 13SRC_URI[sha256sum] = "2ba744ea8d578d1c57c85884e94a3042ee17843a5294434d3a7f6c4d67e7caf2"
14 14
15inherit autotools distro_features_check 15inherit autotools features_check
16 16
17COMPATIBLE_HOST_libc-musl = 'null' 17COMPATIBLE_HOST_libc-musl = 'null'
18 18
diff --git a/meta/recipes-support/vte/vte_0.58.2.bb b/meta/recipes-support/vte/vte_0.58.2.bb
index 9e27f6978d..0ed382a5f9 100644
--- a/meta/recipes-support/vte/vte_0.58.2.bb
+++ b/meta/recipes-support/vte/vte_0.58.2.bb
@@ -14,7 +14,7 @@ DEPENDS = "glib-2.0 gtk+3 libpcre2 libxml2-native gperf-native"
14GNOMEBASEBUILDCLASS = "meson" 14GNOMEBASEBUILDCLASS = "meson"
15GIR_MESON_OPTION = 'gir' 15GIR_MESON_OPTION = 'gir'
16 16
17inherit gnomebase gtk-doc distro_features_check upstream-version-is-even gobject-introspection 17inherit gnomebase gtk-doc features_check upstream-version-is-even gobject-introspection
18 18
19# vapigen.m4 is required when vala is not present (but the one from vala should be used normally) 19# vapigen.m4 is required when vala is not present (but the one from vala should be used normally)
20SRC_URI += "file://0001-app.cc-use-old-school-asignment-to-avoid-gcc-4.8-err.patch \ 20SRC_URI += "file://0001-app.cc-use-old-school-asignment-to-avoid-gcc-4.8-err.patch \