From 8ef8bc7398b74898b44c8641345bd34931f17c88 Mon Sep 17 00:00:00 2001 From: Robert Bradford Date: Tue, 4 Mar 2008 11:17:27 +0000 Subject: Add Tidy. git-svn-id: https://svn.o-hand.com/repos/poky/trunk@3898 311d38ba-8fff-0310-9ca6-ca027cbcb966 --- meta/packages/clutter/tidy.inc | 18 ++++++++++++++++++ meta/packages/clutter/tidy/autofoo.patch | 11 +++++++++++ meta/packages/clutter/tidy_svn.bb | 8 ++++++++ 3 files changed, 37 insertions(+) create mode 100644 meta/packages/clutter/tidy.inc create mode 100644 meta/packages/clutter/tidy/autofoo.patch create mode 100644 meta/packages/clutter/tidy_svn.bb (limited to 'meta') diff --git a/meta/packages/clutter/tidy.inc b/meta/packages/clutter/tidy.inc new file mode 100644 index 000000000..1b11c7c40 --- /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 000000000..7f54a3372 --- /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 000000000..ab66efae2 --- /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" + -- cgit v1.2.3