summaryrefslogtreecommitdiffstats
path: root/meta/recipes-graphics/xorg-lib
diff options
context:
space:
mode:
authorDamien Lespiau <damien.lespiau@intel.com>2012-07-27 12:58:12 +0100
committerRichard Purdie <richard.purdie@linuxfoundation.org>2012-07-29 10:16:15 +0100
commit2b40ca14b4eb811b1c2c545b97aa9534077a6578 (patch)
tree6c0e87e7dbffe4b94f5e252a689a9542feafaacb /meta/recipes-graphics/xorg-lib
parent495350cc25cc4cae0709a3aa1c11e8c22a2aa69a (diff)
downloadpoky-2b40ca14b4eb811b1c2c545b97aa9534077a6578.tar.gz
libpciaccess: lpci access does not depend on X
So let's remove the X dependencies from DEPENDS and white list it in xorg-lib-common.inc. (From OE-Core rev: e82b4fe82689c760c4910ebfc9aed6e3d9e1a2a1) Signed-off-by: Damien Lespiau <damien.lespiau@intel.com> Signed-off-by: Ross Burton <ross.burton@intel.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/libpciaccess_0.13.1.bb4
-rw-r--r--meta/recipes-graphics/xorg-lib/xorg-lib-common.inc2
2 files changed, 2 insertions, 4 deletions
diff --git a/meta/recipes-graphics/xorg-lib/libpciaccess_0.13.1.bb b/meta/recipes-graphics/xorg-lib/libpciaccess_0.13.1.bb
index 178e220de9..0ec6814aad 100644
--- a/meta/recipes-graphics/xorg-lib/libpciaccess_0.13.1.bb
+++ b/meta/recipes-graphics/xorg-lib/libpciaccess_0.13.1.bb
@@ -8,9 +8,7 @@ require xorg-lib-common.inc
8LICENSE = "MIT & MIT-style" 8LICENSE = "MIT & MIT-style"
9LIC_FILES_CHKSUM = "file://COPYING;md5=de01cb89a769dc657d4c321c209ce4fc" 9LIC_FILES_CHKSUM = "file://COPYING;md5=de01cb89a769dc657d4c321c209ce4fc"
10 10
11PR = "r0" 11PR = "r1"
12
13DEPENDS += "xproto virtual/libx11"
14 12
15SRC_URI[md5sum] = "399a419ac6a54f0fc07c69c9bdf452dc" 13SRC_URI[md5sum] = "399a419ac6a54f0fc07c69c9bdf452dc"
16SRC_URI[sha256sum] = "27ab68f645691a4ca258dcc9d131040586e134f9233ce079794496f6264da084" 14SRC_URI[sha256sum] = "27ab68f645691a4ca258dcc9d131040586e134f9233ce079794496f6264da084"
diff --git a/meta/recipes-graphics/xorg-lib/xorg-lib-common.inc b/meta/recipes-graphics/xorg-lib/xorg-lib-common.inc
index 73a4d1d3e4..55eaf49a38 100644
--- a/meta/recipes-graphics/xorg-lib/xorg-lib-common.inc
+++ b/meta/recipes-graphics/xorg-lib/xorg-lib-common.inc
@@ -16,7 +16,7 @@ inherit autotools pkgconfig
16EXTRA_OECONF = "--enable-malloc0returnsnull --with-fop=no --without-xmlto" 16EXTRA_OECONF = "--enable-malloc0returnsnull --with-fop=no --without-xmlto"
17 17
18python () { 18python () {
19 whitelist = [ "pixman" ] 19 whitelist = [ "pixman", "libpciaccess" ]
20 if not d.getVar('BPN', True) in whitelist and not oe.utils.contains ('DISTRO_FEATURES', 'x11', True, False, d): 20 if not d.getVar('BPN', True) in whitelist and not oe.utils.contains ('DISTRO_FEATURES', 'x11', True, False, d):
21 raise bb.parse.SkipPackage("'x11' not in DISTRO_FEATURES") 21 raise bb.parse.SkipPackage("'x11' not in DISTRO_FEATURES")
22} 22}