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

Antonio Rojas arojas at archlinux.org
Sun May 21 08:18:22 UTC 2017


    Date: Sunday, May 21, 2017 @ 08:18:21
  Author: arojas
Revision: 296352

Fix crash on Plasma toolbox (FS#53568)

Modified:
  qt5-declarative/trunk/PKGBUILD

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

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2017-05-20 22:32:19 UTC (rev 296351)
+++ PKGBUILD	2017-05-21 08:18:21 UTC (rev 296352)
@@ -5,7 +5,7 @@
 pkgname=qt5-declarative
 _qtver=5.8.0
 pkgver=${_qtver/-/}
-pkgrel=1
+pkgrel=2
 arch=('i686' 'x86_64')
 url='http://qt-project.org/'
 license=('GPL3' 'LGPL3' 'FDL' 'custom')
@@ -16,8 +16,10 @@
 conflicts=('qtchooser' 'qt5-declarative-render2d')
 replaces=('qt5-declarative-render2d')
 _pkgfqn="${pkgname/5-/}-opensource-src-${_qtver}"
-source=("http://download.qt.io/official_releases/qt/${pkgver%.*}/${_qtver}/submodules/${_pkgfqn}.tar.xz")
-md5sums=('4f55b3617abdff14706d02d761d5a0aa')
+source=("http://download.qt.io/official_releases/qt/${pkgver%.*}/${_qtver}/submodules/${_pkgfqn}.tar.xz"
+        qtbug-58811.patch::"https://github.com/qt/qtdeclarative/commit/b078939.patch")
+md5sums=('4f55b3617abdff14706d02d761d5a0aa'
+         '8604dec4cc46c1d2139edb640f8e13bb')
 
 prepare() {
   mkdir -p build
@@ -24,6 +26,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'
+
+# Fix crash on Plasma toolbox https://bugreports.qt.io/browse/QTBUG-58811
+  cd ${_pkgfqn}
+  patch -p1 -i ../qtbug-58811.patch
 }
 
 build() {



More information about the arch-commits mailing list