Patrick Williams | b48b7b4 | 2016-08-17 15:04:38 -0500 | [diff] [blame] | 1 | require recipes-graphics/xorg-driver/xorg-driver-input.inc |
| 2 | SUMMARY = "X.Org X server -- tslib input driver" |
| 3 | DEPENDS += "tslib" |
| 4 | RRECOMMENDS_${PN} += "tslib-calibrate" |
| 5 | RSUGGESTS_${PN} += "hal" |
| 6 | |
| 7 | # derived from xf86-input-void, that's why I kept MIT-X, but it's not clear, see COPYING |
| 8 | LIC_FILES_CHKSUM = "file://src/tslib.c;endline=28;md5=bd62eaef222dcf5cd59e490a12bd795e \ |
| 9 | file://COPYING;md5=4641deddaa80fe7ca88e944e1fd94a94" |
| 10 | |
| 11 | PR = "${INC_PR}.1" |
| 12 | |
| 13 | SRC_URI = "http://www.pengutronix.de/software/xf86-input-tslib/download/xf86-input-tslib-${PV}.tar.bz2 \ |
| 14 | file://double-free-crash.patch \ |
| 15 | file://10-x11-input-tslib.fdi \ |
| 16 | file://xserver-174-XGetPointerControl.patch \ |
| 17 | file://99-xf86-input-tslib.rules \ |
| 18 | file://xf86-input-tslib-port-ABI-12-r48.patch \ |
| 19 | file://xf86-input-tslib-0.0.6-xf86XInputSetScreen.patch \ |
| 20 | " |
| 21 | |
| 22 | SRC_URI[md5sum] = "b7a4d2f11637ee3fcf432e044b1d017f" |
| 23 | SRC_URI[sha256sum] = "5f46fdef095a6e44a69e0f0b57c7d665224b26d990d006611236d8332e85b105" |
| 24 | |
| 25 | do_configure_prepend() { |
| 26 | rm -rf ${S}/m4/ || true |
| 27 | } |
| 28 | do_install_append() { |
| 29 | install -d ${D}/${datadir}/hal/fdi/policy/20thirdparty |
| 30 | install -m 0644 ${WORKDIR}/10-x11-input-tslib.fdi ${D}/${datadir}/hal/fdi/policy/20thirdparty |
Brad Bishop | 6e60e8b | 2018-02-01 10:27:11 -0500 | [diff] [blame] | 31 | install -d ${D}${nonarch_base_libdir}/udev/rules.d |
| 32 | install -m 0644 ${WORKDIR}/99-xf86-input-tslib.rules ${D}${nonarch_base_libdir}/udev/rules.d/ |
Patrick Williams | b48b7b4 | 2016-08-17 15:04:38 -0500 | [diff] [blame] | 33 | } |
| 34 | |
Brad Bishop | 6e60e8b | 2018-02-01 10:27:11 -0500 | [diff] [blame] | 35 | FILES_${PN} += "${datadir}/hal ${nonarch_base_libdir}/udev" |