diff options
author | Richard Purdie <richard@openedhand.com> | 2006-11-21 09:58:11 +0000 |
---|---|---|
committer | Richard Purdie <richard@openedhand.com> | 2006-11-21 09:58:11 +0000 |
commit | c24ce903757193dd686ce2f6614ee548d919646a (patch) | |
tree | a7548c1854ef15655d28de430eca4de92b7f5b57 /meta/packages/tslib/tslib_1.0.bb | |
parent | c0d040f1e7656d13c098474cc13c44683a742391 (diff) | |
download | poky-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.bb | 83 |
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 @@ | |||
1 | DESCRIPTION = "tslib is a plugin-based flexible touchscreen access library." | ||
2 | HOMEPAGE = "http://cvs.arm.linux.org.uk/" | ||
3 | AUTHOR = "Russell King w/ plugins by Chris Larson et. al." | ||
1 | SECTION = "base" | 4 | SECTION = "base" |
2 | DESCRIPTION = "tslib is a touchscreen access library." | 5 | LICENSE = "LGPL" |
3 | PR = "r3" | ||
4 | SRCDATE_tslib = "now" | ||
5 | 6 | ||
6 | SRC_URI_OVERRIDES_PACKAGE_ARCH = "0" | 7 | PR = "r3" |
7 | PACKAGE_ARCH_tslib-conf = "${MACHINE_ARCH}" | ||
8 | PACKAGE_ARCH_mnci = "${MACHINE_ARCH}" | ||
9 | 8 | ||
10 | SRC_URI = "svn://svn.berlios.de/svnroot/repos/tslib/tags/tslib;module=${PV};proto=http \ | 9 | SRC_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" | ||
15 | SRC_URI_append_mnci += " file://devfs.patch;patch=1" | 16 | SRC_URI_append_mnci += " file://devfs.patch;patch=1" |
16 | SRC_URI_append_mnci += " file://event1.patch;patch=1" | 17 | SRC_URI_append_mnci += " file://event1.patch;patch=1" |
17 | S = "${WORKDIR}/${PV}" | ||
18 | LICENSE = "LGPL" | ||
19 | CONFFILES_${PN} = "${sysconfdir}/ts.conf" | ||
20 | 18 | ||
21 | inherit autotools pkgconfig | 19 | inherit autotools pkgconfig |
22 | 20 | ||
23 | PACKAGES = "tslib-conf libts libts-dev tslib-tests tslib-calibrate" | ||
24 | EXTRA_OECONF = "--enable-shared" | 21 | EXTRA_OECONF = "--enable-shared" |
25 | EXTRA_OECONF_mnci = "--enable-shared --disable-h3600 --enable-input --disable-corgi --disable-collie --disable-mk712 --disable-arctic2 --disable-ucb1x00 " | 22 | EXTRA_OECONF_mnci = "--enable-shared --disable-h3600 --enable-input --disable-corgi --disable-collie --disable-mk712 --disable-arctic2 --disable-ucb1x00 " |
26 | EXTRA_OECONF_beagle = "--enable-shared --enable-h3600 --disable-input --disable-corgi --disable-collie --disable-mk712 --disable-arctic2 --disable-ucb1x00 " | ||
27 | 23 | ||
28 | do_stage () { | 24 | do_stage() { |
29 | autotools_stage_all | 25 | autotools_stage_all |
30 | } | 26 | } |
31 | 27 | ||
32 | do_install_prepend () { | 28 | do_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 | ||
74 | RDEPENDS_libts = "tslib-conf" | 58 | SRC_URI_OVERRIDES_PACKAGE_ARCH = "0" |
59 | |||
60 | # People should consider using udev's /dev/input/touchscreen0 symlink | ||
61 | # instead of detect-stylus | ||
62 | RDEPENDS_tslib-conf_h1940 = "detect-stylus" | ||
63 | RDEPENDS_tslib-conf_h3600 = "detect-stylus" | ||
64 | RDEPENDS_tslib-conf_h3900 = "detect-stylus" | ||
65 | RDEPENDS_tslib-conf_h6300 = "detect-stylus" | ||
66 | RDEPENDS_tslib-conf_blueangel = "detect-stylus" | ||
67 | RDEPENDS_tslib-conf_htcuniversal = "detect-stylus" | ||
68 | RDEPENDS_tslib-conf_h4000 = "detect-stylus" | ||
69 | RPROVIDES_tslib-conf = "libts-0.0-conf" | ||
70 | |||
71 | PACKAGE_ARCH_tslib-conf = "${MACHINE_ARCH}" | ||
72 | PACKAGE_ARCH_mnci = "${MACHINE_ARCH}" | ||
73 | |||
74 | PACKAGES =+ "tslib-conf libts-dev tslib-tests tslib-calibrate" | ||
75 | DEBIAN_NOAUTONAME_tslib-conf = "1" | ||
76 | DEBIAN_NOAUTONAME_tslib-tests = "1" | ||
77 | DEBIAN_NOAUTONAME_tslib-calibrate = "1" | ||
78 | |||
79 | RDEPENDS_${PN} = "tslib-conf" | ||
80 | |||
75 | 81 | ||
82 | FILES_${PN}-dbg += "${libdir}/ts/.debug*" | ||
76 | FILES_tslib-conf = "${sysconfdir}/ts.conf ${sysconfdir}/profile.d/tslib.sh ${datadir}/tslib" | 83 | FILES_tslib-conf = "${sysconfdir}/ts.conf ${sysconfdir}/profile.d/tslib.sh ${datadir}/tslib" |
77 | FILES_libts = "${libdir}/*.so.* ${libdir}/ts/*.so*" | 84 | FILES_${PN} = "${libdir}/*.so.* ${libdir}/ts/*.so*" |
78 | FILES_libts-dev = "${FILES_tslib-dev}" | 85 | FILES_libts-dev = "${FILES_tslib-dev}" |
79 | FILES_tslib-calibrate += "${bindir}/ts_calibrate" | 86 | FILES_tslib-calibrate += "${bindir}/ts_calibrate" |
80 | FILES_tslib-tests = "${bindir}/ts_harvest ${bindir}/ts_print ${bindir}/ts_print_raw ${bindir}/ts_test" | 87 | FILES_tslib-tests = "${bindir}/ts_harvest ${bindir}/ts_print ${bindir}/ts_print_raw ${bindir}/ts_test" |