From 60c02fdf553db2e6847ae41ba6e5a881b40cd097 Mon Sep 17 00:00:00 2001 From: Koen Kooi Date: Mon, 1 Jun 2009 17:30:47 +0200 Subject: clutter 0.9: fixup GLES backend --- recipes/clutter/clutter-0.9_git.bb | 16 ++++++++++++++-- 1 file changed, 14 insertions(+), 2 deletions(-) (limited to 'recipes') diff --git a/recipes/clutter/clutter-0.9_git.bb b/recipes/clutter/clutter-0.9_git.bb index a8b8a36318..d0b7aa98ea 100644 --- a/recipes/clutter/clutter-0.9_git.bb +++ b/recipes/clutter/clutter-0.9_git.bb @@ -1,7 +1,9 @@ require clutter.inc -SRCREV = "35191f09ef0fa8fad6f386513dcd691ab6b6746f" -PV = "0.9.2" +SRCREV = "36cfb6030784791a4420a1e52a8c18d56b1d0c69" +#good: 20090512 08a73a215f2cf18abcfd7d93e8047583511497bd + +PV = "0.9.3" PR_append = "+git${SRCREV}" SRC_URI = "git://git.clutter-project.org/clutter.git;protocol=git;branch=master \ @@ -10,3 +12,13 @@ S = "${WORKDIR}/git" BASE_CONF += "--disable-introspection" +# Fixup gles backend: + +do_compile_prepend() { + for i in ${S}/clutter/cogl/gles/* ; do + sed -i -e s:CGL_NEAREST:COGL_TEXTURE_FILTER_NEAREST:g \ + -e s:CGL_LINEAR:iCOGL_TEXTURE_FILTER_LINEAR:g \ + -e s:CGL_VERTEX_SHADER:COGL_SHADER_TYPE_VERTEX:g \ + -e s:CGL_FRAGMENT_SHADER:COGL_SHADER_TYPE_FRAGMENT:g $i + done +} -- cgit v1.2.3