This should be used to provide calibration information for xinput
based touchscreens.

Signed-off-by: Otavio Salvador <ota...@ossystems.com.br>
---
 .../pointercal/pointercal-xinput/pointercal.xinput    |  1 +
 meta/recipes-bsp/pointercal/pointercal-xinput_0.0.bb  | 19 +++++++++++++++++++
 2 files changed, 20 insertions(+)
 create mode 100644 
meta/recipes-bsp/pointercal/pointercal-xinput/pointercal.xinput
 create mode 100644 meta/recipes-bsp/pointercal/pointercal-xinput_0.0.bb

diff --git a/meta/recipes-bsp/pointercal/pointercal-xinput/pointercal.xinput 
b/meta/recipes-bsp/pointercal/pointercal-xinput/pointercal.xinput
new file mode 100644
index 0000000..9633fc5
--- /dev/null
+++ b/meta/recipes-bsp/pointercal/pointercal-xinput/pointercal.xinput
@@ -0,0 +1 @@
+# replace with valid machine specific pointercal.xinput
diff --git a/meta/recipes-bsp/pointercal/pointercal-xinput_0.0.bb 
b/meta/recipes-bsp/pointercal/pointercal-xinput_0.0.bb
new file mode 100644
index 0000000..9b68d54
--- /dev/null
+++ b/meta/recipes-bsp/pointercal/pointercal-xinput_0.0.bb
@@ -0,0 +1,19 @@
+DESCRIPTION = "Touchscreen calibration data from xinput-calibrator"
+LICENSE = "MIT"
+LIC_FILES_CHKSUM = 
"file://${COREBASE}/meta/COPYING.MIT;md5=3da9cfbcb788c80a0384361b4de20420"
+
+PR = "r4"
+
+SRC_URI = "file://pointercal.xinput"
+S = "${WORKDIR}"
+
+do_install() {
+       # Only install file if it has a contents
+       if [ -s ${S}/pointercal.xinput ]; then
+               install -d ${D}${sysconfdir}/
+               install -m 0644 ${S}/pointercal.xinput ${D}${sysconfdir}/
+       fi
+}
+
+PACKAGE_ARCH = "${MACHINE_ARCH}"
+CONFFILES_${PN} = "${sysconfdir}/pointercal.xinput"
-- 
1.8.1


_______________________________________________
Openembedded-core mailing list
Openembedded-core@lists.openembedded.org
http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-core

Reply via email to