]> code.ossystems Code Review - openembedded-core.git/commitdiff
Spit out tidy-examples package with the tests in.
authorRobert Bradford <rob@openedhand.com>
Tue, 4 Mar 2008 17:58:55 +0000 (17:58 +0000)
committerRobert Bradford <rob@openedhand.com>
Tue, 4 Mar 2008 17:58:55 +0000 (17:58 +0000)
git-svn-id: https://svn.o-hand.com/repos/poky/trunk@3910 311d38ba-8fff-0310-9ca6-ca027cbcb966

meta/packages/clutter/tidy.inc
meta/packages/clutter/tidy/tidy-enable-tests.patch [new file with mode: 0644]
meta/packages/clutter/tidy_svn.bb

index 1b11c7c40006269c2019c87c709b40564103257a..c69166f938846a424306de43ee01fb4394182034 100644 (file)
@@ -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 (file)
index 0000000..c5e1660
--- /dev/null
@@ -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
index ab66efae2ea9967ffdfe163b436d663cbd0bd8ec..c65adcbf04acd91b0142051e7b3afa96797e2728 100644 (file)
@@ -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"