From ace614b7dd09cfbed45b8e08cf3aed9be7c4bde521930a57d089bcd74d1fd7ed Mon Sep 17 00:00:00 2001 From: Cristian Morales Vega Date: Thu, 6 Dec 2012 12:41:06 +0000 Subject: [PATCH] - Add qmmp-0.6.4-flac_mimetype.patch to use the correct MIME type to report support for FLAC files OBS-URL: https://build.opensuse.org/package/show/multimedia:apps/qmmp?expand=0&rev=27 --- qmmp-0.6.4-flac_mimetype.patch | 24 ++++++++++++++++++++++++ qmmp.changes | 6 ++++++ qmmp.spec | 3 +++ 3 files changed, 33 insertions(+) create mode 100644 qmmp-0.6.4-flac_mimetype.patch diff --git a/qmmp-0.6.4-flac_mimetype.patch b/qmmp-0.6.4-flac_mimetype.patch new file mode 100644 index 0000000..6d782e2 --- /dev/null +++ b/qmmp-0.6.4-flac_mimetype.patch @@ -0,0 +1,24 @@ +Index: src/app/qmmp.desktop +=================================================================== +--- src/app/qmmp.desktop.orig ++++ src/app/qmmp.desktop +@@ -22,5 +22,5 @@ Icon=qmmp + Terminal=false + Type=Application + Categories=AudioVideo;Player;Audio;Qt; +-MimeType=application/x-ogg;audio/mp3;audio/mpeg;audio/x-flac;audio/x-mp3;audio/x-mpeg;audio/x-ms-wma;audio/x-musepack;application/ogg;audio/x-vorbis+ogg;audio/x-scpls;audio/x-mpegurl;audio/x-it;audio/x-mod;audio/x-ape;application/x-cue;audio/x-ffmpeg-shorten; ++MimeType=application/x-ogg;audio/mp3;audio/mpeg;audio/flac;audio/x-mp3;audio/x-mpeg;audio/x-ms-wma;audio/x-musepack;application/ogg;audio/x-vorbis+ogg;audio/x-scpls;audio/x-mpegurl;audio/x-it;audio/x-mod;audio/x-ape;application/x-cue;audio/x-ffmpeg-shorten; + X-KDE-StartupNotify=false +Index: src/app/qmmp_enqueue.desktop +=================================================================== +--- src/app/qmmp_enqueue.desktop.orig ++++ src/app/qmmp_enqueue.desktop +@@ -17,7 +17,7 @@ Comment[zh_TW]=添加一個或多個檔æ + Exec=qmmp -e %F + Icon=qmmp + Categories=AudioVideo;Player;Audio;Qt; +-MimeType=application/x-ogg;audio/mp3;audio/mpeg;audio/x-flac;audio/x-mp3;audio/x-mpeg;audio/x-ms-wma;audio/x-musepack;application/ogg;audio/x-vorbis+ogg;audio/x-scpls;audio/x-mpegurl;audio/x-it;audio/x-mod;audio/x-ape;application/x-cue;audio/x-ffmpeg-shorten;inode/directory; ++MimeType=application/x-ogg;audio/mp3;audio/mpeg;audio/flac;audio/x-mp3;audio/x-mpeg;audio/x-ms-wma;audio/x-musepack;application/ogg;audio/x-vorbis+ogg;audio/x-scpls;audio/x-mpegurl;audio/x-it;audio/x-mod;audio/x-ape;application/x-cue;audio/x-ffmpeg-shorten;inode/directory; + Type=Application + X-KDE-StartupNotify=false + NoDisplay=true diff --git a/qmmp.changes b/qmmp.changes index 6c6c72d..42e3510 100644 --- a/qmmp.changes +++ b/qmmp.changes @@ -1,3 +1,9 @@ +------------------------------------------------------------------- +Thu Dec 6 13:43:18 UTC 2012 - reddwarf@opensuse.org + +- Add qmmp-0.6.4-flac_mimetype.patch to use the correct MIME type + to report support for FLAC files + ------------------------------------------------------------------- Sun Nov 4 17:12:49 UTC 2012 - reddwarf@opensuse.org diff --git a/qmmp.spec b/qmmp.spec index f533520..773322c 100644 --- a/qmmp.spec +++ b/qmmp.spec @@ -32,6 +32,8 @@ Url: http://qmmp.ylsoftware.com/ Source0: http://qmmp.googlecode.com/files/qmmp-%{version}.tar.bz2 # PATCH-FEATURE-OPENSUSE qmmp-0.6.1-default_pulse.patch reddwarf@opensuse.org -- Use PulseAudio instead of ALSA by default Patch0: qmmp-0.6.1-default_pulse.patch +# PATCH-FIXUPSTREAM qmmp-0.6.4-flac_mimetype.patch http://code.google.com/p/qmmp/issues/detail?id=567 reddwarf@opensuse.org -- report support for FLAC using the correct MIME type +Patch1: qmmp-0.6.4-flac_mimetype.patch BuildRequires: cmake BuildRequires: desktop-file-utils BuildRequires: gcc-c++ @@ -123,6 +125,7 @@ Development files for libqmmp. %prep %setup -q %patch0 +%patch1 %build mkdir build