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
This commit is contained in:
Robert Bradford
2008-03-04 17:58:55 +00:00
parent 73a457ecc6
commit 5b5e1a3afa
3 changed files with 26 additions and 1 deletions

View 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

View File

@@ -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

View 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"