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

PV = "0.6.0+gitr${SRCPV}"

SRC_URI = "git://github.com/tias/xinput_calibrator.git;protocol=git;branch=misclick"

SRCREV = "496d4401731c6e5ed550e446cc2fc4b12d999ad8"
S = "${WORKDIR}/git/"

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
}

# remove this after misclick branch is well-tested and merged to master
DEFAULT_PREFERENCE = "-1"
DEFAULT_PREFERENCE_shr = "1"