summaryrefslogtreecommitdiff
path: root/meta/packages
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
parent73a457ecc6a09640f27d03010a8a329a48c05259 (diff)
downloadopenembedded-core-5b5e1a3afa79b0d1f9efa0da6807414ec18aeb7c.tar.gz
openembedded-core-5b5e1a3afa79b0d1f9efa0da6807414ec18aeb7c.tar.bz2
openembedded-core-5b5e1a3afa79b0d1f9efa0da6807414ec18aeb7c.zip
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')
-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}"
inherit autotools pkgconfig
+PACKAGES =+ "tidy-examples"
+FILES_tidy-examples = "${bindir}/test-*"
+
do_configure_prepend() {
touch ${S}/gtk-doc.make
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 @@
+Index: trunk/tests/Makefile.am
+===================================================================
+--- trunk.orig/tests/Makefile.am 2008-03-04 12:22:10.000000000 +0000
++++ trunk/tests/Makefile.am 2008-03-04 12:23:46.000000000 +0000
+@@ -1,4 +1,4 @@
+-noinst_PROGRAMS = \
++bin_PROGRAMS = \
+ test-button \
+ test-finger-scroll \
+ test-list-view \
+@@ -14,6 +14,9 @@
+ test-grow \
+ test-viewport
+
++test_texture_framedir = $(pkgdatadir)
++test_texture_frame_DATA = frame.png
++
+ INCLUDES = -I$(top_srcdir)
+ LDADD = $(top_builddir)/tidy/libtidy-1.0.la
+
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 @@
require tidy.inc
PV = "0.1.0+svnr${SRCREV}"
+PR = "4"
-SRC_URI = "svn://svn.o-hand.com/repos/tidy;module=trunk;proto=http"
+SRC_URI = "svn://svn.o-hand.com/repos/tidy;module=trunk;proto=http \
+ file://tidy-enable-tests.patch;patch=1"
S = "${WORKDIR}/trunk"