git » qt5-declarative.git » commit 0ab5f5b

Fix QML regression (FS#49729)

author Antonio Rojas
2016-06-16 10:35:41 UTC
committer Antonio Rojas
2016-06-16 10:35:41 UTC
parent 22cb1f483b3efda56d5257176cd39f16b34cb774

Fix QML regression (FS#49729)

PKGBUILD +9 -3

diff --git a/PKGBUILD b/PKGBUILD
index 8e19365..2dbdb0a 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -5,7 +5,7 @@
 pkgname=qt5-declarative
 _qtver=5.6.1
 pkgver=${_qtver/-/}
-pkgrel=1
+pkgrel=2
 arch=('i686' 'x86_64')
 url='http://qt-project.org/'
 license=('GPL3' 'LGPL' 'FDL' 'custom')
@@ -15,14 +15,20 @@ makedepends=('python2')
 conflicts=('qt')
 groups=('qt' 'qt5')
 _pkgfqn="${pkgname/5-/}-opensource-src-${_qtver}"
-source=("http://download.qt.io/official_releases/qt/${pkgver%.*}/${_qtver}/submodules/${_pkgfqn}.tar.xz")
-md5sums=('ea2a2602b8a91f2618a36be09bcd79e9')
+source=("http://download.qt.io/official_releases/qt/${pkgver%.*}/${_qtver}/submodules/${_pkgfqn}.tar.xz"
+        qtbug-53761.patch::"https://github.com/qtproject/qtdeclarative/commit/210617de.patch")
+md5sums=('ea2a2602b8a91f2618a36be09bcd79e9'
+         '74b1125f718ef3f98d7bde2659b1a194')
 
 prepare() {
   mkdir -p build
 
   # Use python2 for Python 2.x
   find -name '*.pro' -o -name '*.pri' | xargs sed -i -e 's|python -c|python2 -c|g' -e 's|python \$|python2 \$|g'
+
+  # https://bugreports.qt.io/browse/QTBUG-53761
+  cd ${_pkgfqn}
+  patch -p1 -i ../qtbug-53761.patch
 }
 
 build() {