git » qt5-wayland.git » commit 3881ae2

Fix qtwayland blocks in frame callback

author Antonio Rojas
2018-12-14 09:41:14 UTC
committer Antonio Rojas
2018-12-14 09:41:14 UTC
parent 6f5a84414b32b04f999f1d2bfbda9aa77662c79f

Fix qtwayland blocks in frame callback

PKGBUILD +8 -3

diff --git a/PKGBUILD b/PKGBUILD
index c46188d..bbc23c5 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -4,7 +4,7 @@
 pkgname=qt5-wayland
 _qtver=5.12.0
 pkgver=${_qtver/-/}
-pkgrel=1
+pkgrel=2
 arch=('x86_64')
 url='http://qt-project.org/'
 license=('GPL3' 'LGPL3' 'FDL' 'custom')
@@ -12,11 +12,16 @@ pkgdesc='Provides APIs for Wayland'
 depends=('qt5-declarative' 'libxcomposite' 'wayland') # namcap note: wayland is needed for nvidia-libgl users
 groups=('qt' 'qt5')
 _pkgfqn="${pkgname/5-/}-everywhere-src-${_qtver}"
-source=("http://download.qt.io/official_releases/qt/${pkgver%.*}/${_qtver}/submodules/${_pkgfqn}.tar.xz")
-sha256sums=('555c2d1b31733735d94c228f5f9183ea8216d61f85e30af08044763639d97ed7')
+source=("http://download.qt.io/official_releases/qt/${pkgver%.*}/${_qtver}/submodules/${_pkgfqn}.tar.xz"
+        qtbug-69077.patch::"http://code.qt.io/cgit/qt/qtwayland.git/patch/?id=1dc85b95")
+sha256sums=('555c2d1b31733735d94c228f5f9183ea8216d61f85e30af08044763639d97ed7'
+            'e4cef3faa5ea86f727cf388320585077cbebfd31b0d9f6a4131797ee5a0d61ac')
 
 prepare() {
   mkdir -p build
+
+  cd ${_pkgfqn}
+  patch -p1 -i ../qtbug-69077.patch # Fix qtwayland blocks in frame callback
 }
 
 build() {