* As the app supports runtime config of touchscreens an icon for the app seems like a good idea.
--- /dev/null
+[Desktop Entry]
+Name=Calibrate Xinput Touchscreen
+Name[de]=Xinput Touchscreen Kalibrieren
+Comment=Run the calibration tool for Xinput touchscreens
+Encoding=UTF-8
+Exec=/usr/bin/xinput_calibrator
+Terminal=false
+Type=Application
+Icon=calibrate
+StartupNotify=true
+Categories=System;Settings;
SRCREV = "6af268f1b435f7bdd83335092ddc684054df2110"
SRC_URI = "git://github.com/tias/xinput_calibrator.git;protocol=git \
file://0001-switch-to-autotools-based-build-system.patch;patch=1 \
- file://0002-gui_x11.cpp-Load-font-fixed-when-9x15-fails-in-GuiCa.patch;patch=1"
+ file://0002-gui_x11.cpp-Load-font-fixed-when-9x15-fails-in-GuiCa.patch;patch=1 \
+ file://xinput-calibrator.desktop \
+"
-PR = "r1"
+PR = "r2"
inherit autotools
S = "${WORKDIR}/git/"
do_install() {
install -d ${D}${bindir}
install -m 0755 xinput_calibrator_x11 ${D}${bindir}/xinput_calibrator
+ install -d ${D}${datadir}/applications/
+ install -m 0755 ${WORKDIR}/xinput-calibrator.desktop ${D}${datadir}/applications/xinput-calibrator.desktop
}