From 29939f45554080c3cd800eec1ed7d25a6644d081 Mon Sep 17 00:00:00 2001 From: Wenzong Fan Date: Wed, 21 Oct 2015 04:31:19 -0400 Subject: libgtop/metacity: add x11 to required DISTRO_FEATURES The recipes depend on virtual/libx11 indirectly, they only can be built with x11 in DISTRO_FEATURES. Signed-off-by: Wenzong Fan Signed-off-by: Martin Jansa --- meta-gnome/recipes-gnome/libgtop/libgtop_2.30.0.bb | 5 ++++- meta-gnome/recipes-gnome/metacity/metacity_2.34.13.bb | 4 +++- 2 files changed, 7 insertions(+), 2 deletions(-) diff --git a/meta-gnome/recipes-gnome/libgtop/libgtop_2.30.0.bb b/meta-gnome/recipes-gnome/libgtop/libgtop_2.30.0.bb index 51c51d451f..8568274c9d 100644 --- a/meta-gnome/recipes-gnome/libgtop/libgtop_2.30.0.bb +++ b/meta-gnome/recipes-gnome/libgtop/libgtop_2.30.0.bb @@ -2,7 +2,10 @@ SUMMARY = "LibGTop2" LICENSE = "GPLv2+" LIC_FILES_CHKSUM = "file://copyright.txt;md5=dbc839bf158d19a20e661db14db7a58c" -inherit gnomebase lib_package gtk-doc +inherit gnomebase lib_package gtk-doc distro_features_check +# depends on libxau +REQUIRED_DISTRO_FEATURES = "x11" + SRC_URI[archive.md5sum] = "ee29a9ef60659ebf4b075ac281f71cb2" SRC_URI[archive.sha256sum] = "463bcbe5737b1b93f3345ee34abf601e8eb864f507c49ff1921c2737abafc1e5" diff --git a/meta-gnome/recipes-gnome/metacity/metacity_2.34.13.bb b/meta-gnome/recipes-gnome/metacity/metacity_2.34.13.bb index 9c48238ffb..662c90db86 100644 --- a/meta-gnome/recipes-gnome/metacity/metacity_2.34.13.bb +++ b/meta-gnome/recipes-gnome/metacity/metacity_2.34.13.bb @@ -7,7 +7,9 @@ LIC_FILES_CHKSUM = "file://COPYING;md5=94d55d512a9ba36caa9b7df079bae19f \ DEPENDS = "gsettings-desktop-schemas startup-notification gtk+ gconf gdk-pixbuf-native libcanberra gnome-doc-utils libgtop intltool-native" PR = "r1" -inherit gnomebase update-alternatives +inherit gnomebase update-alternatives distro_features_check +# depends on startup-notification which depends on virtual/libx11 +REQUIRED_DISTRO_FEATURES = "x11" GNOME_COMPRESS_TYPE = "xz" -- cgit v1.2.3-54-g00ecf