--- /dev/null
+
+def get_clutter_fpu_setting(bb, d):
+ if bb.data.getVar('TARGET_FPU', d, 1) in [ 'soft' ]:
+ return "--without-fpu"
+ return ""
+
--- /dev/null
+DESCRIPTION = "Clutter graphics library"
+HOMEPAGE = "http://www.clutter-project.org/"
+LICENSE = "LGPL"
+
+DEPENDS = "virtual/libx11 mesa gstreamer gtk-doc cairo pango gtk+"
+
+inherit autotools pkgconfig
+
+EXTRA_OECONF = "--disable-gtk-doc "
+
+#check for TARGET_FPU=soft and inform configure of the result so it can disable some floating points
+require clutter-fpu.inc
+
+EXTRA_OECONF += "${@get_clutter_fpu_setting(bb, d)}"
+
+#Fix up some weirdness in the docs
+do_configure_prepend() {
+ touch ${S}/gtk-doc.make
+ sed -i s:doc/reference/Makefile::g ${S}/configure.ac
+ sed -i s:doc::g ${S}/Makefile.am
+}
+
+do_stage () {
+ autotools_stage_all
+}
+
--- /dev/null
+require clutter.inc
+
+PV = "0.2.0+svn${SRCDATE}"
+
+SRC_URI = "svn://svn.o-hand.com/repos/clutter/trunk;module=clutter;proto=http"
+
+S = "${WORKDIR}/clutter"
+
+