Fix main window and drop qt patch

f40
Klaas Demter 2 years ago committed by nonamedotc
parent 592a185534
commit 7ff75c30ac

@ -13,9 +13,6 @@ License: LGPLv2+ and GPLv2
Url: https://nextcloud.com/install/#install-clients Url: https://nextcloud.com/install/#install-clients
Source0: https://github.com/nextcloud/desktop/archive/v%{version}/desktop-%{version}.tar.gz Source0: https://github.com/nextcloud/desktop/archive/v%{version}/desktop-%{version}.tar.gz
Source1: com.nextcloud.desktopclient.nextcloud.metainfo.xml Source1: com.nextcloud.desktopclient.nextcloud.metainfo.xml
# Patch0: fixes GNOME quirks on Wayland sessions. Read
# https://lists.fedoraproject.org/archives/list/devel@lists.fedoraproject.org/message/3BVLBS4B3XHJEXFVGD7RK2ZMXZG6JQZT/
Patch0: xcb_%{version}.patch
%if 0%{?rhel} %if 0%{?rhel}
BuildRequires: rpmautospec-rpm-macros BuildRequires: rpmautospec-rpm-macros
@ -64,6 +61,7 @@ Requires: %{name}-libs%{?_isa} = %{version}-%{release}
# concerning libgnome-keyring read https://bugzilla.redhat.com/show_bug.cgi?id=1652973 # concerning libgnome-keyring read https://bugzilla.redhat.com/show_bug.cgi?id=1652973
Requires: libgnome-keyring Requires: libgnome-keyring
%endif %endif
Requires: qt5-qtquickcontrols
Provides: mirall = %{version}-%{release} Provides: mirall = %{version}-%{release}
Obsoletes: mirall < 1.8.0 Obsoletes: mirall < 1.8.0
@ -153,7 +151,6 @@ The nextcloud desktop client dolphin extension.
%prep %prep
%setup -n desktop-%{version} %setup -n desktop-%{version}
%patch0 -p1
# change compiler flag # change compiler flag
sed -i 's/-fPIE/-fPIC/g' src/gui/CMakeLists.txt sed -i 's/-fPIE/-fPIC/g' src/gui/CMakeLists.txt

Loading…
Cancel
Save