author | Antonio Rojas
<arojas@archlinux.org> 2017-05-21 08:18:21 UTC |
committer | Antonio Rojas
<arojas@archlinux.org> 2017-05-21 08:18:21 UTC |
parent | 7bd168063c914aff33fddf6fd12ecf4b58682fd1 |
PKGBUILD | +9 | -3 |
diff --git a/PKGBUILD b/PKGBUILD index 5bb0e08..d1ac0ca 100644 --- a/PKGBUILD +++ b/PKGBUILD @@ -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,14 +16,20 @@ groups=('qt' 'qt5') 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 # 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() {