From d7df7c8c2da3a3258bc6bf1c6d44718050265dfb Mon Sep 17 00:00:00 2001 From: André Fabian Silva Delgado Date: Wed, 22 Mar 2017 00:52:18 -0300 Subject: pyqt5-5.8-2.parabola1: fix segfault when starting cura - FS#53371 -> https://bugs.archlinux.org/task/53371 --- libre/pyqt5/PKGBUILD | 11 ++++++++--- 1 file changed, 8 insertions(+), 3 deletions(-) (limited to 'libre/pyqt5/PKGBUILD') 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 # Contributor (Arch): Andrea Scarpino # Contributor (Arch): Yichao Yu @@ -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 -- cgit v1.2.3