git: 7d098d46fdc7 - main - audio/spotify-qt: Update to 3.10

From: Emanuel Haupt <ehaupt_at_FreeBSD.org>
Date: Thu, 06 Apr 2023 12:13:49 UTC
The branch main has been updated by ehaupt:

URL: https://cgit.FreeBSD.org/ports/commit/?id=7d098d46fdc7e7ca826577d39ec4516d47d8df10

commit 7d098d46fdc7e7ca826577d39ec4516d47d8df10
Author:     Emanuel Haupt <ehaupt@FreeBSD.org>
AuthorDate: 2023-04-06 12:12:14 +0000
Commit:     Emanuel Haupt <ehaupt@FreeBSD.org>
CommitDate: 2023-04-06 12:13:46 +0000

    audio/spotify-qt: Update to 3.10
    
    PR:             270659
    Reported by:    nsonack@outlook.com
---
 audio/spotify-qt/Makefile                                    |  2 +-
 audio/spotify-qt/distinfo                                    |  6 +++---
 .../files/patch-lib_include_lib_enum_playeraction.hpp        | 12 ++++++++++++
 3 files changed, 16 insertions(+), 4 deletions(-)

diff --git a/audio/spotify-qt/Makefile b/audio/spotify-qt/Makefile
index de1f064dda99..bba824f3f4ba 100644
--- a/audio/spotify-qt/Makefile
+++ b/audio/spotify-qt/Makefile
@@ -1,5 +1,5 @@
 PORTNAME=	spotify-qt
-PORTVERSION=	3.9
+PORTVERSION=	3.10
 DISTVERSIONPREFIX=	v
 CATEGORIES=	audio
 
diff --git a/audio/spotify-qt/distinfo b/audio/spotify-qt/distinfo
index d4dd54708e1a..e0caac6b8c0a 100644
--- a/audio/spotify-qt/distinfo
+++ b/audio/spotify-qt/distinfo
@@ -1,3 +1,3 @@
-TIMESTAMP = 1657783275
-SHA256 (kraxarn-spotify-qt-v3.9_GH0.tar.gz) = db1bc50fe4f31fc021db722eb85e59db543a104255a0a07f2e923d7a69195e42
-SIZE (kraxarn-spotify-qt-v3.9_GH0.tar.gz) = 762468
+TIMESTAMP = 1680644270
+SHA256 (kraxarn-spotify-qt-v3.10_GH0.tar.gz) = 66191fc75f8571f40be16582caded2e6e3181434cbab5e85d3e9613c97ecb44f
+SIZE (kraxarn-spotify-qt-v3.10_GH0.tar.gz) = 799753
diff --git a/audio/spotify-qt/files/patch-lib_include_lib_enum_playeraction.hpp b/audio/spotify-qt/files/patch-lib_include_lib_enum_playeraction.hpp
new file mode 100644
index 000000000000..c62eb8999ad8
--- /dev/null
+++ b/audio/spotify-qt/files/patch-lib_include_lib_enum_playeraction.hpp
@@ -0,0 +1,12 @@
+--- lib/include/lib/enum/playeraction.hpp.orig	2023-03-25 10:23:49 UTC
++++ lib/include/lib/enum/playeraction.hpp
+@@ -63,3 +63,9 @@ namespace lib
+ 		transferring_playback,
+ 	};
+ }
++
++namespace std {
++	template <> struct hash<lib::player_action> {
++		size_t operator() (const lib::player_action &t) const { return size_t(t); }
++	};
++}