summaryrefslogtreecommitdiffstats
path: root/meta-oe/recipes-graphics/xinput-calibrator
diff options
context:
space:
mode:
authorPaul Eggleton <paul.eggleton@linux.intel.com>2013-07-30 12:48:54 +0000
committerMartin Jansa <Martin.Jansa@gmail.com>2013-08-03 15:10:46 +0200
commit8fd15dc24fb032e2e1668656995bc5bdc36abba8 (patch)
treed1e03159391c4ed03d307160f55f28ef6e2161f9 /meta-oe/recipes-graphics/xinput-calibrator
parent93dad18b991fdb65351b09c38049d124fb67d20f (diff)
downloadmeta-openembedded-8fd15dc24fb032e2e1668656995bc5bdc36abba8.tar.gz
xinput-calibrator: remove
This is now part of OE-Core. Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com> Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Diffstat (limited to 'meta-oe/recipes-graphics/xinput-calibrator')
-rw-r--r--meta-oe/recipes-graphics/xinput-calibrator/xinput-calibrator/xinput-calibrator.service11
-rw-r--r--meta-oe/recipes-graphics/xinput-calibrator/xinput-calibrator_git.bb42
2 files changed, 0 insertions, 53 deletions
diff --git a/meta-oe/recipes-graphics/xinput-calibrator/xinput-calibrator/xinput-calibrator.service b/meta-oe/recipes-graphics/xinput-calibrator/xinput-calibrator/xinput-calibrator.service
deleted file mode 100644
index 23018768d..000000000
--- a/meta-oe/recipes-graphics/xinput-calibrator/xinput-calibrator/xinput-calibrator.service
+++ /dev/null
@@ -1,11 +0,0 @@
1[Unit]
2Description=Loads xinput calibration data
3ConditionPathExists=/etc/pointercal.xinput
4Requires=display-manager.service
5After=display-manager.service
6
7[Service]
8ExecStart=/usr/bin/xinput_calibrator_once.sh
9
10[Install]
11WantedBy=multi-user.target
diff --git a/meta-oe/recipes-graphics/xinput-calibrator/xinput-calibrator_git.bb b/meta-oe/recipes-graphics/xinput-calibrator/xinput-calibrator_git.bb
deleted file mode 100644
index 640aef1fc..000000000
--- a/meta-oe/recipes-graphics/xinput-calibrator/xinput-calibrator_git.bb
+++ /dev/null
@@ -1,42 +0,0 @@
1DESCRIPTION = "A generic touchscreen calibration program for X.Org"
2HOMEPAGE = "http://www.freedesktop.org/wiki/Software/xinput_calibrator"
3LICENSE = "MIT-X"
4LIC_FILES_CHKSUM = "file://src/calibrator.cpp;endline=22;md5=1bcba08f67cdb56f34021557898e4b5a"
5DEPENDS = "virtual/libx11 libxi"
6
7PV = "0.7.5+git${SRCPV}"
8PR = "r6"
9
10inherit autotools systemd
11
12SRCREV = "c01c5af807cb4b0157b882ab07a893df9a810111"
13SRC_URI = "git://github.com/tias/xinput_calibrator.git;protocol=git \
14 file://xinput-calibrator.service"
15
16S = "${WORKDIR}/git"
17
18# force native X11 ui as we don't have gtk+ in DEPENDS
19EXTRA_OECONF += "--with-gui=x11"
20
21do_install_append() {
22 install -d ${D}${bindir}
23 install -m 0755 scripts/xinput_calibrator_pointercal.sh ${D}${bindir}/xinput_calibrator_once.sh
24
25 install -d ${D}${sysconfdir}/xdg/autostart
26 sed -i -e 's,^Exec=.*,Exec=${bindir}/xinput_calibrator_once.sh,' scripts/xinput_calibrator.desktop
27 install -m 0644 scripts/xinput_calibrator.desktop ${D}${sysconfdir}/xdg/autostart
28
29 if ${@base_contains('DISTRO_FEATURES','systemd','true','false',d)}; then
30 install -d ${D}${systemd_unitdir}/system
31 install -m 0644 ${WORKDIR}/xinput-calibrator.service ${D}${systemd_unitdir}/system
32 fi
33}
34
35FILES_${PN} += "${sysconfdir}/xdg/autostart"
36RDEPENDS_${PN} = "xinput xterm"
37RRECOMMENDS_${PN} = "pointercal-xinput"
38
39RPROVIDES_${PN} += "${PN}-systemd"
40RREPLACES_${PN} += "${PN}-systemd"
41RCONFLICTS_${PN} += "${PN}-systemd"
42SYSTEMD_SERVICE_${PN} = "${PN}.service"