python-pyqt: import from oe-classic

Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
This commit is contained in:
Martin Jansa
2012-08-01 11:51:02 +02:00
committed by Koen Kooi
parent 910feab3e7
commit 878a0c8472
6 changed files with 444 additions and 0 deletions

View File

@@ -0,0 +1,15 @@
Description: Fix QtHelp FTBFS with ld --no-add-needed.
Author: Felix Geyer <debfx-pkg@fobos.de>
--- python-qt4-4.8.1.orig/configure.py
+++ python-qt4-4.8.1/configure.py
@@ -364,7 +364,8 @@ class ConfigurePyQt4:
pyqt_modules.append("QtCore")
check_module("QtGui", "qwidget.h", "new QWidget()")
- check_module("QtHelp", "qhelpengine.h", "new QHelpEngine(\"foo\")")
+ check_module("QtHelp", "qhelpengine.h", "new QHelpEngine(\"foo\")",
+ extra_libs=["QtCore"])
check_module("QtMultimedia", "QAudioDeviceInfo",
"new QAudioDeviceInfo()")
check_module("QtNetwork", "qhostaddress.h", "new QHostAddress()")