mirror of
https://github.com/openembedded/meta-openembedded.git
synced 2026-07-15 16:07:26 +00:00
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>
This commit is contained in:
committed by
Eric Bénard
parent
218ffc5e60
commit
f026e96295
@@ -5,6 +5,7 @@ LIC_FILES_CHKSUM = "file://src/calibrator.cpp;endline=22;md5=1bcba08f67cdb56f340
|
|||||||
DEPENDS = "virtual/libx11 libxi"
|
DEPENDS = "virtual/libx11 libxi"
|
||||||
|
|
||||||
PV = "0.7.5+git${SRCPV}"
|
PV = "0.7.5+git${SRCPV}"
|
||||||
|
PR = "r1"
|
||||||
|
|
||||||
inherit autotools
|
inherit autotools
|
||||||
|
|
||||||
@@ -21,7 +22,7 @@ do_install_append() {
|
|||||||
install -m 0755 scripts/xinput_calibrator_pointercal.sh ${D}${bindir}/xinput_calibrator_once.sh
|
install -m 0755 scripts/xinput_calibrator_pointercal.sh ${D}${bindir}/xinput_calibrator_once.sh
|
||||||
|
|
||||||
install -d ${D}${sysconfdir}/xdg/autostart
|
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
|
install -m 0644 scripts/xinput_calibrator.desktop ${D}${sysconfdir}/xdg/autostart
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user