aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLeo <thinkabit.ukim@gmail.com>2020-08-14 00:12:36 -0300
committerLeo <thinkabit.ukim@gmail.com>2020-08-14 03:24:51 +0000
commit80ea1f1772f65a4d8bdf692ca26ea45453c7898b (patch)
tree6a0e82e58bb8560776158358d3ed835ee20dfab7
parentc96dbe6cebbbd4df95ccb8e10f55cf48b6ceef26 (diff)
downloadaports-80ea1f1772f65a4d8bdf692ca26ea45453c7898b.tar.gz
aports-80ea1f1772f65a4d8bdf692ca26ea45453c7898b.tar.bz2
aports-80ea1f1772f65a4d8bdf692ca26ea45453c7898b.tar.xz
testing/trojita: fix build with qt5.15
-rw-r--r--testing/trojita/APKBUILD7
-rw-r--r--testing/trojita/qpainterpath.patch15
2 files changed, 20 insertions, 2 deletions
diff --git a/testing/trojita/APKBUILD b/testing/trojita/APKBUILD
index 6d1c9d7dae..0481d48f1a 100644
--- a/testing/trojita/APKBUILD
+++ b/testing/trojita/APKBUILD
@@ -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"
diff --git a/testing/trojita/qpainterpath.patch b/testing/trojita/qpainterpath.patch
new file mode 100644
index 0000000000..99fb93a3cc
--- /dev/null
+++ b/testing/trojita/qpainterpath.patch
@@ -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"