author | Antonio Rojas
<arojas@archlinux.org> 2018-04-23 06:36:31 UTC |
committer | Antonio Rojas
<arojas@archlinux.org> 2018-04-23 06:36:31 UTC |
parent | 4c22bf88978bf94d734f7f9c32b1b584971ae464 |
PKGBUILD | +8 | -3 |
diff --git a/PKGBUILD b/PKGBUILD index 1560b3d..c7c1c9c 100644 --- a/PKGBUILD +++ b/PKGBUILD @@ -5,7 +5,7 @@ pkgname=qt5-declarative _qtver=5.10.1 pkgver=${_qtver/-/} -pkgrel=3 +pkgrel=4 arch=('x86_64') url='http://qt-project.org/' license=('GPL3' 'LGPL3' 'FDL' 'custom') @@ -18,10 +18,12 @@ replaces=('qt5-declarative-render2d') _pkgfqn="${pkgname/5-/}-everywhere-src-${_qtver}" source=("http://download.qt.io/official_releases/qt/${pkgver%.*}/${_qtver}/submodules/${_pkgfqn}.tar.xz" qtbug-65789-2.patch::"https://github.com/qt/qtdeclarative/commit/602a6589.patch" - qtbug-67019.patch::"https://github.com/qt/qtdeclarative/commit/b1243b8c.patch") + qtbug-67019.patch::"https://github.com/qt/qtdeclarative/commit/b1243b8c.patch" + qtdeclarative-memory-leak.patch::"http://code.qt.io/cgit/qt/qtdeclarative.git/patch?id=839f09c6") sha256sums=('3af9ed51bce5b5c6f04c4a67a6008f98765ccde897c43fff670621ab70789553' 'e516e969dcf9520a4e5f05291ffe4baef1a6e499248f342f66c39147ef06a272' - 'eed0e2617d4d46452acc79438666bab46c0c797ec4cb9ab447037c4176d83aba') + 'eed0e2617d4d46452acc79438666bab46c0c797ec4cb9ab447037c4176d83aba' + '30c320f39b145d133aa165991316af7b82934e367f98aa0aaf6bc84eabb0cea8') prepare() { mkdir -p build @@ -34,6 +36,9 @@ prepare() { # Fix two issues affecting display of SVG images patch -Np1 -i ../qtbug-65789-2.patch # https://bugreports.qt.io/browse/QTBUG-65789 git apply -v ../qtbug-67019.patch # https://bugreports.qt.io/browse/QTBUG-67019 + + # Fix memory leak + patch -p1 -i ../qtdeclarative-memory-leak.patch } build() {