aboutsummaryrefslogtreecommitdiffstats
path: root/meta-oe/recipes-graphics
diff options
context:
space:
mode:
authorMario Domenech Goulart <mario@ossystems.com.br>2012-12-04 13:58:18 +0000
committerKoen Kooi <koen@dominion.thruhere.net>2012-12-05 14:04:43 +0100
commit10cd81211f2054599728d5a4ce91e51b7cc853db (patch)
tree8576304a671713b4fb56e29a00cb549eda3f33bf /meta-oe/recipes-graphics
parenta103912e49d1fd5b2d43a09b7027b1b8e3827a50 (diff)
downloadmeta-openembedded-10cd81211f2054599728d5a4ce91e51b7cc853db.tar.gz
xinput-calibrator: remove hardcoded path from xinput_calibrator.desktop
Signed-off-by: Mario Domenech Goulart <mario@ossystems.com.br> Signed-off-by: Koen Kooi <koen@dominion.thruhere.net>
Diffstat (limited to 'meta-oe/recipes-graphics')
-rw-r--r--meta-oe/recipes-graphics/xinput-calibrator/xinput-calibrator_git.bb3
1 files changed, 2 insertions, 1 deletions
diff --git a/meta-oe/recipes-graphics/xinput-calibrator/xinput-calibrator_git.bb b/meta-oe/recipes-graphics/xinput-calibrator/xinput-calibrator_git.bb
index c16a412470..97f9343804 100644
--- a/meta-oe/recipes-graphics/xinput-calibrator/xinput-calibrator_git.bb
+++ b/meta-oe/recipes-graphics/xinput-calibrator/xinput-calibrator_git.bb
@@ -5,6 +5,7 @@ LIC_FILES_CHKSUM = "file://src/calibrator.cpp;endline=22;md5=1bcba08f67cdb56f340
DEPENDS = "virtual/libx11 libxi"
PV = "0.7.5+git${SRCPV}"
+PR = "r1"
inherit autotools
@@ -21,7 +22,7 @@ do_install_append() {
install -m 0755 scripts/xinput_calibrator_pointercal.sh ${D}${bindir}/xinput_calibrator_once.sh
install -d ${D}${sysconfdir}/xdg/autostart
- sed -i -e 's,^Exec=.*,Exec=/usr/bin/xinput_calibrator_once.sh,' scripts/xinput_calibrator.desktop
+ sed -i -e 's,^Exec=.*,Exec=${bindir}/xinput_calibrator_once.sh,' scripts/xinput_calibrator.desktop
install -m 0644 scripts/xinput_calibrator.desktop ${D}${sysconfdir}/xdg/autostart
}