[packages/liblastfm] Up to 1.1.0

arekm arekm at pld-linux.org
Sun Mar 15 02:11:55 CET 2026


commit e44a9f072cdd73942fa170cfd905862218924943
Author: Arkadiusz Miśkiewicz <arekm at maven.pl>
Date:   Sun Mar 15 02:11:48 2026 +0100

    Up to 1.1.0

 liblastfm-cxx17.patch | 40 ++++++++++++++++++++++++++++++++++++++++
 liblastfm.spec        | 10 ++++++----
 2 files changed, 46 insertions(+), 4 deletions(-)
---
diff --git a/liblastfm.spec b/liblastfm.spec
index 7a69782..fe80562 100644
--- a/liblastfm.spec
+++ b/liblastfm.spec
@@ -9,13 +9,14 @@
 Summary:	Qt4 based library to access Last.fm features
 Summary(pl.UTF-8):	Oparta na Qt4 biblioteka pozwalająca na dostep do funkcjonalności Last.fm
 Name:		liblastfm
-Version:	1.0.9
-Release:	2
+Version:	1.1.0
+Release:	1
 License:	GPL v3
 Group:		Libraries
 #Source0Download: https://github.com/lastfm/liblastfm/releases
 Source0:	https://github.com/lastfm/liblastfm/archive/%{version}/%{name}-%{version}.tar.gz
-# Source0-md5:	8748f423f66f2fbc38c39f9153d01a71
+# Source0-md5:	48271beff8dbbd5e4b81c1f03a09ed3d
+Patch0:		%{name}-cxx17.patch
 URL:		https://github.com/lastfm/liblastfm
 BuildRequires:	cmake >= 2.8.6
 BuildRequires:	libstdc++-devel
@@ -120,6 +121,7 @@ Pliki nagłówkowe bibliotek liblastfm opartych na Qt4.
 
 %prep
 %setup -q
+%patch -P0 -p1
 
 %build
 %if %{with qt4}
@@ -202,5 +204,5 @@ rm -rf $RPM_BUILD_ROOT
 %if %{with fingerprint}
 %attr(755,root,root) %{_libdir}/liblastfm_fingerprint5.so
 %endif
-%{_includedir}/lastfm
+%{_includedir}/lastfm5
 %endif
diff --git a/liblastfm-cxx17.patch b/liblastfm-cxx17.patch
new file mode 100644
index 0000000..57a68c6
--- /dev/null
+++ b/liblastfm-cxx17.patch
@@ -0,0 +1,40 @@
+--- a/src/fingerprint/Fingerprint.h	2026-03-15 02:05:06.704463032 +0100
++++ src/fingerprint/Fingerprint.h	2026-03-15 02:05:14.132356662 +0100
+@@ -71,7 +71,7 @@
+         };
+ 
+         /** This is CPU intensive, do it in a thread in your GUI application */
+-        void generate( FingerprintableSource* ) throw( Error );
++        void generate( FingerprintableSource* );
+ 
+         /** Submits the fingerprint data to Last.fm in order to get a FingerprintId
+           * back. You need to wait for the QNetworkReply to finish before you can
+@@ -82,7 +82,7 @@
+           * will be valid. Otherwise we will throw. You always get a valid id
+           * or a throw.
+           */
+-        void decode( QNetworkReply*, bool* lastfm_needs_a_complete_fingerprint = 0 ) throw( Error );
++        void decode( QNetworkReply*, bool* lastfm_needs_a_complete_fingerprint = 0 );
+     };
+ 
+ 
+--- a/src/fingerprint/Fingerprint.cpp	2026-03-15 02:05:06.706304829 +0100
++++ src/fingerprint/Fingerprint.cpp	2026-03-15 02:05:14.132575755 +0100
+@@ -94,7 +94,7 @@
+ 
+ 
+ void
+-lastfm::Fingerprint::generate( FingerprintableSource* ms ) throw( Error )
++lastfm::Fingerprint::generate( FingerprintableSource* ms )
+ {
+     //TODO throw if we can't get required metadata from the track object
+     
+@@ -306,7 +306,7 @@
+ 
+ 
+ void
+-lastfm::Fingerprint::decode( QNetworkReply* reply, bool* complete_fingerprint_requested ) throw( Error )
++lastfm::Fingerprint::decode( QNetworkReply* reply, bool* complete_fingerprint_requested )
+ {
+     // The response data will consist of a number and a string.
+     // The number is the fpid and the string is either FOUND or NEW
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/liblastfm.git/commitdiff/e44a9f072cdd73942fa170cfd905862218924943



More information about the pld-cvs-commit mailing list