summaryrefslogtreecommitdiff
path: root/recipes-sato
diff options
context:
space:
mode:
authorStefan Agner <stefan.agner@toradex.com>2016-03-18 16:42:43 -0700
committerMax Krummenacher <max.krummenacher@toradex.com>2016-03-30 18:07:26 +0200
commit31b0e7430b4f4a2ce0bd47e6a61684c1fde6ac58 (patch)
tree38104d8d39ab3f9db4dafa1f278e4174171e0e4d /recipes-sato
parente010b4985cea93daddec398db101a0b48c7a564d (diff)
webkit-gtk: add application shortcut for MiniBrowser
Add a .desktop file to get a start menu entry for the webkitgtk browser MiniBrowser. Signed-off-by: Stefan Agner <stefan.agner@toradex.com>
Diffstat (limited to 'recipes-sato')
-rw-r--r--recipes-sato/webkit/files/minibrowser.desktop17
-rw-r--r--recipes-sato/webkit/webkitgtk_2.8.5.bbappend7
2 files changed, 24 insertions, 0 deletions
diff --git a/recipes-sato/webkit/files/minibrowser.desktop b/recipes-sato/webkit/files/minibrowser.desktop
new file mode 100644
index 0000000..a86fd0a
--- /dev/null
+++ b/recipes-sato/webkit/files/minibrowser.desktop
@@ -0,0 +1,17 @@
+[Desktop Entry]
+Value=1.0
+Type=Application
+Exec=/usr/bin/MiniBrowser
+Icon=browser
+Categories=
+StartupNotify=true
+Name=MiniBrowser
+Name[fr]=MiniBrowser
+Name[fr_CA]=MiniBrowser
+Name[ja]=MiniBrowser
+Name[pl]=MiniBrowser
+GenericName=MiniBrowser
+GenericName[fr]=MiniBrowser
+GenericName[fr_CA]=MiniBrowser
+GenericName[ja]=MiniBrowser
+GenericName[pl]=MiniBrowser
diff --git a/recipes-sato/webkit/webkitgtk_2.8.5.bbappend b/recipes-sato/webkit/webkitgtk_2.8.5.bbappend
index 4b0b30b..23fcaec 100644
--- a/recipes-sato/webkit/webkitgtk_2.8.5.bbappend
+++ b/recipes-sato/webkit/webkitgtk_2.8.5.bbappend
@@ -1,3 +1,10 @@
+FILESEXTRAPATHS_prepend := "${THISDIR}/files:"
+SRC_URI += "file://minibrowser.desktop"
+
+do_install_append() {
+ install -m 0644 -D ${WORKDIR}/minibrowser.desktop ${D}${datadir}/applications/minibrowser.desktop
+}
+
PACKAGECONFIG = "${@base_contains('DISTRO_FEATURES', 'x11', 'x11', 'wayland' ,d)}"
ARM_INSTRUCTION_SET_vf = "thumb"