[banshee] MediaPanel: Add banshee-media-panel.desktop file



commit 9b20c3f17c524e51350b8b6db7f662f73d6c405a
Author: Bertrand Lorentz <bertrand lorentz gmail com>
Date:   Sun Oct 20 18:21:42 2013 +0200

    MediaPanel: Add banshee-media-panel.desktop file

 .gitignore                                         |    2 +-
 src/Extensions/Banshee.MediaPanel/Makefile.am      |   14 ++++++++++++++
 .../banshee-media-panel.desktop.in                 |   12 ++++++++++++
 3 files changed, 27 insertions(+), 1 deletions(-)
---
diff --git a/.gitignore b/.gitignore
index 7584ed1..90629c2 100644
--- a/.gitignore
+++ b/.gitignore
@@ -36,7 +36,7 @@ INSTALL
 aclocal.m4
 autom4te.cache/
 bin/
-src/Extensions/Banshee.MeeGo/meego-panel-banshee.desktop
+src/Extensions/Banshee.MediaPanel/banshee-media-panel.desktop
 install-sh
 libtool
 ltmain.sh
diff --git a/src/Extensions/Banshee.MediaPanel/Makefile.am b/src/Extensions/Banshee.MediaPanel/Makefile.am
index 86a4163..3d3c3d2 100644
--- a/src/Extensions/Banshee.MediaPanel/Makefile.am
+++ b/src/Extensions/Banshee.MediaPanel/Makefile.am
@@ -3,6 +3,8 @@ TARGET = library
 LINK = $(REF_EXTENSION_MEDIAPANEL) $(LINK_EXTENSION_PLAYQUEUE_DEPS)
 INSTALL_DIR = $(EXTENSIONS_INSTALL_DIR)
 
+ INTLTOOL_DESKTOP_RULE@
+
 SOURCES =  \
        Banshee.MediaPanel/HeaderBox.cs \
        Banshee.MediaPanel/MediaPanel.cs \
@@ -16,3 +18,15 @@ SOURCES =  \
 RESOURCES = Banshee.MediaPanel.addin.xml
 
 include $(top_srcdir)/build/build.mk
+
+desktopfiles_in_files = banshee-media-panel.desktop.in
+desktopfiles_files = $(desktopfiles_in_files:.desktop.in=.desktop)
+desktopfilesdir = $(datadir)/applications
+desktopfiles_DATA = $(desktopfiles_files)
+
+clean-local:
+       rm -f $(desktopfiles_in_files) \
+               $(desktopfiles_files)
+
+EXTRA_DIST += \
+       $(desktopfiles_in_files)
diff --git a/src/Extensions/Banshee.MediaPanel/banshee-media-panel.desktop.in 
b/src/Extensions/Banshee.MediaPanel/banshee-media-panel.desktop.in
new file mode 100644
index 0000000..4f5203b
--- /dev/null
+++ b/src/Extensions/Banshee.MediaPanel/banshee-media-panel.desktop.in
@@ -0,0 +1,12 @@
+[Desktop Entry]
+_Name=Banshee Media Panel
+_GenericName=Banshee Media Panel
+_X-GNOME-FullName=Banshee Media Panel
+_Comment=Play and browse your media collection
+_Keywords=Video;Movie;Film;Clip;Flick;Series;Media;Player;DVD;Disc;Mp3;Audio;CD;MTP;Podcast;DAAP;Playlist;Ipod;Multimedia;Collection;Music;Radio;
+Exec=banshee --redirect-log --client=MediaPanel
+Icon=media-player-banshee
+StartupNotify=true
+Terminal=false
+Type=Application
+Categories=GTK;GNOME;Audio;Music;Player;AudioVideo;X-Ximian-Main;X-Novell-Main;X-Red-Hat-Base;


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]