[poky] [PATCH 09/11] mesa-dri-glsl-native: upgrade from 7.8.2 to 7.9

Yu Ke ke.yu at intel.com
Sat Nov 27 18:10:07 PST 2010


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 <ke.yu at intel.com>
---
 ...native_7.8.2.bb => mesa-dri-glsl-native_7.9.bb} |    9 +++++----
 1 files 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}/
 }
-- 
1.7.0.4




More information about the poky mailing list