[arch-commits] Commit in qt5-declarative/kde-unstable (PKGBUILD)
Antonio Rojas
arojas at archlinux.org
Mon Apr 24 20:31:31 UTC 2017
Date: Monday, April 24, 2017 @ 20:31:30
Author: arojas
Revision: 294564
Fix Plasma crashes
Modified:
qt5-declarative/kde-unstable/PKGBUILD
----------+
PKGBUILD | 12 +++++++++---
1 file changed, 9 insertions(+), 3 deletions(-)
Modified: PKGBUILD
===================================================================
--- PKGBUILD 2017-04-24 20:27:08 UTC (rev 294563)
+++ PKGBUILD 2017-04-24 20:31:30 UTC (rev 294564)
@@ -5,7 +5,7 @@
pkgname=qt5-declarative
_qtver=5.9.0-beta2
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/development_releases/qt/${pkgver%.*}/${_qtver}/submodules/${_pkgfqn}.tar.xz")
-sha256sums=('9f2df211918d49b9dab66c169b90f1b1bc4a9d3096a958cdd5f78832f2da75c5')
+source=("http://download.qt.io/development_releases/qt/${pkgver%.*}/${_qtver}/submodules/${_pkgfqn}.tar.xz"
+ https://github.com/qt/qtdeclarative/commit/9538cd7f.patch)
+sha256sums=('9f2df211918d49b9dab66c169b90f1b1bc4a9d3096a958cdd5f78832f2da75c5'
+ 'c6a4c96e17fc853854757d5c081e3344a2f932ba40abb0d955b13c6c951d43ff')
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 Plasma crashes
+ cd ${_pkgfqn}
+ patch -p1 -i ../9538cd7f.patch
}
build() {
More information about the arch-commits
mailing list