Comments
Patch
@@ -1,4 +1,4 @@
-DEPENDS += "gconf gconf-native"
+DEPENDS += "${@base_contains('DISTRO_FEATURES', 'x11', 'gconf gconf-native', '', d)}"
# This is referenced by the gconf m4 macros and would default to the value hardcoded
# into gconf at compile time otherwise
@@ -31,6 +31,9 @@ done
}
python populate_packages_append () {
+ if not oe.utils.contains('DISTRO_FEATURES', 'x11', True, False, d):
+ return
+
import re
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/gconf.bbclass | 5 ++++- 1 files changed, 4 insertions(+), 1 deletions(-)