summaryrefslogtreecommitdiff
path: root/meta/packages/gtkterm
diff options
context:
space:
mode:
authorRoss Burton <ross@openedhand.com>2007-07-13 10:35:57 +0000
committerRoss Burton <ross@openedhand.com>2007-07-13 10:35:57 +0000
commit162501849a6db808d48fa9267578b1241f1c4bc8 (patch)
treecb73b80064453ad0ba2bc1819fa5ba2daacab5b8 /meta/packages/gtkterm
parentf73a2e74a962887cdef76c4ac05c61ee0aacdc35 (diff)
downloadopenembedded-core-162501849a6db808d48fa9267578b1241f1c4bc8.tar.gz
openembedded-core-162501849a6db808d48fa9267578b1241f1c4bc8.tar.bz2
openembedded-core-162501849a6db808d48fa9267578b1241f1c4bc8.tar.xz
openembedded-core-162501849a6db808d48fa9267578b1241f1c4bc8.zip
Add a desktop file
git-svn-id: https://svn.o-hand.com/repos/poky/trunk@2182 311d38ba-8fff-0310-9ca6-ca027cbcb966
Diffstat (limited to 'meta/packages/gtkterm')
-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 000000000..d09c26e12
--- /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 a67787620..7e9c79b74 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
+}