summaryrefslogtreecommitdiff
path: root/openembedded/packages/rxvt-unicode
diff options
context:
space:
mode:
authorChris Lord <chris@openedhand.com>2005-09-30 13:58:07 +0000
committerChris Lord <chris@openedhand.com>2005-09-30 13:58:07 +0000
commit06b04dcace4eb99f565b8959d5b7ba1a4ae7f00a (patch)
tree2226292c728b847af01e18a722ea5a2cb489a42e /openembedded/packages/rxvt-unicode
parentac134c081408c57fff89c79e1f4884e94d00ffeb (diff)
downloadopenembedded-core-06b04dcace4eb99f565b8959d5b7ba1a4ae7f00a.tar.gz
openembedded-core-06b04dcace4eb99f565b8959d5b7ba1a4ae7f00a.tar.bz2
openembedded-core-06b04dcace4eb99f565b8959d5b7ba1a4ae7f00a.zip
Add .desktop for rxvt
git-svn-id: https://svn.o-hand.com/repos/poky@85 311d38ba-8fff-0310-9ca6-ca027cbcb966
Diffstat (limited to 'openembedded/packages/rxvt-unicode')
-rw-r--r--openembedded/packages/rxvt-unicode/files/rxvt.desktop10
-rw-r--r--openembedded/packages/rxvt-unicode/files/rxvt.pngbin0 -> 2847 bytes
-rw-r--r--openembedded/packages/rxvt-unicode/rxvt-unicode_5.6.bb17
3 files changed, 25 insertions, 2 deletions
diff --git a/openembedded/packages/rxvt-unicode/files/rxvt.desktop b/openembedded/packages/rxvt-unicode/files/rxvt.desktop
new file mode 100644
index 0000000000..0bb7701ff8
--- /dev/null
+++ b/openembedded/packages/rxvt-unicode/files/rxvt.desktop
@@ -0,0 +1,10 @@
+[Desktop Entry]
+Encoding=UTF-8
+Name=Terminal
+Exec=/usr/bin/rxvt
+Icon=rxvt.png
+Terminal=false
+Type=Application
+Categories=Utilities
+StartupNotify=false
+
diff --git a/openembedded/packages/rxvt-unicode/files/rxvt.png b/openembedded/packages/rxvt-unicode/files/rxvt.png
new file mode 100644
index 0000000000..e56fa2e9cd
--- /dev/null
+++ b/openembedded/packages/rxvt-unicode/files/rxvt.png
Binary files differ
diff --git a/openembedded/packages/rxvt-unicode/rxvt-unicode_5.6.bb b/openembedded/packages/rxvt-unicode/rxvt-unicode_5.6.bb
index 92915bf872..f21b1f27b5 100644
--- a/openembedded/packages/rxvt-unicode/rxvt-unicode_5.6.bb
+++ b/openembedded/packages/rxvt-unicode/rxvt-unicode_5.6.bb
@@ -8,8 +8,10 @@ same time, including Xft fonts."
LICENSE = "GPL"
SRC_URI = "http://dist.schmorp.de/rxvt-unicode/Attic/rxvt-unicode-${PV}.tar.bz2 \
file://xwc.patch;patch=1 \
- file://signedchar.patch;patch=1"
-PR = "r2"
+ file://signedchar.patch;patch=1 \
+ file://rxvt.desktop \
+ file://rxvt.png"
+PR = "r3"
inherit autotools update-alternatives
@@ -53,3 +55,14 @@ do_compile () {
# docs need "yodl" and I have no idea what that is
oe_runmake -C src "LIBTOOL=$LIBTOOL"
}
+
+do_install_append () {
+ install -d ${D}/${datadir}
+ install -d ${D}/${datadir}/applications
+ install -d ${D}/${datadir}/icons/hicolor/48x48/apps
+
+ install -m 0644 ${WORKDIR}/rxvt.png ${D}/${datadir}/icons/hicolor/48x48/apps
+ install -m 0644 ${WORKDIR}/rxvt.desktop ${D}/${datadir}/applications
+}
+
+FILES_${PN} += "${datadir}/applications/rxvt.desktop ${datadir}/icons/hicolor/48x48/apps/rxvt.png"