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 <wenzong.fan@windriver.com>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
This commit is contained in:
Wenzong Fan 2015-10-21 04:31:19 -04:00 committed by Martin Jansa
parent ff477aa4e6
commit 29939f4555
2 changed files with 7 additions and 2 deletions

View File

@ -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"

View File

@ -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"