diff options
author | Max Krummenacher <max.krummenacher@toradex.com> | 2013-03-05 16:14:27 +0100 |
---|---|---|
committer | Max Krummenacher <max.krummenacher@toradex.com> | 2013-09-22 10:56:47 +0200 |
commit | fff7889f8b3b37230ef48d47e4980f51b07bdc9a (patch) | |
tree | 154a9fe011b5caddb656d8564df91ac5a9affa54 | |
parent | 401076fe7aff70374c51ed5bd9ba5e243b16cd69 (diff) |
xinput-calibrator: bbappend updated to use git instead of versioned tarball
-rw-r--r-- | recipes-graphics/xinput-calibrator/xinput-calibrator_0.7.5.bbappend | 16 | ||||
-rw-r--r-- | recipes-graphics/xinput-calibrator/xinput-calibrator_git.bbappend | 10 |
2 files changed, 10 insertions, 16 deletions
diff --git a/recipes-graphics/xinput-calibrator/xinput-calibrator_0.7.5.bbappend b/recipes-graphics/xinput-calibrator/xinput-calibrator_0.7.5.bbappend deleted file mode 100644 index 2d5a610..0000000 --- a/recipes-graphics/xinput-calibrator/xinput-calibrator_0.7.5.bbappend +++ /dev/null @@ -1,16 +0,0 @@ -FILESEXTRAPATHS_prepend := "${THISDIR}/${PN}:" - -PRINC := "${@int(PRINC) + 2}" - -inherit systemd - -SRC_URI += "file://xinput-calibrator.service" - -SYSTEMD_PACKAGES = "${PN}-systemd" -SYSTEMD_SERVICE = "${PN}.service" - -# menu entry should make the calibration permanent instead of printing cal data into a terminal -do_install_append() { - install -m 0755 ${D}/usr/share/applications/xinput_calibrator.desktop ${D}/usr/share/applications/xinput_calibrator.desktop.old - sed -i -e 's/xinput_calibrator; cat/rm -f \/etc\/pointercal.xinput; xinput_calibrator_once.sh/' ${D}/usr/share/applications/xinput_calibrator.desktop -}
\ No newline at end of file diff --git a/recipes-graphics/xinput-calibrator/xinput-calibrator_git.bbappend b/recipes-graphics/xinput-calibrator/xinput-calibrator_git.bbappend new file mode 100644 index 0000000..e12abec --- /dev/null +++ b/recipes-graphics/xinput-calibrator/xinput-calibrator_git.bbappend @@ -0,0 +1,10 @@ +FILESEXTRAPATHS_prepend := "${THISDIR}/${PN}:" + +PRINC := "${@int(PRINC) + 1}" + +inherit systemd + +SRC_URI += "file://xinput-calibrator.service" + +SYSTEMD_PACKAGES = "${PN}-systemd" +SYSTEMD_SERVICE = "${PN}.service" |