Browse Source

xap/nextcloud-desktop: Patched against latest Qt5.

current-20200608
parent
commit
34ed0b37e3
  1. 11
      xap/nextcloud-desktop/desktop-2.6.4-qpainterpath-include.patch
  2. 5
      xap/nextcloud-desktop/nextcloud-desktop.SlackBuild

11
xap/nextcloud-desktop/desktop-2.6.4-qpainterpath-include.patch

@ -0,0 +1,11 @@
diff -Naur desktop-2.6.4.orig/src/libsync/networkjobs.cpp desktop-2.6.4/src/libsync/networkjobs.cpp
--- desktop-2.6.4.orig/src/libsync/networkjobs.cpp 2020-03-03 19:32:31.000000000 +0000
+++ desktop-2.6.4/src/libsync/networkjobs.cpp 2020-06-13 18:11:56.521658693 +0100
@@ -31,6 +31,7 @@
#include <QJsonDocument>
#include <QJsonObject>
#include <QPainter>
+#include <QPainterPath>
#include "networkjobs.h"
#include "account.h"

5
xap/nextcloud-desktop/nextcloud-desktop.SlackBuild

@ -25,7 +25,7 @@
# Latest owncloud-client sourcecode is available at:
# <https://github.com/nextcloud/desktop>.
#
# Depends: l/qtkeychain, l/qt5-webkit
# Depends: l/qtkeychain
# Source package infos
NAMESRC=${NAMESRC:-desktop}
@ -86,6 +86,8 @@ cd $TMP
echo "Building $ARCHIVE..."
tar xf $CWD/$ARCHIVE
cd $NAME
# Fix missing include
patch -p1 < $CWD/desktop-2.6.4-qpainterpath-include.patch
mkdir build && cd build
CFLAGS=$CPUOPT \
CXXFLAGS=$CPUOPT \
@ -121,7 +123,6 @@ install -m 755 $CWD/doinst.sh $PKG/install/doinst.sh
# Add dependency infos
cat <<EOF > $PKG/install/slack-required
qtkeychain
qt5-webkit
EOF
# Package the tree

Loading…
Cancel
Save