[packages/clementine] fix .desktop categories (add Audio); patch from fedora
glen
glen at pld-linux.org
Sat Sep 7 20:00:16 CEST 2013
commit 68fe38b0fe02591c663cf7f7af6007e87498bad8
Author: Elan Ruusamäe <glen at delfi.ee>
Date: Sat Sep 7 20:59:35 2013 +0300
fix .desktop categories (add Audio); patch from fedora
clementine-dt_categories.patch | 12 ++++++++++++
clementine.spec | 2 ++
2 files changed, 14 insertions(+)
---
diff --git a/clementine.spec b/clementine.spec
index 17376ce..d913633 100644
--- a/clementine.spec
+++ b/clementine.spec
@@ -28,6 +28,7 @@ Source0: http://clementine-player.googlecode.com/files/%{name}-%{version}.tar.gz
Patch0: desktop-install.patch
Patch1: unbundle-po.patch
Patch2: %{name}-1.1.1-libimobiledevice-fix.patch
+Patch3: %{name}-dt_categories.patch
BuildRequires: QtCore-devel >= %{qtver}
BuildRequires: QtDBus-devel >= %{qtver}
BuildRequires: QtGui-devel >= %{qtver}
@@ -100,6 +101,7 @@ a Qt4 előnyeit.
%patch0 -p1
%patch1 -p1
%patch2 -p1
+%patch3 -p1
# We already don't use these but just to make sure
rm -rf 3rdparty/gmock
diff --git a/clementine-dt_categories.patch b/clementine-dt_categories.patch
new file mode 100644
index 0000000..9cfc4b5
--- /dev/null
+++ b/clementine-dt_categories.patch
@@ -0,0 +1,12 @@
+diff -up clementine-1.1.1/dist/clementine.desktop.dt_categories clementine-1.1.1/dist/clementine.desktop
+--- clementine-1.1.1/dist/clementine.desktop.dt_categories 2013-09-04 09:22:46.473387810 -0500
++++ clementine-1.1.1/dist/clementine.desktop 2013-09-04 09:36:29.172687094 -0500
+@@ -10,7 +10,7 @@ Exec=clementine %U
+ TryExec=clementine
+ Icon=application-x-clementine
+ Terminal=false
+-Categories=AudioVideo;Player;Qt;
++Categories=AudioVideo;Audio;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;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;
================================================================
---- gitweb:
http://git.pld-linux.org/gitweb.cgi/packages/clementine.git/commitdiff/68fe38b0fe02591c663cf7f7af6007e87498bad8
More information about the pld-cvs-commit
mailing list