Comments
Patch
@@ -1,6 +1,6 @@
FILES_${PN} += "${datadir}/icons/hicolor"
-DEPENDS += "${@['hicolor-icon-theme', '']['${BPN}' == 'hicolor-icon-theme']}"
+DEPENDS += "${@base_contains('DISTRO_FEATURES', 'x11', ['hicolor-icon-theme', '']['${BPN}' == 'hicolor-icon-theme'], '', d)}"
# This could run on the host as icon cache files are architecture independent,
# but there is no gtk-update-icon-cache built natively.
@@ -28,6 +28,9 @@ done
}
python populate_packages_append () {
+ if not oe.utils.contains('DISTRO_FEATURES', 'x11', True, False, d):
+ return
+
packages = d.getVar('PACKAGES', 1).split()
pkgdest = d.getVar('PKGDEST', 1)
* Drop dependency on GNOME if x11 is disabled. Signed-off-by: Andreas Oberritter <obi@opendreambox.org> --- meta/classes/gtk-icon-cache.bbclass | 5 ++++- 1 files changed, 4 insertions(+), 1 deletions(-)