summaryrefslogtreecommitdiffstats
path: root/meta/packages/clutter
diff options
context:
space:
mode:
authorRobert Bradford <rob@openedhand.com>2008-03-04 17:58:55 +0000
committerRobert Bradford <rob@openedhand.com>2008-03-04 17:58:55 +0000
commit5b5e1a3afa79b0d1f9efa0da6807414ec18aeb7c (patch)
tree67d006b7e12d6e1154bfc44dbca2c3fd55f29a37 /meta/packages/clutter
parent73a457ecc6a09640f27d03010a8a329a48c05259 (diff)
downloadpoky-5b5e1a3afa79b0d1f9efa0da6807414ec18aeb7c.tar.gz
Spit out tidy-examples package with the tests in.
git-svn-id: https://svn.o-hand.com/repos/poky/trunk@3910 311d38ba-8fff-0310-9ca6-ca027cbcb966
Diffstat (limited to 'meta/packages/clutter')
-rw-r--r--meta/packages/clutter/tidy.inc3
-rw-r--r--meta/packages/clutter/tidy/tidy-enable-tests.patch20
-rw-r--r--meta/packages/clutter/tidy_svn.bb4
3 files changed, 26 insertions, 1 deletions
diff --git a/meta/packages/clutter/tidy.inc b/meta/packages/clutter/tidy.inc
index 1b11c7c400..c69166f938 100644
--- a/meta/packages/clutter/tidy.inc
+++ b/meta/packages/clutter/tidy.inc
@@ -10,6 +10,9 @@ EXTRA_OECONF = "${BASE_CONF}"
10 10
11inherit autotools pkgconfig 11inherit autotools pkgconfig
12 12
13PACKAGES =+ "tidy-examples"
14FILES_tidy-examples = "${bindir}/test-*"
15
13do_configure_prepend() { 16do_configure_prepend() {
14 touch ${S}/gtk-doc.make 17 touch ${S}/gtk-doc.make
15 sed -i s:docs/reference/Makefile::g ${S}/configure.ac 18 sed -i s:docs/reference/Makefile::g ${S}/configure.ac
diff --git a/meta/packages/clutter/tidy/tidy-enable-tests.patch b/meta/packages/clutter/tidy/tidy-enable-tests.patch
new file mode 100644
index 0000000000..c5e1660c54
--- /dev/null
+++ b/meta/packages/clutter/tidy/tidy-enable-tests.patch
@@ -0,0 +1,20 @@
1Index: 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/packages/clutter/tidy_svn.bb b/meta/packages/clutter/tidy_svn.bb
index ab66efae2e..c65adcbf04 100644
--- a/meta/packages/clutter/tidy_svn.bb
+++ b/meta/packages/clutter/tidy_svn.bb
@@ -1,8 +1,10 @@
1require tidy.inc 1require tidy.inc
2 2
3PV = "0.1.0+svnr${SRCREV}" 3PV = "0.1.0+svnr${SRCREV}"
4PR = "4"
4 5
5SRC_URI = "svn://svn.o-hand.com/repos/tidy;module=trunk;proto=http" 6SRC_URI = "svn://svn.o-hand.com/repos/tidy;module=trunk;proto=http \
7 file://tidy-enable-tests.patch;patch=1"
6 8
7S = "${WORKDIR}/trunk" 9S = "${WORKDIR}/trunk"
8 10