testing/trojita: fix build with qt5.15

This commit is contained in:
Leo 2020-08-14 00:12:36 -03:00
parent c96dbe6ceb
commit 80ea1f1772
2 changed files with 20 additions and 2 deletions

View File

@ -10,7 +10,9 @@ pkgdesc="A fast and lightweight IMAP e-mail client designed with standard-compli
license="GPL-2.0-only OR GPL-3.0-only"
makedepends="cmake qt5-qtbase-dev qt5-qttools-dev qt5-qtsvg-dev qt5-qtwebkit-dev akonadi-contacts-dev sonnet-dev gpgme-dev"
checkdepends="xvfb-run"
source="$pkgname-$_commit.tar.gz::https://github.com/kde/trojita/archive/$_commit.tar.gz"
source="$pkgname-$_commit.tar.gz::https://github.com/kde/trojita/archive/$_commit.tar.gz
qpainterpath.patch
"
builddir="$srcdir/$pkgname-$_commit"
build() {
@ -30,4 +32,5 @@ package() {
DESTDIR="$pkgdir" make -C build install
}
sha512sums="fd2d7037794bd90dc34948064071bcddb04d213b29bb791cbdc95d0748b3f940a406913527bd8dcee3133a6dc3ace69047b0fa59b06c41953e1e24613aaee3c2 trojita-b72f2ad0b9a6d3e825b53effc798e356ce7c499e.tar.gz"
sha512sums="fd2d7037794bd90dc34948064071bcddb04d213b29bb791cbdc95d0748b3f940a406913527bd8dcee3133a6dc3ace69047b0fa59b06c41953e1e24613aaee3c2 trojita-b72f2ad0b9a6d3e825b53effc798e356ce7c499e.tar.gz
a42f9604f8023aec6bfa6850bfcbbd0de22b40e5492fe5429378a9d1ecd310a05c9a6e14d7036599c6230f24c07f3eea94aa73cdf79bc9fb5668e9d2604babe4 qpainterpath.patch"

View File

@ -0,0 +1,15 @@
Upstream: Should be
Reason: Fixes compilation with qt5.15
diff --git a/src/Gui/Window.cpp b/src/Gui/Window.cpp
index 65ba246..26dc753 100644
--- a/src/Gui/Window.cpp
+++ b/src/Gui/Window.cpp
@@ -47,6 +47,7 @@
#include <QToolTip>
#include <QUrl>
#include <QWheelEvent>
+#include <QPainterPath>
#include "configure.cmake.h"
#include "Common/Application.h"