summaryrefslogtreecommitdiff
path: root/audio/lastfm-desktop/files
diff options
context:
space:
mode:
Diffstat (limited to 'audio/lastfm-desktop/files')
-rw-r--r--audio/lastfm-desktop/files/lastfm-desktop.sh.in2
-rw-r--r--audio/lastfm-desktop/files/patch-admin_include.qmake11
-rw-r--r--audio/lastfm-desktop/files/patch-app_client_Application.cpp11
-rw-r--r--audio/lastfm-desktop/files/patch-app_client_Services_RadioService_RadioService.cpp11
-rw-r--r--audio/lastfm-desktop/files/patch-app_fingerprinter_LAV__Source.cpp40
5 files changed, 0 insertions, 75 deletions
diff --git a/audio/lastfm-desktop/files/lastfm-desktop.sh.in b/audio/lastfm-desktop/files/lastfm-desktop.sh.in
deleted file mode 100644
index 45505546a5a9..000000000000
--- a/audio/lastfm-desktop/files/lastfm-desktop.sh.in
+++ /dev/null
@@ -1,2 +0,0 @@
-#!/bin/sh
-cd %%DATADIR%% && ./lastfm-scrobbler -stylesheet "Last.fm Scrobbler.css"
diff --git a/audio/lastfm-desktop/files/patch-admin_include.qmake b/audio/lastfm-desktop/files/patch-admin_include.qmake
deleted file mode 100644
index 4fd1a2ce537b..000000000000
--- a/audio/lastfm-desktop/files/patch-admin_include.qmake
+++ /dev/null
@@ -1,11 +0,0 @@
---- admin/include.qmake.orig 2013-09-03 12:19:10 UTC
-+++ admin/include.qmake
-@@ -45,8 +45,6 @@ unix:!mac {
- #default install target
- target.path = $$INSTALL_DIR/lib
-
--CONFIG += silent
--
- macx:CONFIG( app_bundle ): contains( TEMPLATE, app ) {
- DISTDIR = $$ROOT_DIR/admin/dist/mac
- BUNDLE_DIR = $$DESTDIR/$$TARGET$$quote(.app)
diff --git a/audio/lastfm-desktop/files/patch-app_client_Application.cpp b/audio/lastfm-desktop/files/patch-app_client_Application.cpp
deleted file mode 100644
index 15092c0f1b07..000000000000
--- a/audio/lastfm-desktop/files/patch-app_client_Application.cpp
+++ /dev/null
@@ -1,11 +0,0 @@
---- app/client/Application.cpp.orig 2017-12-21 08:34:38 UTC
-+++ app/client/Application.cpp
-@@ -430,7 +430,7 @@ Application::showAs( bool showAs )
- void
- Application::setRaiseHotKey( Qt::KeyboardModifiers mods, int key )
- {
-- if( m_raiseHotKeyId >= 0 )
-+ if( m_raiseHotKeyId >= (void *)0 )
- unInstallHotKey( m_raiseHotKeyId );
-
- m_raiseHotKeyId = installHotKey( mods, key, m_toggle_window_action, SLOT(trigger()));
diff --git a/audio/lastfm-desktop/files/patch-app_client_Services_RadioService_RadioService.cpp b/audio/lastfm-desktop/files/patch-app_client_Services_RadioService_RadioService.cpp
deleted file mode 100644
index b6f16737d492..000000000000
--- a/audio/lastfm-desktop/files/patch-app_client_Services_RadioService_RadioService.cpp
+++ /dev/null
@@ -1,11 +0,0 @@
---- app/client/Services/RadioService/RadioService.cpp.orig 2013-09-03 12:19:10 UTC
-+++ 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;
diff --git a/audio/lastfm-desktop/files/patch-app_fingerprinter_LAV__Source.cpp b/audio/lastfm-desktop/files/patch-app_fingerprinter_LAV__Source.cpp
deleted file mode 100644
index 135e3eb10c52..000000000000
--- a/audio/lastfm-desktop/files/patch-app_fingerprinter_LAV__Source.cpp
+++ /dev/null
@@ -1,40 +0,0 @@
---- app/fingerprinter/LAV_Source.cpp.orig 2013-09-03 12:19:10 UTC
-+++ app/fingerprinter/LAV_Source.cpp
-@@ -23,6 +23,10 @@
- #define __STDC_CONSTANT_MACROS 1
- #endif
-
-+#ifndef AVCODEC_MAX_AUDIO_FRAME_SIZE
-+#define AVCODEC_MAX_AUDIO_FRAME_SIZE 192000
-+#endif
-+
- extern "C" {
- #include <libavformat/avformat.h>
- #include <libavutil/mathematics.h>
-@@ -113,7 +117,7 @@ uint8_t * LAV_SourcePrivate::decodeOneFr
- {
- char buf[256];
- AVPacket packet;
-- AVFrame *decodedFrame = avcodec_alloc_frame();
-+ AVFrame *decodedFrame = av_frame_alloc();
- av_init_packet(&packet);
-
- int frameFinished = 0;
-@@ -288,7 +292,7 @@ uint8_t * LAV_SourcePrivate::decodeOneFr
- av_free_packet(&packet);
- }
- timestamp += (double)nSamples / decodedFrame->sample_rate;
-- avcodec_free_frame(&decodedFrame);
-+ av_frame_free(&decodedFrame);
- return outBuffer;
- }
-
-@@ -405,7 +409,7 @@ void LAV_Source::getInfo(int& lengthSecs
-
- void LAV_Source::release()
- {
-- if ( d->inCodecContext && d->inCodecContext->codec_id != CODEC_ID_NONE )
-+ if ( d->inCodecContext && d->inCodecContext->codec_id != AV_CODEC_ID_NONE )
- {
- avcodec_close(d->inCodecContext);
- }