summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSteve Sakoman <steve@sakoman.com>2009-07-27 21:04:17 -0700
committerKoen Kooi <koen@openembedded.org>2009-07-28 11:13:43 +0200
commit758afabaffd34952dfdd31497f8e74c39c78ecc4 (patch)
treeb5df6d1ab2d41a4e46e4e4015025332287ec4085
parenta1adb7f8b667756434bfe5082b28fb90ad4205a6 (diff)
xmms: tweak .desktop file so that it works with gnome
-rw-r--r--recipes/xmms/xmms_1.2.10.bb11
1 files changed, 8 insertions, 3 deletions
diff --git a/recipes/xmms/xmms_1.2.10.bb b/recipes/xmms/xmms_1.2.10.bb
index 0f81e87518..86421d89c4 100644
--- a/recipes/xmms/xmms_1.2.10.bb
+++ b/recipes/xmms/xmms_1.2.10.bb
@@ -10,7 +10,7 @@ SRC_URI = "http://www.xmms.org/files/1.2.x/xmms-${PV}.tar.bz2 \
file://xmms-config-dequote.patch;patch=1 \
file://acinclude.m4 \
file://xmms.sh"
-PR = "r4"
+PR = "r5"
RRECOMMENDS_${PN} = "xmms-plugin-output-oss xmms-plugin-output-alsa \
xmms-mad xmms-tremor"
@@ -36,9 +36,14 @@ do_configure_prepend() {
do_install_append() {
install -m 0755 ${WORKDIR}/xmms.sh ${D}${bindir}
install -d ${D}${datadir}/applications
- install xmms/xmms.desktop ${D}${datadir}/applications
- sed -i "s/Exec=xmms/Exec=xmms.sh/" ${D}${datadir}/applications/xmms.desktop
+
+ install xmms/xmms.desktop ${D}${datadir}/applications
+ sed -i "s/Exec=xmms/Exec=xmms.sh/" ${D}${datadir}/applications/xmms.desktop
+ sed -i "s/comment/Comment/" ${D}${datadir}/applications/xmms.desktop
+ sed -i "s/Encoding=Legacy-Mixed/StartupNotify=true/" ${D}${datadir}/applications/xmms.desktop
+ sed -i "s/Terminal=0/Terminal=false/" ${D}${datadir}/applications/xmms.desktop
sed -i "s/Type=Application/Type=Application\nCategories=AudioVideo;/" ${D}${datadir}/applications/xmms.desktop
+
install -d ${D}${datadir}/pixmaps
install xmms/xmms_mini.xpm ${D}${datadir}/pixmaps
}