summaryrefslogtreecommitdiff
path: root/user
diff options
context:
space:
mode:
authorZach van Rijn <me@zv.io>2022-05-28 01:03:44 +0000
committerZach van Rijn <me@zv.io>2022-06-12 23:51:58 +0000
commit848e9dcdee5d1104a51d63f68f38e3d1ceb58877 (patch)
tree9596c013123b2b447ff6d1ad60c302f041997ef2 /user
parentf222efed5e842065ccc666f3dd8155a135440d07 (diff)
downloadpackages-848e9dcdee5d1104a51d63f68f38e3d1ceb58877.tar.gz
packages-848e9dcdee5d1104a51d63f68f38e3d1ceb58877.tar.bz2
packages-848e9dcdee5d1104a51d63f68f38e3d1ceb58877.tar.xz
packages-848e9dcdee5d1104a51d63f68f38e3d1ceb58877.zip
user/qpdfview: add patch for missing header. fixes #721.
Diffstat (limited to 'user')
-rw-r--r--user/qpdfview/APKBUILD9
-rw-r--r--user/qpdfview/qpdfview-0.4.18-qt-5.15.patch11
2 files changed, 17 insertions, 3 deletions
diff --git a/user/qpdfview/APKBUILD b/user/qpdfview/APKBUILD
index 4d37c6ad4..5e6f4d467 100644
--- a/user/qpdfview/APKBUILD
+++ b/user/qpdfview/APKBUILD
@@ -2,7 +2,7 @@
# Maintainer: Max Rees <maxcrees@me.com>
pkgname=qpdfview
pkgver=0.4.18
-pkgrel=1
+pkgrel=2
pkgdesc="A tabbed document viewer"
url="https://launchpad.net/qpdfview"
arch="all"
@@ -12,7 +12,9 @@ depends=""
makedepends="cups-dev djvulibre-dev gnutls-dev libspectre-dev poppler-dev
poppler-qt5-dev qt5-qttools-dev qt5-qtbase-dev qt5-qtsvg-dev"
subpackages="$pkgname-doc"
-source="https://launchpad.net/qpdfview/trunk/$pkgver/+download/$pkgname-$pkgver.tar.gz"
+source="https://launchpad.net/qpdfview/trunk/$pkgver/+download/$pkgname-$pkgver.tar.gz
+ qpdfview-0.4.18-qt-5.15.patch
+ "
build() {
lrelease qpdfview.pro
@@ -24,4 +26,5 @@ package() {
make INSTALL_ROOT="$pkgdir" install
}
-sha512sums="38741520b20e3ed7100e52982930abac26e994a69df68c54dfa7180be8b2a4f377b91ba03993bab67b0a505ad79d62164f0f168a6715f4306b635ceba6840d66 qpdfview-0.4.18.tar.gz"
+sha512sums="38741520b20e3ed7100e52982930abac26e994a69df68c54dfa7180be8b2a4f377b91ba03993bab67b0a505ad79d62164f0f168a6715f4306b635ceba6840d66 qpdfview-0.4.18.tar.gz
+ac6a742b957eb192117aece45cef8f2a9d76fe45d4cc87246dba8e52a15ac11c6892175fd73c8af3bd22a34ff36645828a5f12d66c240b6305d9621387fc3261 qpdfview-0.4.18-qt-5.15.patch"
diff --git a/user/qpdfview/qpdfview-0.4.18-qt-5.15.patch b/user/qpdfview/qpdfview-0.4.18-qt-5.15.patch
new file mode 100644
index 000000000..b19f247a7
--- /dev/null
+++ b/user/qpdfview/qpdfview-0.4.18-qt-5.15.patch
@@ -0,0 +1,11 @@
+diff -ur qpdfview-0.4.18.orig/sources/model.h qpdfview-0.4.18/sources/model.h
+--- a/sources/model.h 2019-07-24 21:18:33.000000000 +0200
++++ b/sources/model.h 2020-05-29 11:44:33.012891583 +0200
+@@ -27,6 +27,7 @@
+ #include <QtPlugin>
+ #include <QWidget>
+ #include <QVector>
++#include <QPainterPath>
+
+ class QAbstractItemModel;
+ class QColor;