From fe4c82e120ee5d32b219fbefd4512cc2fdd89e7a Mon Sep 17 00:00:00 2001 From: Yu Ke Date: Sun, 28 Nov 2010 10:10:07 +0800 Subject: [PATCH] mesa-dri-glsl-native: upgrade from 7.8.2 to 7.9 with the following changes - add license checksum - add dependency of talloc-native, because mesa 7.9 start to use talloc to manage its memory. Signed-off-by: Yu Ke --- ...mesa-dri-glsl-native_7.8.2.bb => mesa-dri-glsl-native_7.9.bb} | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) rename meta/recipes-graphics/mesa/{mesa-dri-glsl-native_7.8.2.bb => mesa-dri-glsl-native_7.9.bb} (58%) diff --git a/meta/recipes-graphics/mesa/mesa-dri-glsl-native_7.8.2.bb b/meta/recipes-graphics/mesa/mesa-dri-glsl-native_7.9.bb similarity index 58% rename from meta/recipes-graphics/mesa/mesa-dri-glsl-native_7.8.2.bb rename to meta/recipes-graphics/mesa/mesa-dri-glsl-native_7.9.bb index f6121c1..ffc113b 100644 --- a/meta/recipes-graphics/mesa/mesa-dri-glsl-native_7.8.2.bb +++ b/meta/recipes-graphics/mesa/mesa-dri-glsl-native_7.9.bb @@ -3,22 +3,23 @@ HOMEPAGE = "http://mesa3d.org" BUGTRACKER = "https://bugs.freedesktop.org" SECTION = "x11" LICENSE = "MIT" +LIC_FILES_CHKSUM = "file://main.cpp;endline=22;md5=a12a9c0208ee64a07ce314dfed4c81eb" PR = "r0" -DEPENDS = "makedepend-native" +DEPENDS = "makedepend-native talloc-native" SRC_URI = "ftp://ftp.freedesktop.org/pub/mesa/${PV}/MesaLib-${PV}.tar.bz2" -S = "${WORKDIR}/Mesa-7.8.2/src/glsl/" +S = "${WORKDIR}/Mesa-${PV}/src/glsl" inherit native # use default config for native build do_configure_prepend() { - ln -s ${S}/../../configs/default ${S}/../../configs/current + ln -sf ${S}/../../configs/default ${S}/../../configs/current } do_install() { install -d ${D}/${bindir} - install -m 755 ${S}/apps/compile ${D}/${bindir}/glsl-compile + install -m 755 ${S}/glsl_compiler ${D}/${bindir}/ } -- 2.7.4