nextcloud-client: update to 4.0.6.
This commit is contained in:
@@ -1,11 +1,11 @@
|
||||
--- a/src/common/utility.cpp
|
||||
+++ b/src/common/utility.cpp
|
||||
@@ -173,7 +173,7 @@ QByteArray Utility::friendlyUserAgentStr
|
||||
@@ -185,7 +185,7 @@
|
||||
|
||||
qint64 Utility::freeDiskSpace(const QString &path)
|
||||
{
|
||||
-#if defined(Q_OS_MAC) || defined(Q_OS_FREEBSD) || defined(Q_OS_FREEBSD_KERNEL) || defined(Q_OS_NETBSD) || defined(Q_OS_OPENBSD)
|
||||
+#if defined(Q_OS_MAC) || defined(Q_OS_FREEBSD) || defined(Q_OS_FREEBSD_KERNEL) || defined(Q_OS_NETBSD) || defined(Q_OS_OPENBSD) || (defined(Q_OS_LINUX) && !defined(__GLIBC__))
|
||||
-#if defined(Q_OS_MACOS) || defined(Q_OS_FREEBSD) || defined(Q_OS_FREEBSD_KERNEL) || defined(Q_OS_NETBSD) || defined(Q_OS_OPENBSD)
|
||||
+#if defined(Q_OS_MACOS) || defined(Q_OS_FREEBSD) || defined(Q_OS_FREEBSD_KERNEL) || defined(Q_OS_NETBSD) || defined(Q_OS_OPENBSD) || (defined(Q_OS_LINUX) && !defined(__GLIBC__))
|
||||
struct statvfs stat;
|
||||
if (statvfs(path.toLocal8Bit().data(), &stat) == 0) {
|
||||
return (qint64)stat.f_bavail * stat.f_frsize;
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
# Template file for 'nextcloud-client'
|
||||
pkgname=nextcloud-client
|
||||
version=3.17.2
|
||||
version=4.0.6
|
||||
revision=1
|
||||
build_style=cmake
|
||||
configure_args="-DBUILD_UPDATER=NO -DKDE_INSTALL_QTPLUGINDIR=lib/qt6/plugins"
|
||||
@@ -19,13 +19,13 @@ 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=c79c7e05ae3b141e2c4b19da0cde479b63af80eb49164c99af8fa28a38e05aeb
|
||||
checksum=34079396b306be6e99c2f4073e23547ad1723b3da1988e04959b28ec7b9d1c9c
|
||||
# https://github.com/void-linux/void-packages/pull/33358#discussion_r724518549
|
||||
make_check=ci-skip
|
||||
replaces="nextcloud-client-kwallet>=0 nextcloud-client-dolphin>=0"
|
||||
|
||||
if [ "$XBPS_TARGET_ENDIAN" = "le" ] &&
|
||||
[ "$XBPS_WORDSIZE$XBPS_WORDSIZE" = "64$XBPS_TARGET_WORDSIZE" ]; then
|
||||
[ "$XBPS_WORDSIZE$XBPS_WORDSIZE" = "64$XBPS_TARGET_WORDSIZE" ]; then
|
||||
configure_args+=" -DBUILD_WITH_WEBENGINE=ON"
|
||||
makedepends+=" qt6-webengine-devel"
|
||||
else
|
||||
|
||||
Reference in New Issue
Block a user