]> git.pld-linux.org Git - packages/amarok.git/commitdiff
- attpempt to fix build with ffmpeg 0.7 and 0.8
authorlisu <lisu@pld-linux.org>
Fri, 1 Jul 2011 12:59:39 +0000 (12:59 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
Changed files:
    amarok-ffmpeg08.patch -> 1.1
    amarok.spec -> 1.248

amarok-ffmpeg08.patch [new file with mode: 0644]
amarok.spec

diff --git a/amarok-ffmpeg08.patch b/amarok-ffmpeg08.patch
new file mode 100644 (file)
index 0000000..a371dc2
--- /dev/null
@@ -0,0 +1,18 @@
+--- amarok-2.4.1/src/musicbrainz/MusicDNSAudioDecoder.cpp~     2011-05-05 21:06:53.000000000 +0200
++++ amarok-2.4.1/src/musicbrainz/MusicDNSAudioDecoder.cpp      2011-07-01 14:57:41.811795115 +0200
+@@ -150,7 +150,7 @@
+         audioStream = -1;
+         for(i = 0; i < ( int )pFormatCtx->nb_streams; i++ )
+-            if( pFormatCtx->streams[i]->codec->codec_type == CODEC_TYPE_AUDIO )
++            if( pFormatCtx->streams[i]->codec->codec_type == AVMEDIA_TYPE_AUDI )
+             {
+                 audioStream = i;
+                 break;
+@@ -252,4 +252,4 @@
+ }
+-#include "MusicDNSAudioDecoder.moc"
+\ Brak znaku nowej linii na końcu pliku
++#include "MusicDNSAudioDecoder.moc"
index 260fb2b0e2dc9f930af2c42406c5996c97cba037..3876ca8411870c1cd8a5d92b17c1a9aab9371c8a 100644 (file)
@@ -18,6 +18,7 @@ Group:                X11/Applications/Multimedia
 Source0:       ftp://ftp.kde.org/pub/kde/%{state}/amarok/%{version}/src/%{name}-%{version}.tar.bz2
 # Source0-md5: 4c65c5cd4d7bd267bdbef8e912fd6cb6
 Patch0:                %{name}-disable_qtscriptbindings_check_fix.patch
+Patch1:                %{name}-ffmpeg08.patch
 URL:           http://amarok.kde.org/
 BuildRequires: QtNetwork-devel >= %{qtver}
 BuildRequires: QtSql-devel >= %{qtver}
@@ -111,6 +112,7 @@ Więcej o skryptach w amaroKu można dowiedzieć się stąd:
 %prep
 %setup -q
 %patch0 -p1
+%patch1 -p1
 
 %build
 install -d build
This page took 0.058405 seconds and 4 git commands to generate.