summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--tslib/tslib/ramses/ts.conf0
-rw-r--r--tslib/tslib_cvs.oe18
2 files changed, 11 insertions, 7 deletions
diff --git a/tslib/tslib/ramses/ts.conf b/tslib/tslib/ramses/ts.conf
new file mode 100644
index 0000000000..e69de29bb2
--- /dev/null
+++ b/tslib/tslib/ramses/ts.conf
diff --git a/tslib/tslib_cvs.oe b/tslib/tslib_cvs.oe
index cf1c83b6e2..6b735fd441 100644
--- a/tslib/tslib_cvs.oe
+++ b/tslib/tslib_cvs.oe
@@ -1,20 +1,21 @@
+DESCRIPTION = "tslib is a touchscreen access library."
PV = "0.0cvs${CVSDATE}"
PR = "r4"
-DESCRIPTION = "tslib is a touchscreen access library."
-
-CONFFILES_${PN} = "${sysconfdir}/ts.conf"
-
-# SRC_URI = "cvs://anoncvs:anoncvs@cvs.handhelds.org/cvs;module=apps/tslib
-# file://ev_syn.patch;patch=1
SRC_URI = "cvs://cvs:@pubcvs.arm.linux.org.uk/mnt/src/cvsroot;module=tslib \
file://ts.conf \
file://tslib.sh"
+SRC_URI_append_ramses += " file://devfs.patch;patch=1"
+SRC_URI_append_ramses += " file://event1.patch;patch=1"
S = "${WORKDIR}/tslib"
+CONFFILES_${PN} = "${sysconfdir}/ts.conf"
+
inherit autotools
+PACKAGES += "tslib-tests"
EXTRA_OECONF = "--enable-shared"
+EXTRA_OECONF_append_ramses = " --enable-input --disable-ucb1x00 --disable-corgi --disable-collie --disable-h3600 --disable-mk712 --disable-arctic2"
do_stage () {
oe_libinstall -so -C src libts-0.0 ${STAGING_LIBDIR}
@@ -32,4 +33,7 @@ do_install_append() {
install -m 0755 ${WORKDIR}/tslib.sh ${D}/${sysconfdir}/profile.d/
}
-FILES_${PN} += " ${libdir}/ts/*.so ${datadir}/ts/plugins/*.so"
+FILES_${PN} = "${sysconfdir}/ts.conf ${sysconfdir}/profile.d/tslib.sh "
+FILES_${PN} += "${bindir}/ts_calibrate"
+FILES_${PN} += "${libdir}/*.so* ${libdir}/ts/*.so"
+FILES_tslib-tests = "${bindir}/ts_harvest ${bindir}/ts_print ${bindir}/ts_print_raw ${bindir}/ts_test"