From e057f1c12e3cfcafe1fdebe80d3a63d665b580a8 Mon Sep 17 00:00:00 2001 From: Andrew Benson Date: Wed, 13 Jul 2022 18:13:35 -0500 Subject: [PATCH] spotify-qt: update to 3.9. --- srcpkgs/spotify-qt/patches/disable-crash-handler.patch | 8 ++++---- srcpkgs/spotify-qt/template | 6 +++--- 2 files changed, 7 insertions(+), 7 deletions(-) diff --git a/srcpkgs/spotify-qt/patches/disable-crash-handler.patch b/srcpkgs/spotify-qt/patches/disable-crash-handler.patch index 4d5e61a5bde5..d6033c1507c3 100644 --- a/srcpkgs/spotify-qt/patches/disable-crash-handler.patch +++ b/srcpkgs/spotify-qt/patches/disable-crash-handler.patch @@ -1,6 +1,6 @@ --- a/lib/CMakeLists.txt +++ b/lib/CMakeLists.txt -@@ -26,14 +26,6 @@ +@@ -31,14 +31,6 @@ # Version macros target_compile_definitions(spotify-qt-lib PUBLIC LIB_VERSION="v${PROJECT_VERSION}") @@ -12,6 +12,6 @@ - target_compile_options(spotify-qt-lib PRIVATE -Wall -Wextra) -endif () - - # Link optional libraries - if (LIB_QT_LIBRARIES) - target_link_libraries(spotify-qt-lib PRIVATE ${LIB_QT_LIBRARIES}) + # Disable "secure" warnings on MSVC + if (MSVC) + target_compile_definitions(spotify-qt-lib PRIVATE _CRT_SECURE_NO_WARNINGS) diff --git a/srcpkgs/spotify-qt/template b/srcpkgs/spotify-qt/template index aa30046a8778..ad773d86b6f3 100644 --- a/srcpkgs/spotify-qt/template +++ b/srcpkgs/spotify-qt/template @@ -1,7 +1,7 @@ # Template file for 'spotify-qt' pkgname=spotify-qt -version=3.8 -revision=2 +version=3.9 +revision=1 build_style=cmake hostmakedepends="pkg-config qt5-devel" makedepends="qt5-devel qt5-svg-devel" @@ -11,4 +11,4 @@ maintainer="Andrew Benson " license="GPL-3.0-or-later" homepage="https://github.com/kraxarn/spotify-qt" distfiles="${homepage}/archive/v${version}.tar.gz" -checksum=deb12800b9fb4f501f8dfc97a2fdc4989849fe8bbf6f38d79503214e03afe5ad +checksum=db1bc50fe4f31fc021db722eb85e59db543a104255a0a07f2e923d7a69195e42