git » pyside2.git » commit 429617b

Revert commit that crashes QCoreApplication

author Antonio Rojas
2019-07-11 17:52:55 UTC
committer Antonio Rojas
2019-07-11 17:52:55 UTC
parent 48cd39448db849baf3ecd9eba700ab1e4f56e96d

Revert commit that crashes QCoreApplication

PKGBUILD +8 -3

diff --git a/PKGBUILD b/PKGBUILD
index 7fb8ff5..feb1283 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -4,7 +4,7 @@
 pkgname=pyside2
 _qtver=5.13.0
 pkgver=${_qtver/-/}
-pkgrel=1
+pkgrel=2
 arch=(x86_64)
 url='https://www.qt.io'
 license=(LGPL)
@@ -31,11 +31,16 @@ conflicts=(python-pyside2)
 provides=(python-pyside2)
 replaces=(python-pyside2)
 _pkgfqn=pyside-setup-everywhere-src-${_qtver}
-source=("https://download.qt.io/official_releases/QtForPython/pyside2/PySide2-$pkgver-src/${_pkgfqn}.tar.xz")
-sha256sums=('8e47e778a6c8ee86e9bc7dbf56371cf607e9f3c1a03a7d6df9e34f8dba555782')
+source=("https://download.qt.io/official_releases/QtForPython/pyside2/PySide2-$pkgver-src/${_pkgfqn}.tar.xz"
+         qcoreapplication-crash.patch::"https://code.qt.io/cgit/pyside/pyside-setup.git/patch/?id=80a6f91c")
+sha256sums=('8e47e778a6c8ee86e9bc7dbf56371cf607e9f3c1a03a7d6df9e34f8dba555782'
+            '7d36bfc604f4759f593e8d599e04e9ef713b35b3e0c373c12868b32913564303')
 
 prepare() {
   mkdir -p build
+
+  cd $_pkgfqn
+  patch -Rp1 -i ../qcoreapplication-crash.patch # Revert commit that makes QCoreApplication import crash
 }
 
 build() {