[OE-core] [PATCH 2/2] pointercal-xinput: Import recipe from Meta-OpenEmbedded

Otavio Salvador otavio at ossystems.com.br
Wed Apr 3 22:23:40 UTC 2013


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

Signed-off-by: Otavio Salvador <otavio at 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





More information about the Openembedded-core mailing list