summaryrefslogtreecommitdiffstats
path: root/meta/recipes-graphics/xorg-lib
diff options
context:
space:
mode:
authorRobert Yang <liezhi.yang@windriver.com>2015-05-10 19:30:03 -0700
committerRichard Purdie <richard.purdie@linuxfoundation.org>2015-05-14 11:43:58 +0100
commitb741051080652eabcbcab0f2fa73e82cf31b742a (patch)
tree21f5cf99d8bace687ed89cba8f111ee2da8f0bd9 /meta/recipes-graphics/xorg-lib
parentf609f7aba72f4297386fd6f88544db4dc86a63ef (diff)
downloadpoky-b741051080652eabcbcab0f2fa73e82cf31b742a.tar.gz
recipes-graphics: add x11 to REQUIRED_DISTRO_FEATURES
They can't be built withou x11 in DISTRO_FEATURES. (From OE-Core rev: 908f6f2ded18d5301f428e685bface60335bd791) Signed-off-by: Robert Yang <liezhi.yang@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-graphics/xorg-lib')
-rw-r--r--meta/recipes-graphics/xorg-lib/libxcb.inc5
-rw-r--r--meta/recipes-graphics/xorg-lib/xcb-util.inc4
2 files changed, 7 insertions, 2 deletions
diff --git a/meta/recipes-graphics/xorg-lib/libxcb.inc b/meta/recipes-graphics/xorg-lib/libxcb.inc
index 453f5500c3..fe31f20df0 100644
--- a/meta/recipes-graphics/xorg-lib/libxcb.inc
+++ b/meta/recipes-graphics/xorg-lib/libxcb.inc
@@ -20,7 +20,10 @@ PACKAGES_DYNAMIC = "^libxcb-.*"
20 20
21FILES_${PN} = "${libdir}/libxcb.so.*" 21FILES_${PN} = "${libdir}/libxcb.so.*"
22 22
23inherit autotools pkgconfig pythonnative 23inherit autotools pkgconfig pythonnative distro_features_check
24
25# The libxau and others requires x11 in DISTRO_FEATURES
26REQUIRED_DISTRO_FEATURES = "x11"
24 27
25python populate_packages_prepend () { 28python populate_packages_prepend () {
26 do_split_packages(d, '${libdir}', '^libxcb-(.*)\.so\..*$', 'libxcb-%s', 'XCB library module for %s', allow_links=True) 29 do_split_packages(d, '${libdir}', '^libxcb-(.*)\.so\..*$', 'libxcb-%s', 'XCB library module for %s', allow_links=True)
diff --git a/meta/recipes-graphics/xorg-lib/xcb-util.inc b/meta/recipes-graphics/xorg-lib/xcb-util.inc
index d15cf9fba1..99d04f9d44 100644
--- a/meta/recipes-graphics/xorg-lib/xcb-util.inc
+++ b/meta/recipes-graphics/xorg-lib/xcb-util.inc
@@ -18,4 +18,6 @@ DEPENDS += "gperf-native"
18 18
19SRC_URI = "http://xcb.freedesktop.org/dist/${BPN}-${PV}.tar.bz2" 19SRC_URI = "http://xcb.freedesktop.org/dist/${BPN}-${PV}.tar.bz2"
20 20
21inherit autotools pkgconfig 21inherit autotools pkgconfig distro_features_check
22
23REQUIRED_DISTRO_FEATURES = "x11"