summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorAlbert Astals Cid2018-06-15 09:08:21 +0200
committerAlbert Astals Cid2018-06-15 09:08:21 +0200
commitb73903c0ec67e458faa895a0ccbc9f5004f4b4cc (patch)
tree1b1807a359d4f2a4d37a4a09c5099dc2a8a900c1
parent51dce9992bdaad9529681f896a9654226f460718 (diff)
downloadaur-b73903c0ec67e458faa895a0ccbc9f5004f4b4cc.tar.gz
Build with Qt 5.11
-rw-r--r--.SRCINFO4
-rw-r--r--PKGBUILD11
2 files changed, 11 insertions, 4 deletions
diff --git a/.SRCINFO b/.SRCINFO
index adc133ac5da..ec1d6878183 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,6 +1,6 @@
pkgbase = charmtimetracker
pkgver = 1.12.0rc1
- pkgrel = 1
+ pkgrel = 2
url = https://github.com/KDAB/Charm
arch = any
license = GPL
@@ -9,7 +9,9 @@ pkgbase = charmtimetracker
depends = qt5-script
depends = qtkeychain
source = https://github.com/KDAB/Charm/archive/1.12.0rc1.tar.gz
+ source = buildqt511.patch::https://github.com/KDAB/Charm/commit/51a0a34e967351411e7742cd52ce4c4e3866e9aa.patch
sha256sums = 0d82acb0d39f0598a293cb0bd22063fd24b90d2c3152695771d2b5b6a1589dad
+ sha256sums = 31e7d3213fe887cbe469b684888fb85852403b3ef515338453213367282f482f
pkgname = charmtimetracker
diff --git a/PKGBUILD b/PKGBUILD
index 2ddacb07071..25820132c98 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -1,17 +1,22 @@
pkgname=charmtimetracker
pkgver=1.12.0rc1
-pkgrel=1
+pkgrel=2
arch=(any)
pkgdesc=""
license=("GPL")
depends=('qt5-base' 'qt5-script' 'qtkeychain')
makedepends=('cmake')
url="https://github.com/KDAB/Charm"
-source=("https://github.com/KDAB/Charm/archive/${pkgver}.tar.gz")
-sha256sums=('0d82acb0d39f0598a293cb0bd22063fd24b90d2c3152695771d2b5b6a1589dad')
+source=("https://github.com/KDAB/Charm/archive/${pkgver}.tar.gz"
+ buildqt511.patch::"https://github.com/KDAB/Charm/commit/51a0a34e967351411e7742cd52ce4c4e3866e9aa.patch")
+sha256sums=('0d82acb0d39f0598a293cb0bd22063fd24b90d2c3152695771d2b5b6a1589dad'
+ '31e7d3213fe887cbe469b684888fb85852403b3ef515338453213367282f482f')
prepare() {
mkdir -p build
+
+ cd Charm-${pkgver}
+ patch -p1 -i ../buildqt511.patch # Fix build with Qt 5.11
}
build() {