diff options
| -rw-r--r-- | meta-oe/recipes-graphics/xinput-calibrator/xinput-calibrator/xinput-calibrator-autostart.desktop | 8 | ||||
| -rw-r--r-- | meta-oe/recipes-graphics/xinput-calibrator/xinput-calibrator_0.7.5.bb | 7 |
2 files changed, 14 insertions, 1 deletions
diff --git a/meta-oe/recipes-graphics/xinput-calibrator/xinput-calibrator/xinput-calibrator-autostart.desktop b/meta-oe/recipes-graphics/xinput-calibrator/xinput-calibrator/xinput-calibrator-autostart.desktop new file mode 100644 index 0000000000..3f3d613278 --- /dev/null +++ b/meta-oe/recipes-graphics/xinput-calibrator/xinput-calibrator/xinput-calibrator-autostart.desktop | |||
| @@ -0,0 +1,8 @@ | |||
| 1 | [Desktop Entry] | ||
| 2 | Name=Calibrate Touchscreen | ||
| 3 | Exec=xinput_calibrator_once.sh | ||
| 4 | Terminal=false | ||
| 5 | Type=Application | ||
| 6 | Icon=xinput_calibrator | ||
| 7 | StartupNotify=true | ||
| 8 | Categories=System;Settings; | ||
diff --git a/meta-oe/recipes-graphics/xinput-calibrator/xinput-calibrator_0.7.5.bb b/meta-oe/recipes-graphics/xinput-calibrator/xinput-calibrator_0.7.5.bb index d823e0e5a1..a50a0cfd73 100644 --- a/meta-oe/recipes-graphics/xinput-calibrator/xinput-calibrator_0.7.5.bb +++ b/meta-oe/recipes-graphics/xinput-calibrator/xinput-calibrator_0.7.5.bb | |||
| @@ -4,13 +4,14 @@ LICENSE = "MIT-X" | |||
| 4 | LIC_FILES_CHKSUM = "file://src/calibrator.cpp;endline=22;md5=998e238a7638a7446eaeb02398f691fc" | 4 | LIC_FILES_CHKSUM = "file://src/calibrator.cpp;endline=22;md5=998e238a7638a7446eaeb02398f691fc" |
| 5 | DEPENDS = "virtual/libx11 libxi" | 5 | DEPENDS = "virtual/libx11 libxi" |
| 6 | 6 | ||
| 7 | PR = "r4" | 7 | PR = "r5" |
| 8 | 8 | ||
| 9 | inherit autotools systemd | 9 | inherit autotools systemd |
| 10 | 10 | ||
| 11 | SRC_URI = "http://github.com/downloads/tias/xinput_calibrator/xinput_calibrator-${PV}.tar.gz \ | 11 | SRC_URI = "http://github.com/downloads/tias/xinput_calibrator/xinput_calibrator-${PV}.tar.gz \ |
| 12 | file://0001-xinput_calibrator_pointercal.sh-specify-output-type-.patch \ | 12 | file://0001-xinput_calibrator_pointercal.sh-specify-output-type-.patch \ |
| 13 | file://xinput-calibrator.service \ | 13 | file://xinput-calibrator.service \ |
| 14 | file://xinput-calibrator-autostart.desktop \ | ||
| 14 | " | 15 | " |
| 15 | SRC_URI[md5sum] = "20da0a2055a5a75962add8c6b44f60fa" | 16 | SRC_URI[md5sum] = "20da0a2055a5a75962add8c6b44f60fa" |
| 16 | SRC_URI[sha256sum] = "baa4ddca49ec94c27ba4c715bfa26692fec1132103e927213c3169e475d3d971" | 17 | SRC_URI[sha256sum] = "baa4ddca49ec94c27ba4c715bfa26692fec1132103e927213c3169e475d3d971" |
| @@ -23,10 +24,14 @@ EXTRA_OECONF += "--with-gui=x11" | |||
| 23 | do_install_append() { | 24 | do_install_append() { |
| 24 | install -d ${D}${bindir} | 25 | install -d ${D}${bindir} |
| 25 | install -m 0755 scripts/xinput_calibrator_pointercal.sh ${D}${bindir}/xinput_calibrator_once.sh | 26 | install -m 0755 scripts/xinput_calibrator_pointercal.sh ${D}${bindir}/xinput_calibrator_once.sh |
| 27 | |||
| 28 | install -d ${D}${sysconfdir}/xdg/autostart | ||
| 29 | install -m 0644 ${WORKDIR}/xinput-calibrator-autostart.desktop ${D}${sysconfdir}/xdg/autostart | ||
| 26 | } | 30 | } |
| 27 | 31 | ||
| 28 | SYSTEMD_PACKAGES = "${PN}-systemd" | 32 | SYSTEMD_PACKAGES = "${PN}-systemd" |
| 29 | SYSTEMD_SERVICE = "${PN}.service" | 33 | SYSTEMD_SERVICE = "${PN}.service" |
| 30 | 34 | ||
| 35 | FILES_${PN} += "${sysconfdir}/xdg/autostart" | ||
| 31 | RDEPENDS_${PN} = "xinput" | 36 | RDEPENDS_${PN} = "xinput" |
| 32 | RRECOMMENDS_${PN} = "pointercal-xinput" | 37 | RRECOMMENDS_${PN} = "pointercal-xinput" |
