diff options
author | Yu Ke <ke.yu@intel.com> | 2011-04-07 16:47:37 +0800 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2011-04-18 05:49:41 +0100 |
commit | c00288e0d48d927a97216bfa760fe34c871b7981 (patch) | |
tree | b3a6acb75ba975cbe9039f6eb18a9d544e08e892 /meta/recipes-graphics/mesa/mesa-dri_7.10.2.bb | |
parent | d890254ee571447dfb5d7bde7545254acfa10eb9 (diff) | |
download | poky-c00288e0d48d927a97216bfa760fe34c871b7981.tar.gz |
mesa: upgrade to 7.10.2
- also remove the talloc-removal.patch because it is already
included in this version
(From OE-Core rev: a59cb20da8eb66edcf6e99ca926609ecb80c5ae6)
Signed-off-by: Yu Ke <ke.yu@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-graphics/mesa/mesa-dri_7.10.2.bb')
-rw-r--r-- | meta/recipes-graphics/mesa/mesa-dri_7.10.2.bb | 41 |
1 files changed, 41 insertions, 0 deletions
diff --git a/meta/recipes-graphics/mesa/mesa-dri_7.10.2.bb b/meta/recipes-graphics/mesa/mesa-dri_7.10.2.bb new file mode 100644 index 0000000000..99d60664b9 --- /dev/null +++ b/meta/recipes-graphics/mesa/mesa-dri_7.10.2.bb | |||
@@ -0,0 +1,41 @@ | |||
1 | include mesa-common.inc | ||
2 | |||
3 | LIC_FILES_CHKSUM = "file://docs/license.html;md5=7a3373c039b6b925c427755a4f779c1d" | ||
4 | |||
5 | PROTO_DEPS = "xf86driproto glproto dri2proto" | ||
6 | LIB_DEPS = "libdrm virtual/libx11 libxext libxxf86vm libxdamage libxfixes expat \ | ||
7 | libxml2-native" | ||
8 | |||
9 | DEPENDS = "${PROTO_DEPS} ${LIB_DEPS} makedepend-native" | ||
10 | |||
11 | PR = "r0" | ||
12 | |||
13 | SRC_URI = "ftp://ftp.freedesktop.org/pub/mesa/${PV}/MesaLib-${PV}.tar.bz2 \ | ||
14 | file://crossfix.patch" | ||
15 | |||
16 | SRC_URI[md5sum] = "f5de82852f1243f42cc004039e10b771" | ||
17 | SRC_URI[sha256sum] = "8ced2678ce11cf30804694a92ea3ca6b82f158ae8995bdc626c7e85aac71c7c1" | ||
18 | |||
19 | # most of our targets do not have DRI so will use mesa-xlib | ||
20 | DEFAULT_PREFERENCE = "-1" | ||
21 | |||
22 | # Atom PCs have DRI support so use mesa-dri by default | ||
23 | DEFAULT_PREFERENCE_atom-pc = "1" | ||
24 | |||
25 | LEAD_SONAME = "libGL.so.1" | ||
26 | |||
27 | EXTRA_OECONF += "--with-driver=dri --disable-egl --disable-gallium" | ||
28 | |||
29 | python populate_packages_prepend() { | ||
30 | import os.path | ||
31 | |||
32 | dri_drivers_root = os.path.join(bb.data.getVar('libdir', d, 1), "dri") | ||
33 | |||
34 | do_split_packages(d, dri_drivers_root, '^(.*)_dri\.so$', 'mesa-dri-driver-%s', 'Mesa %s DRI driver', extra_depends='') | ||
35 | } | ||
36 | |||
37 | COMPATIBLE_HOST = '(i.86.*-linux|x86_64.*-linux)' | ||
38 | |||
39 | PACKAGES_DYNAMIC = "mesa-dri-driver-*" | ||
40 | |||
41 | FILES_${PN}-dbg += "${libdir}/dri/.debug/*" | ||