[arch-commits] Commit in qt5-declarative/trunk (PKGBUILD)

Antonio Rojas arojas at archlinux.org
Thu Jun 16 10:35:41 UTC 2016


    Date: Thursday, June 16, 2016 @ 10:35:41
  Author: arojas
Revision: 270007

Fix QML regression (FS#49729)

Modified:
  qt5-declarative/trunk/PKGBUILD

----------+
 PKGBUILD |   12 +++++++++---
 1 file changed, 9 insertions(+), 3 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2016-06-16 07:33:21 UTC (rev 270006)
+++ PKGBUILD	2016-06-16 10:35:41 UTC (rev 270007)
@@ -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,8 +15,10 @@
 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
@@ -23,6 +25,10 @@
 
   # 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() {



More information about the arch-commits mailing list