[arch-commits] Commit in qt5-declarative/trunk (PKGBUILD)
Antonio Rojas
arojas at archlinux.org
Mon Aug 21 06:38:40 UTC 2017
Date: Monday, August 21, 2017 @ 06:38:40
Author: arojas
Revision: 303207
Backport fix for Plasma crashes (FS#55215)
Modified:
qt5-declarative/trunk/PKGBUILD
----------+
PKGBUILD | 11 ++++++++---
1 file changed, 8 insertions(+), 3 deletions(-)
Modified: PKGBUILD
===================================================================
--- PKGBUILD 2017-08-21 05:59:55 UTC (rev 303206)
+++ PKGBUILD 2017-08-21 06:38:40 UTC (rev 303207)
@@ -5,7 +5,7 @@
pkgname=qt5-declarative
_qtver=5.9.1
pkgver=${_qtver/-/}
-pkgrel=3
+pkgrel=4
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")
-sha256sums=('d2fe6c9c1a9f19af6e96553c6d75366ab8f397bc232acd67d31476955fee94ff')
+source=("http://download.qt.io/official_releases/qt/${pkgver%.*}/${_qtver}/submodules/${_pkgfqn}.tar.xz"
+ qtbug-61681.patch::"https://github.com/qt/qtdeclarative/commit/ab5d4c78.patch")
+sha256sums=('d2fe6c9c1a9f19af6e96553c6d75366ab8f397bc232acd67d31476955fee94ff'
+ '0d8f1e91b221da8727618b81f3a6b80566095d1afe442f198a6ef29cdfb58898')
prepare() {
mkdir -p build
@@ -24,6 +26,9 @@
# 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}
+ patch -p1 -i ../qtbug-61681.patch # https://bugreports.qt.io/browse/QTBUG-61681
}
build() {
More information about the arch-commits
mailing list