From 46c18b875a3191494ea55b33d2c4719e977040ec Mon Sep 17 00:00:00 2001 From: "Jason E. Hale" Date: Tue, 17 Apr 2018 23:27:21 +0000 Subject: - Update audio/liblastfm to 1.0.9-5-g4433165 [1] - Add audio/liblastfm-qt5 slave port which provides a Qt 5 interface [1] - Explicitly mark UrlBuilder::mobilize() as deprecated - Allow Qt4 and Qt5 versions to be installed concurrently - Make sure liblastfm creates the directories it uses instead of relying on client apps to do so PR: 226530 [1] Submitted by: Greg V [1] --- audio/liblastfm/files/patch-src_UrlBuilder.h | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) (limited to 'audio/liblastfm/files/patch-src_UrlBuilder.h') diff --git a/audio/liblastfm/files/patch-src_UrlBuilder.h b/audio/liblastfm/files/patch-src_UrlBuilder.h index 88626358b253..06ed8a3b666e 100644 --- a/audio/liblastfm/files/patch-src_UrlBuilder.h +++ b/audio/liblastfm/files/patch-src_UrlBuilder.h @@ -1,9 +1,9 @@ Add prototype for localePath() and adjust comments to reflect current website layout ---- src/UrlBuilder.h.orig 2014-10-02 14:05:46 UTC +--- src/UrlBuilder.h.orig 2015-02-06 16:49:40 UTC +++ src/UrlBuilder.h -@@ -44,9 +44,11 @@ namespace lastfm +@@ -44,10 +44,12 @@ namespace lastfm QUrl url() const; @@ -11,12 +11,14 @@ website layout + /** www.last.fm becomes the local version, e.g. www.last.fm/de */ static QUrl localize( QUrl ); - /** www.last.fm becomes m.last.fm, localisation is preserved */ +- static QUrl mobilize( QUrl ); + + /** DEPRECATED: Returns url as-is since the mobile website redirects + * to the main website */ - static QUrl mobilize( QUrl ); ++ Q_DECL_DEPRECATED static QUrl mobilize( QUrl ); /** Use this to URL encode any database item (artist, track, album). It + * internally calls UrlEncodeSpecialChars to double encode some special @@ -60,7 +62,10 @@ namespace lastfm */ static QByteArray encode( QString ); -- cgit v1.2.3