summaryrefslogtreecommitdiff
path: root/packages/tslib/tslib_1.0.bb
diff options
context:
space:
mode:
authorRichard Purdie <rpurdie@rpsys.net>2006-11-05 21:05:06 +0000
committerRichard Purdie <rpurdie@rpsys.net>2006-11-05 21:05:06 +0000
commitcb60a1e83ae539a0393efce7dbbbfac44b5cc03e (patch)
tree139c9c9dc4ee67aca031ec7bac9a6dbb6499a040 /packages/tslib/tslib_1.0.bb
parentb2d969c3b332e2b1cc0168cb525fa96f3a82c33d (diff)
tslib: General cleanup - Turn ts-2.6.conf into the standard ts.conf, remove TSLIB_TSEVENTTYPE as it doesn't do anything, remove old module_id() macros, fix h2200 and h5xxx so they don't need detect-stylus, remove duplicate ts.conf files, remove old fixed date tslib version
Diffstat (limited to 'packages/tslib/tslib_1.0.bb')
-rw-r--r--packages/tslib/tslib_1.0.bb25
1 files changed, 7 insertions, 18 deletions
diff --git a/packages/tslib/tslib_1.0.bb b/packages/tslib/tslib_1.0.bb
index 41ee7c1417..afb0202262 100644
--- a/packages/tslib/tslib_1.0.bb
+++ b/packages/tslib/tslib_1.0.bb
@@ -4,11 +4,10 @@ AUTHOR = "Russell King w/ plugins by Chris Larson et. al."
SECTION = "base"
LICENSE = "LGPL"
-PR = "r1"
+PR = "r2"
SRC_URI = "http://download.berlios.de/tslib/tslib-1.0.tar.bz2 \
file://ts.conf \
- file://ts-2.6.conf \
file://ts.conf-h3600-2.4 \
file://ts.conf-simpad-2.4 \
file://ts.conf-corgi-2.4 \
@@ -36,32 +35,20 @@ do_install_append() {
case ${MACHINE} in
a780 | e680 | h3600 | h3900 | h5xxx | h1940 | h6300 | h2200 | ipaq-pxa270 | hx4700 | hx2000 |blueangel | h4000)
install -d ${D}${datadir}/tslib
- for f in ts-2.6.conf ts.conf-h3600-2.4; do
- install -m 0644 ${WORKDIR}/$f ${D}${datadir}/tslib/
- done
- rm -f ${D}${sysconfdir}/ts.conf
+ install -m 0644 ${WORKDIR}/ts.conf-h3600-2.4 ${D}${datadir}/tslib/
;;
c7x0 | spitz | akita | tosa )
install -d ${D}${datadir}/tslib
- for f in ts-2.6.conf ts.conf-corgi-2.4; do
- install -m 0644 ${WORKDIR}/$f ${D}${datadir}/tslib/
- done
- rm -f ${D}${sysconfdir}/ts.conf
+ install -m 0644 ${WORKDIR}/ts.conf-corgi-2.4 ${D}${datadir}/tslib/
;;
collie | poodle )
install -d ${D}${datadir}/tslib
- for f in ts-2.6.conf ts.conf-collie-2.4; do
- install -m 0644 ${WORKDIR}/$f ${D}${datadir}/tslib/
- done
- rm -f ${D}${sysconfdir}/ts.conf
+ install -m 0644 ${WORKDIR}/ts.conf-collie-2.4 ${D}${datadir}/tslib/
;;
simpad )
install -d ${D}${datadir}/tslib
- for f in ts-2.6.conf ts.conf-simpad-2.4; do
- install -m 0644 ${WORKDIR}/$f ${D}${datadir}/tslib/
- done
- rm -f ${D}${sysconfdir}/ts.conf
+ install -m 0644 ${WORKDIR}/ts.conf-simpad-2.4 ${D}${datadir}/tslib/
;;
*)
;;
@@ -70,6 +57,8 @@ do_install_append() {
SRC_URI_OVERRIDES_PACKAGE_ARCH = "0"
+# People should consider using udev's /dev/input/touchscreen0 symlink
+# instead of detect-stylus
RDEPENDS_tslib-conf_h1940 = "detect-stylus"
RDEPENDS_tslib-conf_h3600 = "detect-stylus"
RDEPENDS_tslib-conf_h3900 = "detect-stylus"