pyqt5: Fix building
This commit is contained in:
@@ -99,14 +99,3 @@
|
||||
# Handle any conflicts.
|
||||
if not self.qt_shared:
|
||||
if not self.static:
|
||||
@@ -1950,7 +1976,9 @@
|
||||
# Guess the name of make and set the default target and platform specific
|
||||
# name of the executable.
|
||||
if target_config.py_platform == 'win32':
|
||||
- if target_config.qmake_spec == 'win32-g++':
|
||||
+ if _POSIX_BUILD:
|
||||
+ make = 'make'
|
||||
+ elif target_config.qmake_spec == 'win32-g++':
|
||||
make = 'mingw32-make'
|
||||
else:
|
||||
make = 'nmake'
|
||||
|
||||
@@ -11,12 +11,13 @@ license=('GPL')
|
||||
url="http://www.riverbankcomputing.co.uk/software/pyqt"
|
||||
makedepends=("${MINGW_PACKAGE_PREFIX}-python2-sip"
|
||||
"${MINGW_PACKAGE_PREFIX}-python3-sip"
|
||||
"${MINGW_PACKAGE_PREFIX}-qt5")
|
||||
"${MINGW_PACKAGE_PREFIX}-qt5"
|
||||
"${MINGW_PACKAGE_PREFIX}-make")
|
||||
options=('strip' 'staticlibs')
|
||||
source=("https://downloads.sourceforge.net/project/pyqt/PyQt5/PyQt-${pkgver}/PyQt5_gpl-${pkgver}.tar.gz"
|
||||
001-mingw-python.patch)
|
||||
sha256sums=('2e481a6c4c41b96ed3b33449e5f9599987c63a5c8db93313bd57a6acbf20f0e1'
|
||||
'17c8f7fd63bcf2dc1f4edb8473ab0f0dcdf24d6c695071139d6bd1d1b158aada')
|
||||
'be96cb5401a88e6f9a4545ec5b241689656d54ee1460b453cf514e100542a5f0')
|
||||
|
||||
prepare() {
|
||||
cd "${srcdir}"/PyQt5_gpl-${pkgver}
|
||||
|
||||
Reference in New Issue
Block a user