From e9dbda9a49080fc612d9892a6e454471318a1eb5 Mon Sep 17 00:00:00 2001 From: Kevin Mihelich Date: Sat, 27 Jan 2018 00:42:30 +0000 Subject: [PATCH] extra/pyqt5 to 5.10-1 --- extra/pyqt5/PKGBUILD | 27 ++++++++++++++------------- 1 file changed, 14 insertions(+), 13 deletions(-) diff --git a/extra/pyqt5/PKGBUILD b/extra/pyqt5/PKGBUILD index 38ca332f7..e1b77477c 100644 --- a/extra/pyqt5/PKGBUILD +++ b/extra/pyqt5/PKGBUILD @@ -10,24 +10,23 @@ pkgbase=pyqt5 pkgname=('pyqt5-common' 'python-pyqt5' 'python2-pyqt5') -pkgver=5.9.2 -pkgrel=2 +pkgver=5.10 +pkgrel=1 arch=('x86_64') url="http://riverbankcomputing.co.uk/software/pyqt/intro" license=('GPL') 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" - 'pyqt-support-new-qt.patch') -sha512sums=('5af2e65addaed7dd02d8dbf7a7c63767e565fc8edeb7b51e5991a00cda29f75b666529097646e821aaff556f350a929fd451f548bba76e97355b7fe10bd913bc' + 'qt5-webkit' 'qt5-websockets' 'qt5-x11extras' 'qt5-networkauth') +source=("http://sourceforge.net/projects/pyqt/files/PyQt5/PyQt-$pkgver/PyQt5_gpl-$pkgver.tar.gz" pyqt-support-new-qt.patch) +sha512sums=('a86520870536618857ed3ee1601af45f5a0b456de192a5d6a3f8fa734e5cf49b8ce373928c0f4aeaae365d3fa95db03b5f59ae2903bc5eb2304b7edf22198033' '5b4d03609dcc889c0cd3ca72b64295653130b63010c124b4fa32d7a8e7a11fe2d4a8eebee23eee89fac4e2220f64fe121c6de32154640a20d3611e61d3300ce1') 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 + # 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... @@ -88,14 +87,15 @@ package_python-pyqt5(){ 'qt5-websockets: QtWebSockets' 'qt5-connectivity: QtNfc, QtBluetooth' 'qt5-webengine: QtWebEngine, QtWebEngineCore, QtWebEngineWidgets' - 'qt5-x11extras: QtX11Extras') + 'qt5-x11extras: QtX11Extras' + 'qt5-networkauth: QtNetworkAuth') cd PyQt5_gpl-$pkgver # INSTALL_ROOT is needed for the QtDesigner module, the other Makefiles use DESTDIR make DESTDIR="$pkgdir" INSTALL_ROOT="$pkgdir" install # Provided by pyqt-common - rm -f "$pkgdir"/usr/share/qt/qsci/api/python/PyQt5.api + rm "$pkgdir"/usr/share/qt/qsci/api/python/PyQt5.api } package_python2-pyqt5(){ @@ -113,7 +113,8 @@ package_python2-pyqt5(){ 'qt5-websockets: QtWebSockets' 'qt5-connectivity: QtNfc, QtBluetooth' 'qt5-webengine: QtWebEngine, QtWebEngineCore, QtWebEngineWidgets' - 'qt5-x11extras: QtX11Extras') + 'qt5-x11extras: QtX11Extras' + 'qt5-networkauth: QtNetworkAuth') cd PyQt5_gpl-$pkgver-py2 # INSTALL_ROOT is needed for the QtDesigner module, the other Makefiles use DESTDIR @@ -124,7 +125,7 @@ package_python2-pyqt5(){ mv "$pkgdir"/usr/bin/{,python2-}pylupdate5 mv "$pkgdir"/usr/bin/{,python2-}pyrcc5 - rm -f "$pkgdir"/usr/lib/qt/plugins/designer/libpyqt5.so - rm -f "$pkgdir"/usr/lib/qt/plugins/PyQt5/libpyqt5qmlplugin.so - rm -f "$pkgdir"/usr/share/qt/qsci/api/python/PyQt5.api + rm "$pkgdir"/usr/lib/qt/plugins/designer/libpyqt5.so + rm "$pkgdir"/usr/lib/qt/plugins/PyQt5/libpyqt5qmlplugin.so + rm "$pkgdir"/usr/share/qt/qsci/api/python/PyQt5.api }