summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMario Domenech Goulart <mario@ossystems.com.br>2012-12-04 13:58:18 +0000
committerEric Bénard <eric@eukrea.com>2012-12-10 20:43:34 +0100
commitf026e96295da101bb715858bc8705de7e4a33992 (patch)
tree88b329bf581d4ed3c21ea82fe57c64ed08a89b86
parent218ffc5e60949d3227711a57502641e35236864e (diff)
downloadmeta-openembedded-f026e96295da101bb715858bc8705de7e4a33992.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> Signed-off-by: Eric Bénard <eric@eukrea.com>
-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
5DEPENDS = "virtual/libx11 libxi" 5DEPENDS = "virtual/libx11 libxi"
6 6
7PV = "0.7.5+git${SRCPV}" 7PV = "0.7.5+git${SRCPV}"
8PR = "r1"
8 9
9inherit autotools 10inherit autotools
10 11
@@ -21,7 +22,7 @@ do_install_append() {
21 install -m 0755 scripts/xinput_calibrator_pointercal.sh ${D}${bindir}/xinput_calibrator_once.sh 22 install -m 0755 scripts/xinput_calibrator_pointercal.sh ${D}${bindir}/xinput_calibrator_once.sh
22 23
23 install -d ${D}${sysconfdir}/xdg/autostart 24 install -d ${D}${sysconfdir}/xdg/autostart
24 sed -i -e 's,^Exec=.*,Exec=/usr/bin/xinput_calibrator_once.sh,' scripts/xinput_calibrator.desktop 25 sed -i -e 's,^Exec=.*,Exec=${bindir}/xinput_calibrator_once.sh,' scripts/xinput_calibrator.desktop
25 install -m 0644 scripts/xinput_calibrator.desktop ${D}${sysconfdir}/xdg/autostart 26 install -m 0644 scripts/xinput_calibrator.desktop ${D}${sysconfdir}/xdg/autostart
26} 27}
27 28