Mercurial > audlegacy
changeset 3671:86e26cee3a15
Fix install of audacious.desktop.
author | Jonathan Schleifer <js@h3c.de> |
---|---|
date | Sun, 30 Sep 2007 13:21:17 +0200 |
parents | 3a6464407cfd |
children | 5577a3ff7b27 |
files | Makefile applications/audacious.desktop audacious.desktop |
diffstat | 3 files changed, 29 insertions(+), 12 deletions(-) [+] |
line wrap: on
line diff
--- a/Makefile Sun Sep 30 13:09:12 2007 +0200 +++ b/Makefile Sun Sep 30 13:21:17 2007 +0200 @@ -117,6 +117,14 @@ ${INSTALL_FAILED}; \ fi; \ done + for i in audacious.desktop; do \ + ${INSTALL_STATUS}; \ + if ${MKDIR_P} ${DESTDIR}${datadir}/applications && ${INSTALL} -m 644 $$i ${DESTDIR}${datadir}/applications/$$i; then \ + ${INSTALL_OK}; \ + else \ + ${INSTALL_FAILED}; \ + fi \ + done uninstall-extra: for i in audacious.pc audclient.pc; do \ @@ -128,3 +136,12 @@ fi \ fi; \ done + for i in audacious.desktop; do \ + if test -f ${DESTDIR}${datadir}/applications/$$i; then \ + if rm -f ${DESTDIR}${datadir}/applications/$$i; then \ + ${DELETE_OK}; \ + else \ + ${DELETE_FAILED}; \ + fi \ + fi \ + done
--- a/applications/audacious.desktop Sun Sep 30 13:09:12 2007 +0200 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 @@ -1,12 +0,0 @@ -[Desktop Entry] -Name=Audacious -GenericName=Audio Player -Comment=Play music -Comment[hu]=Zene lejátszása -Exec=audacious %U -Icon=audacious -MimeType=application/x-ogg;audio/mp3;audio/mpeg;audio/mpegurl;audio/prs.sid;audio/x-flac;audio/x-it;audio/x-mod;audio/x-mp3;audio/x-mpeg;audio/x-mpegurl;audio/x-ms-wma;audio/x-musepack;audio/x-s3m;audio/x-scpls;audio/x-stm;audio/x-wav;audio/x-xm;application/ogg;audio/x-vorbis+ogg -Categories=Application;GTK;AudioVideo;Player; -Terminal=false -Type=Application -Encoding=UTF-8
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/audacious.desktop Sun Sep 30 13:21:17 2007 +0200 @@ -0,0 +1,12 @@ +[Desktop Entry] +Name=Audacious +GenericName=Audio Player +Comment=Play music +Comment[hu]=Zene lejátszása +Exec=audacious %U +Icon=audacious +MimeType=application/x-ogg;audio/mp3;audio/mpeg;audio/mpegurl;audio/prs.sid;audio/x-flac;audio/x-it;audio/x-mod;audio/x-mp3;audio/x-mpeg;audio/x-mpegurl;audio/x-ms-wma;audio/x-musepack;audio/x-s3m;audio/x-scpls;audio/x-stm;audio/x-wav;audio/x-xm;application/ogg;audio/x-vorbis+ogg +Categories=Application;GTK;AudioVideo;Player; +Terminal=false +Type=Application +Encoding=UTF-8