From 42870b21740b4de888f62915d2422a0008ba45d0 Mon Sep 17 00:00:00 2001 From: Koen Kooi Date: Fri, 5 Jun 2009 13:42:53 +0200 Subject: clutter-0.9: fix build for gles2 --- recipes/clutter/clutter-0.9_git.bb | 17 +++++++---------- 1 file changed, 7 insertions(+), 10 deletions(-) (limited to 'recipes') diff --git a/recipes/clutter/clutter-0.9_git.bb b/recipes/clutter/clutter-0.9_git.bb index d0b7aa98ea..624ad6e3f1 100644 --- a/recipes/clutter/clutter-0.9_git.bb +++ b/recipes/clutter/clutter-0.9_git.bb @@ -1,24 +1,21 @@ require clutter.inc -SRCREV = "36cfb6030784791a4420a1e52a8c18d56b1d0c69" -#good: 20090512 08a73a215f2cf18abcfd7d93e8047583511497bd +SRCREV = "745ca8a62ca52eedfad850e556f160f36eb32953" PV = "0.9.3" +PR = "r1" PR_append = "+git${SRCREV}" -SRC_URI = "git://git.clutter-project.org/clutter.git;protocol=git;branch=master \ +SRC_URI = "git://git.clutter-project.org/clutter.git;protocol=git;branch=1.0-integration \ file://enable_tests.patch;patch=1 " 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 + for i in $(find ${S} -name Makefile) ; do + sed -i -e s:-Werror::g $i done + ( cd clutter/cogl/gles ; for i in *.glsl ; do sh stringify.sh -h $i ; done ) } + -- cgit v1.2.3