summaryrefslogtreecommitdiff
path: root/libre/pyqt5/PKGBUILD
diff options
context:
space:
mode:
authorAndré Fabian Silva Delgado <emulatorman@parabola.nu>2017-03-22 00:52:18 -0300
committerAndré Fabian Silva Delgado <emulatorman@parabola.nu>2017-03-22 01:03:41 -0300
commitd7df7c8c2da3a3258bc6bf1c6d44718050265dfb (patch)
treecbd55c40ee86ce8e92992a1f664ad51246a038a7 /libre/pyqt5/PKGBUILD
parent03e76038c8e800cc50fda38bcd37d4523681d64c (diff)
downloadabslibre-d7df7c8c2da3a3258bc6bf1c6d44718050265dfb.tar.gz
abslibre-d7df7c8c2da3a3258bc6bf1c6d44718050265dfb.tar.bz2
abslibre-d7df7c8c2da3a3258bc6bf1c6d44718050265dfb.zip
pyqt5-5.8-2.parabola1: fix segfault when starting cura - FS#53371 -> https://bugs.archlinux.org/task/53371
Diffstat (limited to 'libre/pyqt5/PKGBUILD')
-rw-r--r--libre/pyqt5/PKGBUILD11
1 files changed, 8 insertions, 3 deletions
diff --git a/libre/pyqt5/PKGBUILD b/libre/pyqt5/PKGBUILD
index 9f1cd1186..d0ed3cf08 100644
--- a/libre/pyqt5/PKGBUILD
+++ b/libre/pyqt5/PKGBUILD
@@ -1,4 +1,4 @@
-# $Id: PKGBUILD 289071 2017-02-16 19:16:55Z arojas $
+# $Id: PKGBUILD 291120 2017-03-20 15:54:10Z arojas $
# Maintainer (Arch): Felix Yan <felixonmars@archlinux.org>
# Contributor (Arch): Andrea Scarpino <andrea@archlinux.org>
# Contributor (Arch): Yichao Yu <yyc1992@gmail.com>
@@ -11,7 +11,7 @@ pkgbase=pyqt5
pkgname=('pyqt5-common' 'python-pyqt5' 'python2-pyqt5')
pkgver=5.8
_pkgver=$pkgver
-pkgrel=1.parabola1
+pkgrel=2.parabola1
arch=('i686' 'x86_64' 'armv7h')
url="http://riverbankcomputing.co.uk/software/pyqt/intro"
license=('GPL')
@@ -19,13 +19,15 @@ makedepends=('python-sip' 'python2-sip' 'python-opengl' 'python2-opengl'
'python2-dbus' 'python-dbus' 'qt5-connectivity'
'qt5-multimedia' 'qt5-tools' 'qt5-serialport' 'qt5-svg'
'qt5-webkit' 'qt5-websockets' 'qt5-x11extras')
-source=("http://sourceforge.net/projects/pyqt/files/PyQt5/PyQt-$pkgver/PyQt5_gpl-$pkgver.tar.gz"
+source=("http://sourceforge.net/projects/pyqt/files/PyQt5/PyQt-$pkgver/PyQt5_gpl-$pkgver.tar.gz" "pyqt-5.8-segfault.patch"
'opengles-hack.patch')
md5sums=('ac04c0bfc1f05f5a1c2a1edd2640235c'
+ 'de7b2781874ff0c7c0d710f718cfa01a'
'ad09b1c84c26d5e92de192477cb3a2d1')
prepare() {
pushd PyQt5_gpl-${_pkgver}
+ patch -Np1 -i "${srcdir}/pyqt-5.8-segfault.patch"
if [[ "$CARCH" =~ ^arm*|^aarch64$ ]]; then
patch -p1 -i ../opengles-hack.patch
fi
@@ -33,6 +35,9 @@ prepare() {
# patch -p1 -i ../pyqt-qt5.8.patch
popd
+ # Support new versions of Qt - don't remove, needs to be reapplied after every new Qt release
+ # patch -p1 -i ../pyqt-support-new-qt.patch
+
# The additional include path was removed due to this line, I don't really know why they are doing this...
sed -i '/target_config.dbus_inc_dirs = \[\]/d' PyQt5_gpl-${_pkgver}/configure.py