diff options
author | Changqing Li <changqing.li@windriver.com> | 2020-07-08 15:13:31 +0800 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2020-07-28 12:41:10 +0100 |
commit | 9036f849564c3c63c850c72d270117f183aacc1c (patch) | |
tree | e2eaaa1e865f96dfcdcb9af5e2efc9418d6c98dd | |
parent | cacfbbdada818b008aac0f3889da57977d6ecd59 (diff) | |
download | poky-9036f849564c3c63c850c72d270117f183aacc1c.tar.gz |
gtk-icon-cache.bbclass: add features_check
'bitbake world -k' when DISTRO_FEATURES don't have x11 and wayland,
report errors:
Nothing PROVIDES 'gtk+3'
Nothing RPROVIDES 'blueman'
gtk+3 set ANY_OF_DISTRO_FEATURES, so add it here too
since we DEPENDS on it
(From OE-Core rev: ab9ff563c77cd5105f4ef9426f076b10ea8e2ee8)
Signed-off-by: Changqing Li <changqing.li@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
-rw-r--r-- | meta/classes/gtk-icon-cache.bbclass | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/meta/classes/gtk-icon-cache.bbclass b/meta/classes/gtk-icon-cache.bbclass index dd394af27c..340a283851 100644 --- a/meta/classes/gtk-icon-cache.bbclass +++ b/meta/classes/gtk-icon-cache.bbclass | |||
@@ -1,5 +1,10 @@ | |||
1 | FILES_${PN} += "${datadir}/icons/hicolor" | 1 | FILES_${PN} += "${datadir}/icons/hicolor" |
2 | 2 | ||
3 | #gtk+3 reqiure GTK3DISTROFEATURES, DEPENDS on it make all the | ||
4 | #recipes inherit this class require GTK3DISTROFEATURES | ||
5 | inherit features_check | ||
6 | ANY_OF_DISTRO_FEATURES = "${GTK3DISTROFEATURES}" | ||
7 | |||
3 | DEPENDS +=" ${@['hicolor-icon-theme', '']['${BPN}' == 'hicolor-icon-theme']} \ | 8 | DEPENDS +=" ${@['hicolor-icon-theme', '']['${BPN}' == 'hicolor-icon-theme']} \ |
4 | ${@['gdk-pixbuf', '']['${BPN}' == 'gdk-pixbuf']} \ | 9 | ${@['gdk-pixbuf', '']['${BPN}' == 'gdk-pixbuf']} \ |
5 | ${@['gtk+3', '']['${BPN}' == 'gtk+3']} \ | 10 | ${@['gtk+3', '']['${BPN}' == 'gtk+3']} \ |