summaryrefslogtreecommitdiff
path: root/packages/clutter
diff options
context:
space:
mode:
authorKoen Kooi <koen@openembedded.org>2007-01-19 21:47:29 +0000
committerKoen Kooi <koen@openembedded.org>2007-01-19 21:47:29 +0000
commit18d709ecc5d28f6021f6cefc49b74a352b81950a (patch)
treeb3561a8420036f4934960161d49811b30e9923a4 /packages/clutter
parent614093d0517d9d49aa279d8f3fdccdc4c3d2b1c5 (diff)
clutter: add the o-hand eyecandy thingy from http://www.clutter-project.org/
Diffstat (limited to 'packages/clutter')
-rw-r--r--packages/clutter/.mtn2git_empty0
-rw-r--r--packages/clutter/clutter-fpu.inc6
-rw-r--r--packages/clutter/clutter.inc26
-rw-r--r--packages/clutter/clutter_svn.bb9
4 files changed, 41 insertions, 0 deletions
diff --git a/packages/clutter/.mtn2git_empty b/packages/clutter/.mtn2git_empty
new file mode 100644
index 0000000000..e69de29bb2
--- /dev/null
+++ b/packages/clutter/.mtn2git_empty
diff --git a/packages/clutter/clutter-fpu.inc b/packages/clutter/clutter-fpu.inc
new file mode 100644
index 0000000000..21a16feac2
--- /dev/null
+++ b/packages/clutter/clutter-fpu.inc
@@ -0,0 +1,6 @@
+
+def get_clutter_fpu_setting(bb, d):
+ if bb.data.getVar('TARGET_FPU', d, 1) in [ 'soft' ]:
+ return "--without-fpu"
+ return ""
+
diff --git a/packages/clutter/clutter.inc b/packages/clutter/clutter.inc
new file mode 100644
index 0000000000..b89070f3ea
--- /dev/null
+++ b/packages/clutter/clutter.inc
@@ -0,0 +1,26 @@
+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
+}
+
diff --git a/packages/clutter/clutter_svn.bb b/packages/clutter/clutter_svn.bb
new file mode 100644
index 0000000000..9939221d8d
--- /dev/null
+++ b/packages/clutter/clutter_svn.bb
@@ -0,0 +1,9 @@
+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"
+
+