diff options
Diffstat (limited to 'meta-demoapps')
4 files changed, 64 insertions, 0 deletions
diff --git a/meta-demoapps/recipes-graphics/clutter/tidy.inc b/meta-demoapps/recipes-graphics/clutter/tidy.inc new file mode 100644 index 0000000000..13d6fc7686 --- /dev/null +++ b/meta-demoapps/recipes-graphics/clutter/tidy.inc | |||
| @@ -0,0 +1,20 @@ | |||
| 1 | DESCRIPTION = "Tidy library" | ||
| 2 | HOMEPAGE = "http://www.clutter-project.org/" | ||
| 3 | LICENSE = "LGPLv2.1+" | ||
| 4 | |||
| 5 | STDDEPENDS = "clutter-1.4" | ||
| 6 | BASE_CONF = "--disable-gtk-doc" | ||
| 7 | |||
| 8 | DEPENDS = "${STDDEPENDS}" | ||
| 9 | EXTRA_OECONF = "${BASE_CONF}" | ||
| 10 | |||
| 11 | inherit autotools pkgconfig | ||
| 12 | |||
| 13 | PACKAGES =+ "tidy-examples" | ||
| 14 | FILES_tidy-examples = "${bindir}/test-*" | ||
| 15 | |||
| 16 | do_configure_prepend() { | ||
| 17 | touch ${S}/gtk-doc.make | ||
| 18 | sed -i s:docs/reference/Makefile::g ${S}/configure.ac | ||
| 19 | sed -i s:docs::g ${S}/Makefile.am | ||
| 20 | } | ||
diff --git a/meta-demoapps/recipes-graphics/clutter/tidy/autofoo.patch b/meta-demoapps/recipes-graphics/clutter/tidy/autofoo.patch new file mode 100644 index 0000000000..7f54a3372a --- /dev/null +++ b/meta-demoapps/recipes-graphics/clutter/tidy/autofoo.patch | |||
| @@ -0,0 +1,11 @@ | |||
| 1 | Index: tidy/doc/reference/Makefile.am | ||
| 2 | =================================================================== | ||
| 3 | --- tidy.orig/doc/reference/Makefile.am 2007-11-06 19:36:56.000000000 +0000 | ||
| 4 | +++ tidy/doc/reference/Makefile.am 2007-11-06 19:37:02.000000000 +0000 | ||
| 5 | @@ -77,4 +77,4 @@ include $(top_srcdir)/gtk-doc.make | ||
| 6 | |||
| 7 | # Other files to distribute | ||
| 8 | # e.g. EXTRA_DIST += version.xml.in | ||
| 9 | -EXTRA_DIST += version.xml.in | ||
| 10 | +EXTRA_DIST = version.xml.in | ||
| 11 | |||
diff --git a/meta-demoapps/recipes-graphics/clutter/tidy/tidy-enable-tests.patch b/meta-demoapps/recipes-graphics/clutter/tidy/tidy-enable-tests.patch new file mode 100644 index 0000000000..c5e1660c54 --- /dev/null +++ b/meta-demoapps/recipes-graphics/clutter/tidy/tidy-enable-tests.patch | |||
| @@ -0,0 +1,20 @@ | |||
| 1 | Index: trunk/tests/Makefile.am | ||
| 2 | =================================================================== | ||
| 3 | --- trunk.orig/tests/Makefile.am 2008-03-04 12:22:10.000000000 +0000 | ||
| 4 | +++ trunk/tests/Makefile.am 2008-03-04 12:23:46.000000000 +0000 | ||
| 5 | @@ -1,4 +1,4 @@ | ||
| 6 | -noinst_PROGRAMS = \ | ||
| 7 | +bin_PROGRAMS = \ | ||
| 8 | test-button \ | ||
| 9 | test-finger-scroll \ | ||
| 10 | test-list-view \ | ||
| 11 | @@ -14,6 +14,9 @@ | ||
| 12 | test-grow \ | ||
| 13 | test-viewport | ||
| 14 | |||
| 15 | +test_texture_framedir = $(pkgdatadir) | ||
| 16 | +test_texture_frame_DATA = frame.png | ||
| 17 | + | ||
| 18 | INCLUDES = -I$(top_srcdir) | ||
| 19 | LDADD = $(top_builddir)/tidy/libtidy-1.0.la | ||
| 20 | |||
diff --git a/meta-demoapps/recipes-graphics/clutter/tidy_git.bb b/meta-demoapps/recipes-graphics/clutter/tidy_git.bb new file mode 100644 index 0000000000..222ac6e9d1 --- /dev/null +++ b/meta-demoapps/recipes-graphics/clutter/tidy_git.bb | |||
| @@ -0,0 +1,13 @@ | |||
| 1 | require tidy.inc | ||
| 2 | |||
| 3 | LIC_FILES_CHKSUM = "file://COPYING;md5=7fbc338309ac38fefcd64b04bb903e34 \ | ||
| 4 | file://tidy/tidy.h;endline=21;md5=ac342e7aac55849bf0755d79967fa3e8" | ||
| 5 | |||
| 6 | PV = "0.1.0+git${SRCPV}" | ||
| 7 | PR = "r7" | ||
| 8 | |||
| 9 | SRC_URI = "git://git.clutter-project.org/tidy.git;protocol=git \ | ||
| 10 | file://tidy-enable-tests.patch;patch=1" | ||
| 11 | |||
| 12 | S = "${WORKDIR}/git" | ||
| 13 | |||
