2014-02-19 15:13:54 +00:00
|
|
|
SUMMARY = "An abstraction layer for touchscreen panel events"
|
2011-02-02 14:43:42 +00:00
|
|
|
DESCRIPTION = "Tslib is an abstraction layer for touchscreen panel \
|
|
|
|
events, as well as a filter stack for the manipulation of those events. \
|
|
|
|
Tslib is generally used on embedded devices to provide a common user \
|
|
|
|
space interface to touchscreen functionality."
|
2007-01-29 15:43:20 +00:00
|
|
|
HOMEPAGE = "http://tslib.berlios.de/"
|
2010-06-18 06:33:07 +00:00
|
|
|
|
2006-11-21 09:58:11 +00:00
|
|
|
AUTHOR = "Russell King w/ plugins by Chris Larson et. al."
|
2006-08-16 22:03:00 +00:00
|
|
|
SECTION = "base"
|
2010-06-18 06:33:07 +00:00
|
|
|
LICENSE = "LGPLv2"
|
|
|
|
LIC_FILES_CHKSUM = "file://COPYING;md5=f30a9716ef3762e3467a2f62bf790f0a"
|
2006-08-16 22:03:00 +00:00
|
|
|
|
2013-08-16 13:33:12 +00:00
|
|
|
SRC_URI = "https://github.com/kergoth/tslib/releases/download/${PV}/tslib-${PV}.tar.xz;downloadfilename=tslib-${PV}.tar.xz \
|
2006-11-21 09:58:11 +00:00
|
|
|
file://ts.conf \
|
2011-11-17 11:03:21 +00:00
|
|
|
file://tslib.sh \
|
2013-01-10 09:58:18 +00:00
|
|
|
"
|
2010-12-08 04:06:29 +00:00
|
|
|
|
2013-08-16 13:33:12 +00:00
|
|
|
SRC_URI[md5sum] = "14771f8607b341bb4b297819d37e837d"
|
|
|
|
SRC_URI[sha256sum] = "fe35e5f710ea933b118f710e2ce4403ac076fe69926b570333867d4de082a51c"
|
2010-10-27 15:03:17 +00:00
|
|
|
|
2006-08-16 22:03:00 +00:00
|
|
|
|
2010-04-26 16:41:05 +00:00
|
|
|
inherit autotools pkgconfig
|
2006-08-16 22:03:00 +00:00
|
|
|
|
2008-08-03 13:21:53 +00:00
|
|
|
EXTRA_OECONF = "--enable-shared --disable-h3600 --enable-input --disable-corgi --disable-collie --disable-mk712 --disable-arctic2 --disable-ucb1x00"
|
2006-08-16 22:03:00 +00:00
|
|
|
|
2006-11-21 09:58:11 +00:00
|
|
|
do_install_prepend() {
|
2006-08-16 22:03:00 +00:00
|
|
|
install -m 0644 ${WORKDIR}/ts.conf ${S}/etc/ts.conf
|
|
|
|
}
|
|
|
|
|
|
|
|
do_install_append() {
|
|
|
|
install -d ${D}${sysconfdir}/profile.d/
|
|
|
|
install -m 0755 ${WORKDIR}/tslib.sh ${D}${sysconfdir}/profile.d/
|
|
|
|
}
|
|
|
|
|
2007-01-29 15:43:20 +00:00
|
|
|
# People should consider using udev's /dev/input/touchscreen0 symlink
|
2006-11-21 09:58:11 +00:00
|
|
|
# instead of detect-stylus
|
2007-01-29 15:43:20 +00:00
|
|
|
#RDEPENDS_tslib-conf_weird-machine = "detect-stylus"
|
2006-11-21 09:58:11 +00:00
|
|
|
RPROVIDES_tslib-conf = "libts-0.0-conf"
|
|
|
|
|
2008-07-25 13:26:55 +00:00
|
|
|
PACKAGES =+ "tslib-conf tslib-tests tslib-calibrate"
|
2006-11-21 09:58:11 +00:00
|
|
|
DEBIAN_NOAUTONAME_tslib-conf = "1"
|
|
|
|
DEBIAN_NOAUTONAME_tslib-tests = "1"
|
|
|
|
DEBIAN_NOAUTONAME_tslib-calibrate = "1"
|
|
|
|
|
|
|
|
RDEPENDS_${PN} = "tslib-conf"
|
2007-05-17 14:28:22 +00:00
|
|
|
RRECOMMENDS_${PN} = "pointercal"
|
2006-08-16 22:03:00 +00:00
|
|
|
|
2006-11-21 09:58:11 +00:00
|
|
|
FILES_${PN}-dbg += "${libdir}/ts/.debug*"
|
2011-07-05 21:29:31 +00:00
|
|
|
FILES_${PN}-dev += "${libdir}/ts/*.la"
|
2006-08-16 22:03:00 +00:00
|
|
|
FILES_tslib-conf = "${sysconfdir}/ts.conf ${sysconfdir}/profile.d/tslib.sh ${datadir}/tslib"
|
2006-11-21 09:58:11 +00:00
|
|
|
FILES_${PN} = "${libdir}/*.so.* ${libdir}/ts/*.so*"
|
2006-08-16 22:03:00 +00:00
|
|
|
FILES_tslib-calibrate += "${bindir}/ts_calibrate"
|
|
|
|
FILES_tslib-tests = "${bindir}/ts_harvest ${bindir}/ts_print ${bindir}/ts_print_raw ${bindir}/ts_test"
|