author | Antonio Rojas
<arojas@archlinux.org> 2017-10-07 09:51:06 UTC |
committer | Antonio Rojas
<arojas@archlinux.org> 2017-10-07 09:51:06 UTC |
parent | fc90767d913f837b27c98f8b9b7cc0ba78864bce |
PKGBUILD | +5 | -5 |
pyqt-support-new-qt.patch | +2 | -2 |
diff --git a/PKGBUILD b/PKGBUILD index e539b82..fea6d9e 100644 --- a/PKGBUILD +++ b/PKGBUILD @@ -7,7 +7,7 @@ pkgbase=pyqt5 pkgname=('pyqt5-common' 'python-pyqt5' 'python2-pyqt5') pkgver=5.9 -pkgrel=1 +pkgrel=2 arch=('i686' 'x86_64') url="http://riverbankcomputing.co.uk/software/pyqt/intro" license=('GPL') @@ -17,13 +17,13 @@ makedepends=('python-sip' 'python2-sip' 'python-opengl' 'python2-opengl' 'qt5-webengine' 'qt5-webkit' 'qt5-websockets' 'qt5-x11extras') source=("http://sourceforge.net/projects/pyqt/files/PyQt5/PyQt-$pkgver/PyQt5_gpl-$pkgver.tar.gz" pyqt-support-new-qt.patch) sha512sums=('6e925dee751d6b2ab97b3614b0150f305798b89920e11db7a2cbef579e4c21839a38f4ad7eee5828a0c28942999955715a265e043004ee7838d376025d32e4aa' - '5b0793b281ec7136670fe1b8785704a09d71f79ac4d6479c966a3ec43a76cb3e225311a121a34e3a274a627bd929be2a6e8d108a12a10967f8d1cf888be5030f') + 'd5a5550aa5d94a49398ef4f1e7d7f7c752d210bfa02913820d5a5db83a8ab79d0fb9cc3458a2a630cf3e46f3376f47bd4fedcd66fe0309c8a3548f23e0e04a2b') prepare() { # Support new versions of Qt - don't remove, needs to be reapplied after every new Qt release -# pushd PyQt5_gpl-$pkgver -# patch -p1 -i ../pyqt-support-new-qt.patch -# popd + pushd PyQt5_gpl-$pkgver + patch -p1 -i ../pyqt-support-new-qt.patch + popd # 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 diff --git a/pyqt-support-new-qt.patch b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