Add .desktop for rxvt

git-svn-id: https://svn.o-hand.com/repos/poky@85 311d38ba-8fff-0310-9ca6-ca027cbcb966
This commit is contained in:
Chris Lord 2005-09-30 13:58:07 +00:00
parent ac134c0814
commit 06b04dcace
3 changed files with 25 additions and 2 deletions

View File

@ -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

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.8 KiB

View File

@ -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"