summaryrefslogtreecommitdiff
path: root/openembedded/packages
diff options
context:
space:
mode:
Diffstat (limited to 'openembedded/packages')
-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"