diff options
Diffstat (limited to 'meta/recipes-graphics/xinput-calibrator/xinput-calibrator_git.bb')
-rw-r--r-- | meta/recipes-graphics/xinput-calibrator/xinput-calibrator_git.bb | 31 |
1 files changed, 31 insertions, 0 deletions
diff --git a/meta/recipes-graphics/xinput-calibrator/xinput-calibrator_git.bb b/meta/recipes-graphics/xinput-calibrator/xinput-calibrator_git.bb new file mode 100644 index 0000000000..d0f07c9ad8 --- /dev/null +++ b/meta/recipes-graphics/xinput-calibrator/xinput-calibrator_git.bb | |||
@@ -0,0 +1,31 @@ | |||
1 | DESCRIPTION = "A generic touchscreen calibration program for X.Org" | ||
2 | HOMEPAGE = "http://www.freedesktop.org/wiki/Software/xinput_calibrator" | ||
3 | LICENSE = "MIT-X" | ||
4 | LIC_FILES_CHKSUM = "file://src/calibrator.cpp;endline=22;md5=1bcba08f67cdb56f34021557898e4b5a" | ||
5 | DEPENDS = "virtual/libx11 libxi" | ||
6 | |||
7 | PV = "0.7.5+git${SRCPV}" | ||
8 | PR = "r6" | ||
9 | |||
10 | inherit autotools | ||
11 | |||
12 | SRCREV = "c01c5af807cb4b0157b882ab07a893df9a810111" | ||
13 | SRC_URI = "git://github.com/tias/xinput_calibrator.git;protocol=git \ | ||
14 | file://30xinput_calibrate.sh \ | ||
15 | file://Allow-xinput_calibrator_pointercal.sh-to-be-run-as-n.patch" | ||
16 | |||
17 | S = "${WORKDIR}/git" | ||
18 | |||
19 | # force native X11 ui as we don't have gtk+ in DEPENDS | ||
20 | EXTRA_OECONF += "--with-gui=x11" | ||
21 | |||
22 | do_install_append() { | ||
23 | install -d ${D}${bindir} | ||
24 | install -m 0755 scripts/xinput_calibrator_pointercal.sh ${D}${bindir}/xinput_calibrator_once.sh | ||
25 | |||
26 | install -d ${D}${sysconfdir}/X11/Xsession.d/ | ||
27 | install -m 0755 ${WORKDIR}/30xinput_calibrate.sh ${D}${sysconfdir}/X11/Xsession.d/ | ||
28 | } | ||
29 | |||
30 | RDEPENDS_${PN} = "xinput" | ||
31 | RRECOMMENDS_${PN} = "pointercal-xinput" | ||