summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorkevku2015-07-20 14:17:13 +0300
committerkevku2015-07-20 14:17:13 +0300
commit25f8b4fa6fdde09eab8a5007773ddf68178177ef (patch)
treefe26c1197a97125676951963525d9f94715119ef
parenta9bdeba2e75a55d0ae87cf36ce9f8317779c0ab2 (diff)
downloadaur-25f8b4fa6fdde09eab8a5007773ddf68178177ef.tar.gz
Fix compile for QT5.5
-rw-r--r--PKGBUILD13
-rw-r--r--qt55.patch10
2 files changed, 20 insertions, 3 deletions
diff --git a/PKGBUILD b/PKGBUILD
index a6d54461c2a..d8d6ed320d5 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -1,7 +1,7 @@
# Maintainer: kevku <kevku@gmx.com>
pkgname=qdigidoc
pkgver=3.10.0.1401
-pkgrel=1
+pkgrel=2
pkgdesc="Qt based UI application for verifying and signing digital signatures"
arch=('x86_64' 'i686')
url="http://www.id.ee/"
@@ -10,10 +10,17 @@ depends=('libdigidocpp' 'qt5-base' 'libldap' 'shared-mime-info' 'esteidcerts' 'c
makedepends=('cmake' 'opensc' 'qt5-tools' 'qt5-translations')
conflicts=('qdigidoc-svn' 'sk-qdigidoc-svn')
install=qdigidoc.install
-source=("https://installer.id.ee/media/ubuntu/pool/main/q/$pkgname/${pkgname}_$pkgver.orig.tar.gz")
-sha256sums=('e11cfd491de715472435887e0bdcda2ab82d45d1ce14718a28a8420875ce601c')
+source=("https://installer.id.ee/media/ubuntu/pool/main/q/$pkgname/${pkgname}_$pkgver.orig.tar.gz"
+ "qt55.patch")
+sha256sums=('e11cfd491de715472435887e0bdcda2ab82d45d1ce14718a28a8420875ce601c'
+ '41c19de0ec48b231b24e0bfacae6c0ee9f1f21d0e87c10b3ae6c2c679b793701')
validpgpkeys=('43650273CE9516880D7EB581B339B36D592073D4')
+prepare(){
+ cd "$srcdir/$pkgname-$pkgver"
+ patch -Np1 -i "$srcdir/qt55.patch"
+}
+
build() {
cd "$srcdir/$pkgname-$pkgver"
cmake . -DCMAKE_INSTALL_PREFIX=/usr -DCMAKE_INSTALL_LIBDIR="lib" -DCMAKE_INSTALL_SYSCONFDIR="/etc"
diff --git a/qt55.patch b/qt55.patch
new file mode 100644
index 00000000000..053ae3ec666
--- /dev/null
+++ b/qt55.patch
@@ -0,0 +1,10 @@
+--- qdigidoc-3.10.0.1401/common/qtsingleapplication/src/qtlocalpeer.cpp 2015-02-16 16:00:04.000000000 +0200
++++ qdigidoc-3.10.0.1401/common/qtsingleapplication/src/qtlocalpeer.cpp.1 2015-07-20 14:10:10.009994836 +0300
+@@ -42,6 +42,7 @@
+ #include "qtlocalpeer.h"
+ #include <QCoreApplication>
+ #include <QTime>
++#include <QDataStream>
+
+ #if defined(Q_OS_WIN)
+ #include <QLibrary>