Accepting request 144406 from multimedia:apps

- 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/request/show/144406
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/qmmp?expand=0&rev=11
This commit is contained in:
Ismail Dönmez 2012-12-07 13:49:55 +00:00 committed by Git OBS Bridge
commit 7a9ce78092
3 changed files with 33 additions and 0 deletions

View File

@ -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

View File

@ -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

View File

@ -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