summaryrefslogtreecommitdiff
path: root/recipes/xinput-calibrator
diff options
context:
space:
mode:
authorDavid-John Willis <John.Willis@Distant-earth.com>2010-01-21 19:35:46 +0000
committerKoen Kooi <koen@openembedded.org>2010-01-24 10:11:31 +0100
commit304dff0127c8b17154f40bd83cae3552d15cf95b (patch)
treefe0ab32aa007fe7c40e780b0c113e6428f5fb940 /recipes/xinput-calibrator
parentec3a82023ca443fe685a780a293d9c638592db16 (diff)
xinput-calibrator 0.5.0: Add desktop file so it has a link in menus.
* As the app supports runtime config of touchscreens an icon for the app seems like a good idea.
Diffstat (limited to 'recipes/xinput-calibrator')
-rw-r--r--recipes/xinput-calibrator/xinput-calibrator-0.5.0/xinput-calibrator.desktop11
-rw-r--r--recipes/xinput-calibrator/xinput-calibrator_0.5.0.bb8
2 files changed, 17 insertions, 2 deletions
diff --git a/recipes/xinput-calibrator/xinput-calibrator-0.5.0/xinput-calibrator.desktop b/recipes/xinput-calibrator/xinput-calibrator-0.5.0/xinput-calibrator.desktop
new file mode 100644
index 0000000000..813d7c1ac5
--- /dev/null
+++ b/recipes/xinput-calibrator/xinput-calibrator-0.5.0/xinput-calibrator.desktop
@@ -0,0 +1,11 @@
+[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;
diff --git a/recipes/xinput-calibrator/xinput-calibrator_0.5.0.bb b/recipes/xinput-calibrator/xinput-calibrator_0.5.0.bb
index b01d4fd4a9..8f3152056f 100644
--- a/recipes/xinput-calibrator/xinput-calibrator_0.5.0.bb
+++ b/recipes/xinput-calibrator/xinput-calibrator_0.5.0.bb
@@ -3,13 +3,17 @@ DEPENDS = "virtual/libx11 libxi"
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
}