From 5b6074df9f637b5be85a7ef77e0ceb64f28edd7e Mon Sep 17 00:00:00 2001 From: Rodrigo Oliveira Date: Tue, 7 Mar 2023 13:22:56 -0300 Subject: [PATCH] nextcloud-client: update to 3.8.2, adopt Also: - Remove patch to disable update check, use BUILD_UPDATER=NO flag instead [1] [1] https://github.com/nextcloud/desktop/pull/1847 --- ...heck-for-updates-disabled-as-default.patch | 24 ------------------- srcpkgs/nextcloud-client/template | 8 +++---- 2 files changed, 4 insertions(+), 28 deletions(-) delete mode 100644 srcpkgs/nextcloud-client/patches/check-for-updates-disabled-as-default.patch diff --git a/srcpkgs/nextcloud-client/patches/check-for-updates-disabled-as-default.patch b/srcpkgs/nextcloud-client/patches/check-for-updates-disabled-as-default.patch deleted file mode 100644 index dec501c628f2..000000000000 --- a/srcpkgs/nextcloud-client/patches/check-for-updates-disabled-as-default.patch +++ /dev/null @@ -1,24 +0,0 @@ -Set check for updates option as false by default - ---- a/src/gui/generalsettings.ui -+++ b/src/gui/generalsettings.ui -@@ -114,7 +114,7 @@ - &Automatically check for Updates - - -- true -+ false - - - ---- a/src/libsync/configfile.cpp -+++ b/src/libsync/configfile.cpp -@@ -631,7 +631,7 @@ bool ConfigFile::autoUpdateCheck(const QString &connection) const - if (connection.isEmpty()) - con = defaultConnection(); - -- QVariant fallback = getValue(QLatin1String(autoUpdateCheckC), con, true); -+ QVariant fallback = getValue(QLatin1String(autoUpdateCheckC), con, false); - fallback = getValue(QLatin1String(autoUpdateCheckC), QString(), fallback); - - QVariant value = getPolicySetting(QLatin1String(autoUpdateCheckC), fallback); diff --git a/srcpkgs/nextcloud-client/template b/srcpkgs/nextcloud-client/template index 27502262b8fa..8d667180293f 100644 --- a/srcpkgs/nextcloud-client/template +++ b/srcpkgs/nextcloud-client/template @@ -1,9 +1,9 @@ # Template file for 'nextcloud-client' pkgname=nextcloud-client -version=3.8.1 +version=3.8.2 revision=1 build_style=cmake -configure_args="-Wno-dev" +configure_args="-DBUILD_UPDATER=NO -Wno-dev" hostmakedepends="pkg-config inkscape" makedepends="qt5-tools-devel qt5-declarative-devel qt5-webchannel-devel qt5-location-devel qtkeychain-qt5-devel sqlite-devel libcloudproviders-devel @@ -14,12 +14,12 @@ depends="qt5-graphicaleffects" checkdepends="cmocka-devel" conf_files="/etc/Nextcloud/sync-exclude.lst" short_desc="NextCloud Desktop client" -maintainer="yopito " +maintainer="Rodrigo Oliveira " 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=f919a09c261039ddb8fcb6c10f10b1c6a8a31f64bf9b8b14ff46b5d02e428afc +checksum=6186aaa70b82b06b4531cff2e55e0dd38a0d817de7ef039a81293d82cb05e8c0 # https://github.com/void-linux/void-packages/pull/33358#discussion_r724518549 make_check=ci-skip