From 06b04dcace4eb99f565b8959d5b7ba1a4ae7f00a Mon Sep 17 00:00:00 2001 From: Chris Lord Date: Fri, 30 Sep 2005 13:58:07 +0000 Subject: Add .desktop for rxvt git-svn-id: https://svn.o-hand.com/repos/poky@85 311d38ba-8fff-0310-9ca6-ca027cbcb966 --- openembedded/packages/rxvt-unicode/files/rxvt.desktop | 10 ++++++++++ openembedded/packages/rxvt-unicode/files/rxvt.png | Bin 0 -> 2847 bytes openembedded/packages/rxvt-unicode/rxvt-unicode_5.6.bb | 17 +++++++++++++++-- 3 files changed, 25 insertions(+), 2 deletions(-) create mode 100644 openembedded/packages/rxvt-unicode/files/rxvt.desktop create mode 100644 openembedded/packages/rxvt-unicode/files/rxvt.png (limited to 'openembedded/packages/rxvt-unicode') diff --git a/openembedded/packages/rxvt-unicode/files/rxvt.desktop b/openembedded/packages/rxvt-unicode/files/rxvt.desktop new file mode 100644 index 000000000..0bb7701ff --- /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 000000000..e56fa2e9c Binary files /dev/null and b/openembedded/packages/rxvt-unicode/files/rxvt.png differ diff --git a/openembedded/packages/rxvt-unicode/rxvt-unicode_5.6.bb b/openembedded/packages/rxvt-unicode/rxvt-unicode_5.6.bb index 92915bf87..f21b1f27b 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" -- cgit v1.2.3