summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--meta/packages/clutter/tidy.inc18
-rw-r--r--meta/packages/clutter/tidy/autofoo.patch11
-rw-r--r--meta/packages/clutter/tidy_svn.bb8
3 files changed, 37 insertions, 0 deletions
diff --git a/meta/packages/clutter/tidy.inc b/meta/packages/clutter/tidy.inc
new file mode 100644
index 0000000000..1b11c7c400
--- /dev/null
+++ b/meta/packages/clutter/tidy.inc
@@ -0,0 +1,18 @@
+DESCRIPTION = "Tidy library"
+HOMEPAGE = "http://www.clutter-project.org/"
+LICENSE = "LGPL"
+
+STDDEPENDS = "clutter"
+BASE_CONF = "--disable-gtk-doc"
+
+DEPENDS = "${STDDEPENDS}"
+EXTRA_OECONF = "${BASE_CONF}"
+
+inherit autotools pkgconfig
+
+do_configure_prepend() {
+ touch ${S}/gtk-doc.make
+ sed -i s:docs/reference/Makefile::g ${S}/configure.ac
+ sed -i s:docs::g ${S}/Makefile.am
+}
+
diff --git a/meta/packages/clutter/tidy/autofoo.patch b/meta/packages/clutter/tidy/autofoo.patch
new file mode 100644
index 0000000000..7f54a3372a
--- /dev/null
+++ b/meta/packages/clutter/tidy/autofoo.patch
@@ -0,0 +1,11 @@
+Index: tidy/doc/reference/Makefile.am
+===================================================================
+--- tidy.orig/doc/reference/Makefile.am 2007-11-06 19:36:56.000000000 +0000
++++ tidy/doc/reference/Makefile.am 2007-11-06 19:37:02.000000000 +0000
+@@ -77,4 +77,4 @@ include $(top_srcdir)/gtk-doc.make
+
+ # Other files to distribute
+ # e.g. EXTRA_DIST += version.xml.in
+-EXTRA_DIST += version.xml.in
++EXTRA_DIST = version.xml.in
+
diff --git a/meta/packages/clutter/tidy_svn.bb b/meta/packages/clutter/tidy_svn.bb
new file mode 100644
index 0000000000..ab66efae2e
--- /dev/null
+++ b/meta/packages/clutter/tidy_svn.bb
@@ -0,0 +1,8 @@
+require tidy.inc
+
+PV = "0.1.0+svnr${SRCREV}"
+
+SRC_URI = "svn://svn.o-hand.com/repos/tidy;module=trunk;proto=http"
+
+S = "${WORKDIR}/trunk"
+