summaryrefslogtreecommitdiffstats
path: root/meta/packages/tslib/tslib_1.0.bb
diff options
context:
space:
mode:
authorRichard Purdie <richard@openedhand.com>2006-11-21 09:58:11 +0000
committerRichard Purdie <richard@openedhand.com>2006-11-21 09:58:11 +0000
commitc24ce903757193dd686ce2f6614ee548d919646a (patch)
treea7548c1854ef15655d28de430eca4de92b7f5b57 /meta/packages/tslib/tslib_1.0.bb
parentc0d040f1e7656d13c098474cc13c44683a742391 (diff)
downloadpoky-c24ce903757193dd686ce2f6614ee548d919646a.tar.gz
tslib: Sync major cleanup I made in OE.dev
git-svn-id: https://svn.o-hand.com/repos/poky/trunk@898 311d38ba-8fff-0310-9ca6-ca027cbcb966
Diffstat (limited to 'meta/packages/tslib/tslib_1.0.bb')
-rw-r--r--meta/packages/tslib/tslib_1.0.bb83
1 files changed, 45 insertions, 38 deletions
diff --git a/meta/packages/tslib/tslib_1.0.bb b/meta/packages/tslib/tslib_1.0.bb
index f63a8ddc7a..5e5f61cb35 100644
--- a/meta/packages/tslib/tslib_1.0.bb
+++ b/meta/packages/tslib/tslib_1.0.bb
@@ -1,35 +1,31 @@
1DESCRIPTION = "tslib is a plugin-based flexible touchscreen access library."
2HOMEPAGE = "http://cvs.arm.linux.org.uk/"
3AUTHOR = "Russell King w/ plugins by Chris Larson et. al."
1SECTION = "base" 4SECTION = "base"
2DESCRIPTION = "tslib is a touchscreen access library." 5LICENSE = "LGPL"
3PR = "r3"
4SRCDATE_tslib = "now"
5 6
6SRC_URI_OVERRIDES_PACKAGE_ARCH = "0" 7PR = "r3"
7PACKAGE_ARCH_tslib-conf = "${MACHINE_ARCH}"
8PACKAGE_ARCH_mnci = "${MACHINE_ARCH}"
9 8
10SRC_URI = "svn://svn.berlios.de/svnroot/repos/tslib/tags/tslib;module=${PV};proto=http \ 9SRC_URI = "http://download.berlios.de/tslib/tslib-1.0.tar.bz2 \
11 file://ts.conf file://ts-2.6.conf \ 10 file://ts.conf \
12 file://ts.conf-h3600-2.4 file://ts.conf-simpad-2.4 \ 11 file://ts.conf-h3600-2.4 \
13 file://ts.conf-corgi-2.4 file://ts.conf-collie-2.4 \ 12 file://ts.conf-simpad-2.4 \
14 file://tslib.sh" 13 file://ts.conf-corgi-2.4 \
14 file://ts.conf-collie-2.4 \
15 file://tslib.sh"
15SRC_URI_append_mnci += " file://devfs.patch;patch=1" 16SRC_URI_append_mnci += " file://devfs.patch;patch=1"
16SRC_URI_append_mnci += " file://event1.patch;patch=1" 17SRC_URI_append_mnci += " file://event1.patch;patch=1"
17S = "${WORKDIR}/${PV}"
18LICENSE = "LGPL"
19CONFFILES_${PN} = "${sysconfdir}/ts.conf"
20 18
21inherit autotools pkgconfig 19inherit autotools pkgconfig
22 20
23PACKAGES = "tslib-conf libts libts-dev tslib-tests tslib-calibrate"
24EXTRA_OECONF = "--enable-shared" 21EXTRA_OECONF = "--enable-shared"
25EXTRA_OECONF_mnci = "--enable-shared --disable-h3600 --enable-input --disable-corgi --disable-collie --disable-mk712 --disable-arctic2 --disable-ucb1x00 " 22EXTRA_OECONF_mnci = "--enable-shared --disable-h3600 --enable-input --disable-corgi --disable-collie --disable-mk712 --disable-arctic2 --disable-ucb1x00 "
26EXTRA_OECONF_beagle = "--enable-shared --enable-h3600 --disable-input --disable-corgi --disable-collie --disable-mk712 --disable-arctic2 --disable-ucb1x00 "
27 23
28do_stage () { 24do_stage() {
29autotools_stage_all 25 autotools_stage_all
30} 26}
31 27
32do_install_prepend () { 28do_install_prepend() {
33 install -m 0644 ${WORKDIR}/ts.conf ${S}/etc/ts.conf 29 install -m 0644 ${WORKDIR}/ts.conf ${S}/etc/ts.conf
34} 30}
35 31
@@ -37,44 +33,55 @@ do_install_append() {
37 install -d ${D}${sysconfdir}/profile.d/ 33 install -d ${D}${sysconfdir}/profile.d/
38 install -m 0755 ${WORKDIR}/tslib.sh ${D}${sysconfdir}/profile.d/ 34 install -m 0755 ${WORKDIR}/tslib.sh ${D}${sysconfdir}/profile.d/
39 case ${MACHINE} in 35 case ${MACHINE} in
40 h3600 | h3900 | h1940 | h6300 | h2200 | ipaq-pxa270 | blueangel) 36 a780 | e680 | h3600 | h3900 | h5xxx | h1940 | h6300 | h2200 | ipaq-pxa270 | hx4700 | hx2000 | blueangel | h4000)
41 install -d ${D}${datadir}/tslib 37 install -d ${D}${datadir}/tslib
42 for f in ts-2.6.conf ts.conf-h3600-2.4; do 38 install -m 0644 ${WORKDIR}/ts.conf-h3600-2.4 ${D}${datadir}/tslib/
43 install -m 0644 ${WORKDIR}/$f ${D}${datadir}/tslib/
44 done
45 rm -f ${D}${sysconfdir}/ts.conf
46 ;; 39 ;;
47 c7x0 | spitz | akita | tosa ) 40 c7x0 | spitz | akita | tosa )
48 install -d ${D}${datadir}/tslib 41 install -d ${D}${datadir}/tslib
49 for f in ts-2.6.conf ts.conf-corgi-2.4; do 42 install -m 0644 ${WORKDIR}/ts.conf-corgi-2.4 ${D}${datadir}/tslib/
50 install -m 0644 ${WORKDIR}/$f ${D}${datadir}/tslib/
51 done
52 rm -f ${D}${sysconfdir}/ts.conf
53 ;; 43 ;;
54 collie | poodle ) 44 collie | poodle )
55 install -d ${D}${datadir}/tslib 45 install -d ${D}${datadir}/tslib
56 for f in ts-2.6.conf ts.conf-collie-2.4; do 46 install -m 0644 ${WORKDIR}/ts.conf-collie-2.4 ${D}${datadir}/tslib/
57 install -m 0644 ${WORKDIR}/$f ${D}${datadir}/tslib/
58 done
59 rm -f ${D}${sysconfdir}/ts.conf
60 ;; 47 ;;
61 48
62 simpad ) 49 simpad )
63 install -d ${D}${datadir}/tslib 50 install -d ${D}${datadir}/tslib
64 for f in ts-2.6.conf ts.conf-simpad-2.4; do 51 install -m 0644 ${WORKDIR}/ts.conf-simpad-2.4 ${D}${datadir}/tslib/
65 install -m 0644 ${WORKDIR}/$f ${D}${datadir}/tslib/
66 done
67 rm -f ${D}${sysconfdir}/ts.conf
68 ;; 52 ;;
69 *) 53 *)
70 ;; 54 ;;
71 esac 55 esac
72} 56}
73 57
74RDEPENDS_libts = "tslib-conf" 58SRC_URI_OVERRIDES_PACKAGE_ARCH = "0"
59
60# People should consider using udev's /dev/input/touchscreen0 symlink
61# instead of detect-stylus
62RDEPENDS_tslib-conf_h1940 = "detect-stylus"
63RDEPENDS_tslib-conf_h3600 = "detect-stylus"
64RDEPENDS_tslib-conf_h3900 = "detect-stylus"
65RDEPENDS_tslib-conf_h6300 = "detect-stylus"
66RDEPENDS_tslib-conf_blueangel = "detect-stylus"
67RDEPENDS_tslib-conf_htcuniversal = "detect-stylus"
68RDEPENDS_tslib-conf_h4000 = "detect-stylus"
69RPROVIDES_tslib-conf = "libts-0.0-conf"
70
71PACKAGE_ARCH_tslib-conf = "${MACHINE_ARCH}"
72PACKAGE_ARCH_mnci = "${MACHINE_ARCH}"
73
74PACKAGES =+ "tslib-conf libts-dev tslib-tests tslib-calibrate"
75DEBIAN_NOAUTONAME_tslib-conf = "1"
76DEBIAN_NOAUTONAME_tslib-tests = "1"
77DEBIAN_NOAUTONAME_tslib-calibrate = "1"
78
79RDEPENDS_${PN} = "tslib-conf"
80
75 81
82FILES_${PN}-dbg += "${libdir}/ts/.debug*"
76FILES_tslib-conf = "${sysconfdir}/ts.conf ${sysconfdir}/profile.d/tslib.sh ${datadir}/tslib" 83FILES_tslib-conf = "${sysconfdir}/ts.conf ${sysconfdir}/profile.d/tslib.sh ${datadir}/tslib"
77FILES_libts = "${libdir}/*.so.* ${libdir}/ts/*.so*" 84FILES_${PN} = "${libdir}/*.so.* ${libdir}/ts/*.so*"
78FILES_libts-dev = "${FILES_tslib-dev}" 85FILES_libts-dev = "${FILES_tslib-dev}"
79FILES_tslib-calibrate += "${bindir}/ts_calibrate" 86FILES_tslib-calibrate += "${bindir}/ts_calibrate"
80FILES_tslib-tests = "${bindir}/ts_harvest ${bindir}/ts_print ${bindir}/ts_print_raw ${bindir}/ts_test" 87FILES_tslib-tests = "${bindir}/ts_harvest ${bindir}/ts_print ${bindir}/ts_print_raw ${bindir}/ts_test"