diff --git a/debian/clementine.gconf-defaults b/debian/clementine.gconf-defaults new file mode 100644 index 000000000..b30c62310 --- /dev/null +++ b/debian/clementine.gconf-defaults @@ -0,0 +1,4 @@ +/desktop/gnome/url-handlers/zune/command "clementine %s" +/desktop/gnome/url-handlers/itpc/command "clementine %s" +/desktop/gnome/url-handlers/itms/command "clementine %s" +/desktop/gnome/url-handlers/feed/command "clementine %s" \ No newline at end of file diff --git a/debian/rules.in b/debian/rules.in index 8fdfedbf8..b1b32eaf7 100755 --- a/debian/rules.in +++ b/debian/rules.in @@ -48,6 +48,7 @@ binary-arch: install dh_installchangelogs dh_installmenu dh_installdocs + dh_gconf dh_link dh_strip dh_compress diff --git a/dist/CMakeLists.txt b/dist/CMakeLists.txt index 04b5fdb6f..8c76dc64b 100644 --- a/dist/CMakeLists.txt +++ b/dist/CMakeLists.txt @@ -40,6 +40,10 @@ if (NOT APPLE) DESTINATION share/applications ) + install(FILES itms.protocol itpc.protocol feed.protocol zune.protocol + DESTINATION share/kde4/services + ) + if(INSTALL_UBUNTU_ICONS) foreach(icon clementine-panel.png clementine-panel-grey.png) foreach(theme ubuntu-mono-dark ubuntu-mono-light) diff --git a/dist/clementine.desktop b/dist/clementine.desktop index 4738e3ad0..a19f40f19 100755 --- a/dist/clementine.desktop +++ b/dist/clementine.desktop @@ -12,7 +12,7 @@ Icon=application-x-clementine Terminal=false Categories=AudioVideo;Player;Qt; StartupNotify=false -MimeType=application/ogg;application/x-ogg;application/x-ogm-audio;audio/aac;audio/mp4;audio/mpeg;audio/mpegurl;audio/ogg;audio/vnd.rn-realaudio;audio/vorbis;audio/x-flac;audio/x-mp3;audio/x-mpeg;audio/x-mpegurl;audio/x-ms-wma;audio/x-musepack;audio/x-oggflac;audio/x-pn-realaudio;audio/x-scpls;audio/x-speex;audio/x-vorbis;audio/x-vorbis+ogg;audio/x-wav;video/x-ms-asf;x-content/audio-player; +MimeType=application/ogg;application/x-ogg;application/x-ogm-audio;audio/aac;audio/mp4;audio/mpeg;audio/mpegurl;audio/ogg;audio/vnd.rn-realaudio;audio/vorbis;audio/x-flac;audio/x-mp3;audio/x-mpeg;audio/x-mpegurl;audio/x-ms-wma;audio/x-musepack;audio/x-oggflac;audio/x-pn-realaudio;audio/x-scpls;audio/x-speex;audio/x-vorbis;audio/x-vorbis+ogg;audio/x-wav;video/x-ms-asf;x-content/audio-player;x-scheme-handler/zune;x-scheme-handler/itpc;x-scheme-handler/itms;x-scheme-handler/feed; X-Ayatana-Desktop-Shortcuts=Play;Pause;Stop;Previous;Next; [Play Shortcut Group] diff --git a/dist/feed.protocol b/dist/feed.protocol new file mode 100644 index 000000000..f8ac83d8d --- /dev/null +++ b/dist/feed.protocol @@ -0,0 +1,13 @@ +[Protocol] +exec=clementine %U +protocol=itpc +input=none +output=none +helper=true +listing=false +reading=false +writing=false +makedir=false +deleting=false +URIMode=rawuri +Icon=application-x-clementine \ No newline at end of file diff --git a/dist/itms.protocol b/dist/itms.protocol new file mode 100644 index 000000000..f8ac83d8d --- /dev/null +++ b/dist/itms.protocol @@ -0,0 +1,13 @@ +[Protocol] +exec=clementine %U +protocol=itpc +input=none +output=none +helper=true +listing=false +reading=false +writing=false +makedir=false +deleting=false +URIMode=rawuri +Icon=application-x-clementine \ No newline at end of file diff --git a/dist/itpc.protocol b/dist/itpc.protocol new file mode 100644 index 000000000..f8ac83d8d --- /dev/null +++ b/dist/itpc.protocol @@ -0,0 +1,13 @@ +[Protocol] +exec=clementine %U +protocol=itpc +input=none +output=none +helper=true +listing=false +reading=false +writing=false +makedir=false +deleting=false +URIMode=rawuri +Icon=application-x-clementine \ No newline at end of file diff --git a/dist/zune.protocol b/dist/zune.protocol new file mode 100644 index 000000000..f8ac83d8d --- /dev/null +++ b/dist/zune.protocol @@ -0,0 +1,13 @@ +[Protocol] +exec=clementine %U +protocol=itpc +input=none +output=none +helper=true +listing=false +reading=false +writing=false +makedir=false +deleting=false +URIMode=rawuri +Icon=application-x-clementine \ No newline at end of file