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,24 +1,24 @@ PORTNAME= spotify-qt -PORTVERSION= 3.9 +PORTVERSION= 3.10 DISTVERSIONPREFIX= v CATEGORIES= audio MAINTAINER= ehaupt@FreeBSD.org COMMENT= Lightweight Spotify client using Qt WWW= https://github.com/kraxarn/spotify-qt LICENSE= GPLv3 LICENSE_FILE= ${WRKSRC}/license RUN_DEPENDS= spotifyd:audio/spotifyd USES= cmake compiler:c++11-lang qt:5 USE_GITHUB= yes GH_ACCOUNT= kraxarn USE_QT= core dbus gui network svg widgets buildtools:build qmake:build PLIST_FILES= bin/spotify-qt \ share/applications/spotify-qt.desktop \ share/icons/hicolor/scalable/apps/spotify-qt.svg .include 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 { ++ size_t operator() (const lib::player_action &t) const { return size_t(t); } ++ }; ++}