nextcloud-client: update to 3.2.3

This commit is contained in:
yopito 2021-06-28 13:09:12 +02:00 committed by Érico Nogueira Rolim
parent d3494f2463
commit 61600bed9b
2 changed files with 3 additions and 18 deletions

View file

@ -1,15 +0,0 @@
upstream: https://github.com/nextcloud/desktop/commit/aadee15008ca4974e542f3fb6ca1694592d9e6fe
--- a/src/gui/wizard/owncloudwizard.cpp
+++ b/src/gui/wizard/owncloudwizard.cpp
@@ -116,7 +116,10 @@ OwncloudWizard::OwncloudWizard(QWidget *parent)
void OwncloudWizard::centerWindow()
{
const auto wizardWindow = window();
- const auto screenGeometry = QGuiApplication::screenAt(wizardWindow->pos())->geometry();
+ const auto screen = QGuiApplication::screenAt(wizardWindow->pos())
+ ? QGuiApplication::screenAt(wizardWindow->pos())
+ : QGuiApplication::primaryScreen();
+ const auto screenGeometry = screen->geometry();
const auto windowGeometry = wizardWindow->geometry();
const auto newWindowPosition = screenGeometry.center() - QPoint(windowGeometry.width() / 2, windowGeometry.height() / 2);
wizardWindow->move(newWindowPosition);

View file

@ -1,11 +1,11 @@
# Template file for 'nextcloud-client'
pkgname=nextcloud-client
version=3.2.1
version=3.2.3
revision=1
wrksrc="desktop-${version}"
build_style=cmake
configure_args="-Wno-dev"
hostmakedepends="pkg-config"
hostmakedepends="pkg-config inkscape"
makedepends="qt5-tools-devel qt5-declarative-devel qt5-webchannel-devel
qt5-location-devel qtkeychain-qt5-devel sqlite-devel libcloudproviders-devel
qt5-quickcontrols2-devel qt5-websockets-devel qt5-svg-devel
@ -19,7 +19,7 @@ maintainer="yopito <pierre.bourgin@free.fr>"
license="GPL-2.0-or-later"
homepage="https://nextcloud.com/clients/"
distfiles="https://github.com/nextcloud/desktop/archive/v${version}.tar.gz"
checksum=f2d387d35276ea6e6da3ae339ede3d89be81dd4af735739ec280709008eb6645
checksum=40dc6fe3aaa62851af3fa480f108cc7e3bfff64b6bea0602e9546359b3d2cba2
build_options="dolphin"
desc_option_dolphin="Build KDE dolphin support"