summaryrefslogtreecommitdiff
path: root/recipes/xinput-calibrator/xinput-calibrator_0.6.0.bb
blob: 0e2c435795934e189b3a74aeb7d7648b334e5187 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
require xinput-calibrator.inc

SRC_URI = "git://github.com/tias/xinput_calibrator.git;protocol=git \
           file://0001-calibratorXorgPrint.cpp-fix-miny-and-maxx-printing-o.patch"

SRCREV = "d6e01d780001948f55006698e8e9e48c12894810"
S = "${WORKDIR}/git/"

PR = "r2"

do_install_append() {
        install -d ${D}${bindir}
        install -m 0755 scripts/xinput_calibrator_pointercal.sh ${D}${bindir}/xinput_calibrator_once.sh
        ln -s ${bindir}/xinput_calibrator_x11 ${D}${bindir}/xinput_calibrator
        install -d ${D}${datadir}/applications/
        install -m 0755 scripts/xinput_calibrator.desktop ${D}${datadir}/applications/xinput-calibrator.desktop
        install -m 0755 scripts/xinput_calibrator_get_hal_calibration.sh ${D}${bindir}/xinput_calibrator_get_hal_calibration.sh
}