From 19edbad64a413298f0c1137791514df331a31029 Mon Sep 17 00:00:00 2001 From: yopito Date: Mon, 28 Jun 2021 13:09:12 +0200 Subject: [PATCH] nextcloud-client: update to 3.2.3 --- .../patches/fallback-primary-screen.patch | 15 --------------- srcpkgs/nextcloud-client/template | 6 +++--- 2 files changed, 3 insertions(+), 18 deletions(-) delete mode 100644 srcpkgs/nextcloud-client/patches/fallback-primary-screen.patch diff --git a/srcpkgs/nextcloud-client/patches/fallback-primary-screen.patch b/srcpkgs/nextcloud-client/patches/fallback-primary-screen.patch deleted file mode 100644 index d05a994bc350..000000000000 --- a/srcpkgs/nextcloud-client/patches/fallback-primary-screen.patch +++ /dev/null @@ -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); diff --git a/srcpkgs/nextcloud-client/template b/srcpkgs/nextcloud-client/template index ec201254d5ad..ff2199b915d5 100644 --- a/srcpkgs/nextcloud-client/template +++ b/srcpkgs/nextcloud-client/template @@ -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 " 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"