mirror of
https://github.com/archlinuxarm/PKGBUILDs.git
synced 2024-11-08 22:45:43 +00:00
extra/pyqt5 to 5.7-2
This commit is contained in:
parent
0538c25c97
commit
5c8cdc14ea
1 changed files with 7 additions and 10 deletions
|
@ -10,18 +10,18 @@
|
|||
|
||||
pkgbase=pyqt5
|
||||
pkgname=('pyqt5-common' 'python-pyqt5' 'python2-pyqt5')
|
||||
pkgver=5.6
|
||||
pkgver=5.7
|
||||
_pkgver=$pkgver
|
||||
pkgrel=1
|
||||
pkgrel=2
|
||||
arch=('i686' '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-enginio'
|
||||
'python2-dbus' 'python-dbus' 'qt5-connectivity'
|
||||
'qt5-multimedia' 'qt5-tools' 'qt5-serialport' 'qt5-svg'
|
||||
'qt5-websockets' 'qt5-x11extras')
|
||||
'qt5-webkit' 'qt5-websockets' 'qt5-x11extras')
|
||||
source=("http://sourceforge.net/projects/pyqt/files/PyQt5/PyQt-$pkgver/PyQt5_gpl-$pkgver.tar.gz")
|
||||
md5sums=('dbfc885c0548e024ba5260c4f44e0481')
|
||||
md5sums=('e3dc21f31fd714659f0688e1eb31bacf')
|
||||
|
||||
prepare() {
|
||||
# The additional include path was removed due to this line, I don't really know why they are doing this...
|
||||
|
@ -61,9 +61,6 @@ package_pyqt5-common(){
|
|||
depends=('qt5-base')
|
||||
|
||||
cd PyQt5_gpl-${_pkgver}
|
||||
make -C pyrcc DESTDIR="${pkgdir}" INSTALL_ROOT="${pkgdir}" install
|
||||
make -C pylupdate DESTDIR="${pkgdir}" INSTALL_ROOT="${pkgdir}" install
|
||||
|
||||
install -Dm644 PyQt5.api "${pkgdir}"/usr/share/qt/qsci/api/python/PyQt5.api
|
||||
|
||||
install -d "${pkgdir}"/usr/share/sip/PyQt5
|
||||
|
@ -88,7 +85,6 @@ package_python-pyqt5(){
|
|||
make DESTDIR="${pkgdir}" INSTALL_ROOT="${pkgdir}" install
|
||||
|
||||
# Provided by pyqt-common
|
||||
rm "${pkgdir}"/usr/bin/{pylupdate5,pyrcc5}
|
||||
rm "${pkgdir}"/usr/share/qt/qsci/api/python/PyQt5.api
|
||||
}
|
||||
|
||||
|
@ -111,8 +107,9 @@ package_python2-pyqt5(){
|
|||
|
||||
# Fix conflicts with python-pyqt5
|
||||
mv "${pkgdir}"/usr/bin/{,python2-}pyuic5
|
||||
mv "${pkgdir}"/usr/bin/{,python2-}pylupdate5
|
||||
mv "${pkgdir}"/usr/bin/{,python2-}pyrcc5
|
||||
|
||||
rm "${pkgdir}"/usr/bin/{pylupdate5,pyrcc5}
|
||||
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
|
||||
|
|
Loading…
Reference in a new issue