summaryrefslogtreecommitdiff
path: root/packages/xorg-driver
diff options
context:
space:
mode:
authorKoen Kooi <koen@openembedded.org>2008-10-27 12:20:46 +0100
committerKoen Kooi <koen@openembedded.org>2008-10-27 12:20:46 +0100
commit82240aa226051d43f55f8ffafde5cb3a4817197c (patch)
treee77c8bd727b21f79ea87863390b8611b2eca2419 /packages/xorg-driver
parent8f9b3ebf73ca0dc6b85f98288da78090c058688f (diff)
xf86-input-tslib: ship hal fdi file to avoid xorg.conf incantations
Diffstat (limited to 'packages/xorg-driver')
-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
+}
+
+