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
This commit is contained in:
Rodrigo Oliveira 2023-03-07 13:22:56 -03:00 committed by classabbyamp
parent 54ad724943
commit 2effa6d97c
2 changed files with 4 additions and 28 deletions

View File

@ -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 @@
<string>&amp;Automatically check for Updates</string>
</property>
<property name="checked">
- <bool>true</bool>
+ <bool>false</bool>
</property>
</widget>
</item>
--- 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);

View File

@ -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 <pierre.bourgin@free.fr>"
maintainer="Rodrigo Oliveira <mdkcore@qtrnn.io>"
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