From 0b62bd8a95a6500daec6e5fafd5745da74633fc7 Mon Sep 17 00:00:00 2001 From: Yu Ke Date: Fri, 14 Jan 2011 16:39:59 +0800 Subject: mesa: upgrade to mesa 7.10 - add SRC_URI checksum - remove the DEFAULT_PREFERENCE for atom_pc, since mesa 7.10 has dependency on GPLv3 talloc. the latest non-GPLv3 one is mesa 7.8.2, atom_pc can use that vesion. Signed-off-by: Yu Ke --- meta/recipes-graphics/mesa/mesa-dri_7.10.bb | 38 +++++++++++++++++++++++++++++ meta/recipes-graphics/mesa/mesa-dri_7.9.bb | 38 ----------------------------- 2 files changed, 38 insertions(+), 38 deletions(-) create mode 100644 meta/recipes-graphics/mesa/mesa-dri_7.10.bb delete mode 100644 meta/recipes-graphics/mesa/mesa-dri_7.9.bb (limited to 'meta/recipes-graphics') diff --git a/meta/recipes-graphics/mesa/mesa-dri_7.10.bb b/meta/recipes-graphics/mesa/mesa-dri_7.10.bb new file mode 100644 index 000000000..3031e4b68 --- /dev/null +++ b/meta/recipes-graphics/mesa/mesa-dri_7.10.bb @@ -0,0 +1,38 @@ +include mesa-common.inc + +LIC_FILES_CHKSUM = "file://docs/license.html;md5=7a3373c039b6b925c427755a4f779c1d" + +PROTO_DEPS = "xf86driproto glproto dri2proto" +LIB_DEPS = "libdrm virtual/libx11 libxext libxxf86vm libxdamage libxfixes expat \ + libxml2-native talloc" + +DEPENDS = "${PROTO_DEPS} ${LIB_DEPS}" + +PR = "r0" + +SRC_URI = "ftp://ftp.freedesktop.org/pub/mesa/${PV}/MesaLib-${PV}.tar.bz2 \ + file://crossfix.patch" + +SRC_URI[md5sum] = "33fb94eccc02cbb4d8d1365615e38e46" +SRC_URI[sha256sum] = "bcf28f43f39c28da271c0f5857fb32898d4ade3e035e80a0ceece1c2df6e0aca" + +# most of our targets do not have DRI so will use mesa-xlib +DEFAULT_PREFERENCE = "-1" + +LEAD_SONAME = "libGL.so.1" + +EXTRA_OECONF += "--with-driver=dri --disable-egl --disable-gallium" + +python populate_packages_prepend() { + import os.path + + dri_drivers_root = os.path.join(bb.data.getVar('libdir', d, 1), "dri") + + do_split_packages(d, dri_drivers_root, '^(.*)_dri\.so$', 'mesa-dri-driver-%s', 'Mesa %s DRI driver', extra_depends='') +} + +COMPATIBLE_HOST = '(i.86.*-linux|x86_64.*-linux)' + +PACKAGES_DYNAMIC = "mesa-dri-driver-*" + +FILES_${PN}-dbg += "${libdir}/dri/.debug/*" diff --git a/meta/recipes-graphics/mesa/mesa-dri_7.9.bb b/meta/recipes-graphics/mesa/mesa-dri_7.9.bb deleted file mode 100644 index 313b655d2..000000000 --- a/meta/recipes-graphics/mesa/mesa-dri_7.9.bb +++ /dev/null @@ -1,38 +0,0 @@ -include mesa-common.inc - -LIC_FILES_CHKSUM = "file://docs/license.html;md5=7a3373c039b6b925c427755a4f779c1d" - -PROTO_DEPS = "xf86driproto glproto dri2proto" -LIB_DEPS = "libdrm virtual/libx11 libxext libxxf86vm libxdamage libxfixes expat \ - libxml2-native talloc" - -DEPENDS = "${PROTO_DEPS} ${LIB_DEPS} mesa-dri-glsl-native" - -PR = "r1" - -SRC_URI = "ftp://ftp.freedesktop.org/pub/mesa/${PV}/MesaLib-${PV}.tar.bz2 \ - file://crossfix.patch" - -# most of our targets do not have DRI so will use mesa-xlib -DEFAULT_PREFERENCE = "-1" - -# Atom PCs have DRI support so use mesa-dri by default -DEFAULT_PREFERENCE_atom-pc = "1" - -LEAD_SONAME = "libGL.so.1" - -EXTRA_OECONF += "--with-driver=dri --disable-egl --disable-gallium" - -python populate_packages_prepend() { - import os.path - - dri_drivers_root = os.path.join(bb.data.getVar('libdir', d, 1), "dri") - - do_split_packages(d, dri_drivers_root, '^(.*)_dri\.so$', 'mesa-dri-driver-%s', 'Mesa %s DRI driver', extra_depends='') -} - -COMPATIBLE_HOST = '(i.86.*-linux|x86_64.*-linux)' - -PACKAGES_DYNAMIC = "mesa-dri-driver-*" - -FILES_${PN}-dbg += "${libdir}/dri/.debug/*" -- cgit v1.2.3