summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--meta/packages/gtkterm/files/gtkterm.desktop10
-rw-r--r--meta/packages/gtkterm/gtkterm2_0.2.3.bb10
2 files changed, 19 insertions, 1 deletions
diff --git a/meta/packages/gtkterm/files/gtkterm.desktop b/meta/packages/gtkterm/files/gtkterm.desktop
new file mode 100644
index 0000000000..d09c26e125
--- /dev/null
+++ b/meta/packages/gtkterm/files/gtkterm.desktop
@@ -0,0 +1,10 @@
+[Desktop Entry]
+Encoding=UTF-8
+Type=Application
+Name=Terminal
+Comment=When all else fails.
+Exec=gtkterm2
+Icon=utilities-terminal.png
+Terminal=false
+Categories=Utility;
+StartupNotify=true
diff --git a/meta/packages/gtkterm/gtkterm2_0.2.3.bb b/meta/packages/gtkterm/gtkterm2_0.2.3.bb
index a677876200..7e9c79b743 100644
--- a/meta/packages/gtkterm/gtkterm2_0.2.3.bb
+++ b/meta/packages/gtkterm/gtkterm2_0.2.3.bb
@@ -4,6 +4,14 @@ AUTHOR = "Oliver Feige"
SECTION = "x11/terminals"
DEPENDS = "gtk+ vte"
-SRC_URI = "${SOURCEFORGE_MIRROR}/gtkterm/gtkterm2-${PV}.tar.gz"
+PR = "r1"
+
+SRC_URI = "${SOURCEFORGE_MIRROR}/gtkterm/gtkterm2-${PV}.tar.gz \
+ file://gtkterm.desktop"
inherit autotools
+
+do_install_append () {
+ install -d ${D}/${datadir}/applications
+ install -m 0644 ${WORKDIR}/gtkterm.desktop ${D}/${datadir}/applications
+}