From abd7bed268656e438bd27d08c36227b2bdd8c191 Mon Sep 17 00:00:00 2001 From: Mebus Date: Wed, 16 Jul 2014 11:40:26 +0200 Subject: [PATCH 1/3] Update RadioService.cpp Patch from http://www.calculate-linux.org/packages/media-sound/lastfm-desktop/files/lastfm-desktop-2.1.36-missing-cast.patch --- app/client/Services/RadioService/RadioService.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/client/Services/RadioService/RadioService.cpp b/app/client/Services/RadioService/RadioService.cpp index 05f22c896..10094b60a 100644 --- a/app/client/Services/RadioService/RadioService.cpp +++ b/app/client/Services/RadioService/RadioService.cpp @@ -307,7 +307,7 @@ RadioService::mute() void RadioService::onPhononStateChanged( Phonon::State newstate, Phonon::State oldstate ) { - qDebug() << oldstate << " -> " << newstate; + qDebug() << (int)oldstate << " -> " << (int)newstate; if (m_mediaObject == 0) { qDebug() << "m_mediaObject is null!"; return; From f1329d47481ebfdae6e29bdcf6c61a5bae561ce7 Mon Sep 17 00:00:00 2001 From: Mebus Date: Wed, 16 Jul 2014 11:58:54 +0200 Subject: [PATCH 2/3] Update LAV_Source.cpp (don't use deprecated AVCODEC_MAX_AUDIO_FRAME_SIZE ...) --- app/fingerprinter/LAV_Source.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/app/fingerprinter/LAV_Source.cpp b/app/fingerprinter/LAV_Source.cpp index 62d5d62b2..99b202cf6 100644 --- a/app/fingerprinter/LAV_Source.cpp +++ b/app/fingerprinter/LAV_Source.cpp @@ -42,6 +42,8 @@ extern "C" { #include +#define AVCODEC_MAX_AUDIO_FRAME_SIZE 192000 + using namespace std; From 210ed7b890dbdcf319aa54ca3387d7d1966b7b4c Mon Sep 17 00:00:00 2001 From: Mebus Date: Wed, 16 Jul 2014 12:00:40 +0200 Subject: [PATCH 3/3] Update README.md use qmake-qt4 --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 239bb8e72..2fbff11a3 100644 --- a/README.md +++ b/README.md @@ -123,7 +123,7 @@ software to scrobble your iPod. # Build Instructions - qmake -r + qmake-qt4 -r make -j4 `make install` currently does not work on Windows or OSX.