summaryrefslogtreecommitdiffstats
path: root/meta/packages/xtscal
diff options
context:
space:
mode:
Diffstat (limited to 'meta/packages/xtscal')
-rw-r--r--meta/packages/xtscal/xtscal/30xTs_Calibrate10
-rw-r--r--meta/packages/xtscal/xtscal_0.6.3.bb10
2 files changed, 18 insertions, 2 deletions
diff --git a/meta/packages/xtscal/xtscal/30xTs_Calibrate b/meta/packages/xtscal/xtscal/30xTs_Calibrate
new file mode 100644
index 0000000000..ee55784548
--- /dev/null
+++ b/meta/packages/xtscal/xtscal/30xTs_Calibrate
@@ -0,0 +1,10 @@
1#!/bin/sh
2
3. /etc/formfactor/config
4
5if [ "$HAVE_TOUCHSCREEN" = "1" ]; then
6 while [ ! -z $TSLIB_TSDEVICE ] && [ ! -f /etc/pointercal ]
7 do
8 /usr/bin/xtscal
9 done
10fi
diff --git a/meta/packages/xtscal/xtscal_0.6.3.bb b/meta/packages/xtscal/xtscal_0.6.3.bb
index c2ecb5952a..f518d68f34 100644
--- a/meta/packages/xtscal/xtscal_0.6.3.bb
+++ b/meta/packages/xtscal/xtscal_0.6.3.bb
@@ -4,10 +4,16 @@ SECTION = "x11/base"
4 4
5DEPENDS = "virtual/libx11 libxft libxcalibrate" 5DEPENDS = "virtual/libx11 libxft libxcalibrate"
6 6
7PR = "r8" 7PR = "r9"
8 8
9SRC_URI = "${GPE_MIRROR}/xtscal-${PV}.tar.bz2 \ 9SRC_URI = "${GPE_MIRROR}/xtscal-${PV}.tar.bz2 \
10 file://change-cross.patch;patch=1 \ 10 file://change-cross.patch;patch=1 \
11 file://cleanup.patch;patch=1" 11 file://cleanup.patch;patch=1 \
12 file://30xTs_Calibrate"
12 13
13inherit autotools 14inherit autotools
15
16do_install_append() {
17 install -d ${D}${sysconfdir}/X11/Xsession.d/
18 install -m 0755 ${WORKDIR}/30xTs_Calibrate ${D}${sysconfdir}/X11/Xsession.d/
19}