author | Antonio Rojas
<arojas@archlinux.org> 2018-05-22 08:34:59 UTC |
committer | Antonio Rojas
<arojas@archlinux.org> 2018-05-22 08:34:59 UTC |
parent | 525d9afa28c534a48f2975e9d587671a1164f21d |
PKGBUILD | +5 | -20 |
diff --git a/PKGBUILD b/PKGBUILD index c7c1c9c..0de3b39 100644 --- a/PKGBUILD +++ b/PKGBUILD @@ -3,42 +3,27 @@ # Contributor: Andrea Scarpino <andrea@archlinux.org> pkgname=qt5-declarative -_qtver=5.10.1 +_qtver=5.11.0 pkgver=${_qtver/-/} -pkgrel=4 +pkgrel=1 arch=('x86_64') url='http://qt-project.org/' license=('GPL3' 'LGPL3' 'FDL' 'custom') pkgdesc='Classes for QML and JavaScript languages' depends=('qt5-xmlpatterns') -makedepends=('python2' 'git') +makedepends=('python2') groups=('qt' 'qt5') conflicts=('qtchooser' 'qt5-declarative-render2d') 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" - qtdeclarative-memory-leak.patch::"http://code.qt.io/cgit/qt/qtdeclarative.git/patch?id=839f09c6") -sha256sums=('3af9ed51bce5b5c6f04c4a67a6008f98765ccde897c43fff670621ab70789553' - 'e516e969dcf9520a4e5f05291ffe4baef1a6e499248f342f66c39147ef06a272' - 'eed0e2617d4d46452acc79438666bab46c0c797ec4cb9ab447037c4176d83aba' - '30c320f39b145d133aa165991316af7b82934e367f98aa0aaf6bc84eabb0cea8') +source=("http://download.qt.io/official_releases/qt/${pkgver%.*}/${_qtver}/submodules/${_pkgfqn}.tar.xz") +sha256sums=('eea9378b17b1c16d3b5235629b9128349bf98cba7d9c61122653d976b25f57c0') 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' - - cd ${_pkgfqn} - - # 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() {