[oe-commits] Koen Kooi : clutter 0.9: fixup GLES backend

git version control git at git.openembedded.org
Mon Jun 1 16:37:37 UTC 2009


Module: openembedded.git
Branch: org.openembedded.dev
Commit: 60c02fdf553db2e6847ae41ba6e5a881b40cd097
URL:    http://gitweb.openembedded.net/?p=openembedded.git&a=commit;h=60c02fdf553db2e6847ae41ba6e5a881b40cd097

Author: Koen Kooi <koen at openembedded.org>
Date:   Mon Jun  1 17:30:47 2009 +0200

clutter 0.9: fixup GLES backend

---

 recipes/clutter/clutter-0.9_git.bb |   16 ++++++++++++++--
 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 a8b8a36..d0b7aa9 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
+}





More information about the Openembedded-commits mailing list