summaryrefslogtreecommitdiff
path: root/packages
diff options
context:
space:
mode:
Diffstat (limited to 'packages')
-rw-r--r--packages/xorg-driver/xf86-input-tslib/10-x11-input-tslib.fdi8
-rw-r--r--packages/xorg-driver/xf86-input-tslib_0.0.5.bb14
2 files changed, 20 insertions, 2 deletions
diff --git a/packages/xorg-driver/xf86-input-tslib/10-x11-input-tslib.fdi b/packages/xorg-driver/xf86-input-tslib/10-x11-input-tslib.fdi
new file mode 100644
index 0000000000..3559d0c555
--- /dev/null
+++ b/packages/xorg-driver/xf86-input-tslib/10-x11-input-tslib.fdi
@@ -0,0 +1,8 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<deviceinfo version="0.2">
+ <device>
+ <match key="info.capabilities" contains="input.touchpad">
+ <merge key="input.x11_driver" type="string">tslib</merge>
+ </match>
+ </device>
+</deviceinfo>
diff --git a/packages/xorg-driver/xf86-input-tslib_0.0.5.bb b/packages/xorg-driver/xf86-input-tslib_0.0.5.bb
index 06e92c7699..db477c2c89 100644
--- a/packages/xorg-driver/xf86-input-tslib_0.0.5.bb
+++ b/packages/xorg-driver/xf86-input-tslib_0.0.5.bb
@@ -1,5 +1,15 @@
require xorg-driver-input.inc
-SRC_URI = "http://www.pengutronix.de/software/xf86-input-tslib/download/xf86-input-tslib-${PV}.tar.bz2"
-
DESCRIPTION = "X.Org X server -- tslib input driver"
+RRECOMMENDS += "hal"
+PR = "r3"
+
+SRC_URI = "http://www.pengutronix.de/software/xf86-input-tslib/download/xf86-input-tslib-${PV}.tar.bz2 \
+ file://10-x11-input-tslib.fdi"
+
+do_install_append() {
+ install -d ${D}/${datadir}/hal/fdi/policy/20thirdparty
+ install -m 0644 ${WORKDIR}/10-x11-input-tslib.fdi ${D}/${datadir}/hal/fdi/policy/20thirdparty
+}
+
+