From fcef971ebafd67f5b2a220463412e6d5a0614dff Mon Sep 17 00:00:00 2001 From: yopito Date: Sat, 21 Aug 2021 18:52:38 +0200 Subject: [PATCH] nextcloud-client: update to 3.3.1 --- ...ariadic-macro-warning-only-for-clang.patch | 36 ------------------- srcpkgs/nextcloud-client/template | 7 ++-- 2 files changed, 5 insertions(+), 38 deletions(-) delete mode 100644 srcpkgs/nextcloud-client/patches/fix-clang-variadic-macro-warning-only-for-clang.patch diff --git a/srcpkgs/nextcloud-client/patches/fix-clang-variadic-macro-warning-only-for-clang.patch b/srcpkgs/nextcloud-client/patches/fix-clang-variadic-macro-warning-only-for-clang.patch deleted file mode 100644 index 5afd721f392c..000000000000 --- a/srcpkgs/nextcloud-client/patches/fix-clang-variadic-macro-warning-only-for-clang.patch +++ /dev/null @@ -1,36 +0,0 @@ -source: https://github.com/nextcloud/desktop/pull/3132 - -From 52951820b2c094bcff0ec1a36c3c89d1c08c9618 Mon Sep 17 00:00:00 2001 -From: yopito -Date: Wed, 14 Apr 2021 22:07:19 +0200 -Subject: [PATCH] clang's variadic macro warnings: only for clang - -following settings of cmake/modules/Warnings.cmake ---- - src/CMakeLists.txt | 10 ++++++---- - 1 file changed, 6 insertions(+), 4 deletions(-) - -diff --git src/CMakeLists.txt src/CMakeLists.txt -index f29349582..6f3145331 100644 ---- a/src/CMakeLists.txt -+++ b/src/CMakeLists.txt -@@ -30,10 +30,12 @@ if(NOT MSVC) - set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -D_FORTIFY_SOURCE=2") - endif() - -- # Calling Qt's qCWarning(category, ...) with no params for "..." is a GNU -- # extension (C++11 §16.3/4 forbids them). Silence clang's warnings. -- set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -Wno-gnu-zero-variadic-macro-arguments") -- set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -Wno-gnu-zero-variadic-macro-arguments") -+ if (CMAKE_CXX_COMPILER MATCHES "Clang") -+ # Calling Qt's qCWarning(category, ...) with no params for "..." is a GNU -+ # extension (C++11 §16.3/4 forbids them). Silence clang's warnings. -+ set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -Wno-gnu-zero-variadic-macro-arguments") -+ set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -Wno-gnu-zero-variadic-macro-arguments") -+ endif() - endif() - - if(WIN32) --- -2.31.1 - diff --git a/srcpkgs/nextcloud-client/template b/srcpkgs/nextcloud-client/template index ff2199b915d5..d63f1101ad67 100644 --- a/srcpkgs/nextcloud-client/template +++ b/srcpkgs/nextcloud-client/template @@ -1,6 +1,6 @@ # Template file for 'nextcloud-client' pkgname=nextcloud-client -version=3.2.3 +version=3.3.1 revision=1 wrksrc="desktop-${version}" build_style=cmake @@ -18,8 +18,9 @@ short_desc="NextCloud Desktop client" maintainer="yopito " license="GPL-2.0-or-later" homepage="https://nextcloud.com/clients/" +changelog="https://github.com/nextcloud/desktop/releases" distfiles="https://github.com/nextcloud/desktop/archive/v${version}.tar.gz" -checksum=40dc6fe3aaa62851af3fa480f108cc7e3bfff64b6bea0602e9546359b3d2cba2 +checksum=c315bbbd64b6ec0b169cfc5b2a063099ae66eb2ecbc3e3443c3f0ed3ddb2980f build_options="dolphin" desc_option_dolphin="Build KDE dolphin support" @@ -34,6 +35,8 @@ fi subpackages="nextcloud-client-kwallet nextcloud-client-devel" subpackages+=" $(vopt_if dolphin 'nextcloud-client-dolphin')" +make_check="ci-skip" + if [ "$XBPS_CHECK_PKGS" ]; then configure_args+=" -DUNIT_TESTING=1" # argp.h is used only by testing and is not a requirement.