diff options
-rw-r--r-- | meta-oe/recipes-graphics/tslib/tslib_1.15.bb | 40 |
1 files changed, 33 insertions, 7 deletions
diff --git a/meta-oe/recipes-graphics/tslib/tslib_1.15.bb b/meta-oe/recipes-graphics/tslib/tslib_1.15.bb index e87b411a85..7ae941a3cf 100644 --- a/meta-oe/recipes-graphics/tslib/tslib_1.15.bb +++ b/meta-oe/recipes-graphics/tslib/tslib_1.15.bb | |||
@@ -5,10 +5,13 @@ Tslib is generally used on embedded devices to provide a common user \ | |||
5 | space interface to touchscreen functionality." | 5 | space interface to touchscreen functionality." |
6 | HOMEPAGE = "http://tslib.org/" | 6 | HOMEPAGE = "http://tslib.org/" |
7 | 7 | ||
8 | AUTHOR = "Russell King w/ plugins by Chris Larson et. al." | 8 | AUTHOR = "Martin Kepplinger <martink@posteo.de>" |
9 | SECTION = "base" | 9 | SECTION = "base" |
10 | LICENSE = "LGPLv2" | 10 | LICENSE = "LGPLv2+ & GPLv2+" |
11 | LIC_FILES_CHKSUM = "file://COPYING;md5=fc178bcd425090939a8b634d1d6a9594" | 11 | LIC_FILES_CHKSUM = "\ |
12 | file://COPYING;md5=fc178bcd425090939a8b634d1d6a9594 \ | ||
13 | file://tests/COPYING;md5=a23a74b3f4caf9616230789d94217acb \ | ||
14 | " | ||
12 | 15 | ||
13 | SRC_URI = "https://github.com/kergoth/tslib/releases/download/${PV}/tslib-${PV}.tar.xz;downloadfilename=tslib-${PV}.tar.xz \ | 16 | SRC_URI = "https://github.com/kergoth/tslib/releases/download/${PV}/tslib-${PV}.tar.xz;downloadfilename=tslib-${PV}.tar.xz \ |
14 | file://ts.conf \ | 17 | file://ts.conf \ |
@@ -21,7 +24,33 @@ UPSTREAM_CHECK_URI = "https://github.com/kergoth/tslib/releases" | |||
21 | 24 | ||
22 | inherit autotools pkgconfig | 25 | inherit autotools pkgconfig |
23 | 26 | ||
24 | EXTRA_OECONF = "--enable-shared --disable-h3600 --enable-input --disable-corgi --disable-collie --disable-mk712 --disable-arctic2 --disable-ucb1x00" | 27 | PACKAGECONFIG ??= "debounce dejitter iir linear median pthres skip lowpass invert variance input touchkit waveshare" |
28 | PACKAGECONFIG[debounce] = "--enable-debounce,--disable-debounce" | ||
29 | PACKAGECONFIG[dejitter] = "--enable-dejitter,--disable-dejitter" | ||
30 | PACKAGECONFIG[iir] = "--enable-iir,--disable-iir" | ||
31 | PACKAGECONFIG[linear] = "--enable-linear,--disable-linear" | ||
32 | PACKAGECONFIG[median] = "--enable-median,--disable-median" | ||
33 | PACKAGECONFIG[pthres] = "--enable-pthres,--disable-pthres" | ||
34 | PACKAGECONFIG[skip] = "--enable-skip,--disable-skip" | ||
35 | PACKAGECONFIG[lowpass] = "--enable-lowpass,--disable-lowpass" | ||
36 | PACKAGECONFIG[invert] = "--enable-invert,--disable-invert" | ||
37 | PACKAGECONFIG[variance] = "--enable-variance,--disable-variance" | ||
38 | PACKAGECONFIG[input] = "--enable-input,--disable-input" | ||
39 | PACKAGECONFIG[tatung] = "--enable-tatung,--disable-tatung" | ||
40 | PACKAGECONFIG[touchkit] = "--enable-touchkit,--disable-touchkit" | ||
41 | PACKAGECONFIG[waveshare] = "--enable-waveshare,--disable-waveshare" | ||
42 | PACKAGECONFIG[ucb1x00] = "--enable-ucb1x00,--disable-ucb1x00" | ||
43 | PACKAGECONFIG[mk712] = "--enable-mk712,--disable-mk712" | ||
44 | PACKAGECONFIG[h3600] = "--enable-h3600,--disable-h3600" | ||
45 | PACKAGECONFIG[dmc] = "--enable-dmc,--disable-dmc" | ||
46 | PACKAGECONFIG[linear-h2200] = "--enable-linear-h2200,--disable-linear-h2200" | ||
47 | PACKAGECONFIG[corgi] = "--enable-corgi,--disable-corgi" | ||
48 | PACKAGECONFIG[collie] = "--enable-collie,--disable-collie" | ||
49 | PACKAGECONFIG[arctic2] = "--enable-arctic2,--disable-arctic2" | ||
50 | PACKAGECONFIG[dmc_dus3000] = "--enable-dmc_dus3000,--disable-dmc_dus3000" | ||
51 | PACKAGECONFIG[cy8mrln-palmpre] = "--enable-cy8mrln-palmpre,--disable-cy8mrln-palmpre" | ||
52 | PACKAGECONFIG[galax] = "--enable-galax,--disable-galax" | ||
53 | PACKAGECONFIG[debug] = "--enable-debug,--disable-debug" | ||
25 | 54 | ||
26 | do_install_prepend() { | 55 | do_install_prepend() { |
27 | install -m 0644 ${WORKDIR}/ts.conf ${S}/etc/ts.conf | 56 | install -m 0644 ${WORKDIR}/ts.conf ${S}/etc/ts.conf |
@@ -32,9 +61,6 @@ do_install_append() { | |||
32 | install -m 0755 ${WORKDIR}/tslib.sh ${D}${sysconfdir}/profile.d/ | 61 | install -m 0755 ${WORKDIR}/tslib.sh ${D}${sysconfdir}/profile.d/ |
33 | } | 62 | } |
34 | 63 | ||
35 | # People should consider using udev's /dev/input/touchscreen0 symlink | ||
36 | # instead of detect-stylus | ||
37 | #RDEPENDS_tslib-conf_weird-machine = "detect-stylus" | ||
38 | RPROVIDES_tslib-conf = "libts-0.0-conf" | 64 | RPROVIDES_tslib-conf = "libts-0.0-conf" |
39 | 65 | ||
40 | PACKAGES =+ "tslib-conf tslib-tests tslib-calibrate tslib-uinput" | 66 | PACKAGES =+ "tslib-conf tslib-tests tslib-calibrate tslib-uinput" |