summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKoen Kooi <koen@openembedded.org>2009-06-01 17:30:47 +0200
committerKoen Kooi <koen@openembedded.org>2009-06-01 17:30:47 +0200
commit60c02fdf553db2e6847ae41ba6e5a881b40cd097 (patch)
treecda03c575fffdfe6c7ae22c0279c9f5db887ce83
parent05795ae1c61180f0fc7ac474c5f61640b1453a83 (diff)
clutter 0.9: fixup GLES backend
-rw-r--r--recipes/clutter/clutter-0.9_git.bb16
1 files changed, 14 insertions, 2 deletions
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
+}