nextcloud-client: update to 3.2.1.
Also added a patch to close #30713.
The patch `fallback-primary-screen.patch` comes from upstream master,
and should be removed in the next release.
upstream commit aadee15008
This commit is contained in:
parent
7fd2ba8f2e
commit
95a1c8d872
2 changed files with 17 additions and 2 deletions
|
@ -0,0 +1,15 @@
|
|||
upstream: https://github.com/nextcloud/desktop/commit/aadee15008ca4974e542f3fb6ca1694592d9e6fe
|
||||
--- src/gui/wizard/owncloudwizard.cpp
|
||||
+++ 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);
|
|
@ -1,6 +1,6 @@
|
|||
# Template file for 'nextcloud-client'
|
||||
pkgname=nextcloud-client
|
||||
version=3.2.0
|
||||
version=3.2.1
|
||||
revision=1
|
||||
wrksrc="desktop-${version}"
|
||||
build_style=cmake
|
||||
|
@ -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=da1195b31fec0970121c1567f3cdaf3b9083d46727277116a98e5cd27f57aa60
|
||||
checksum=f2d387d35276ea6e6da3ae339ede3d89be81dd4af735739ec280709008eb6645
|
||||
|
||||
build_options="dolphin"
|
||||
desc_option_dolphin="Build KDE dolphin support"
|
||||
|
|
Loading…
Reference in a new issue