diff options
author | rakuco <rakuco@FreeBSD.org> | 2013-11-13 03:01:34 +0800 |
---|---|---|
committer | rakuco <rakuco@FreeBSD.org> | 2013-11-13 03:01:34 +0800 |
commit | caf8cc6dadb92ba40abc1f956660b95d1ad71573 (patch) | |
tree | 12fcfb8f7be5c473191fa268ea13304a9ec483d9 /devel | |
parent | 271e0602e87a7c67b29244a77af033fd0f91aceb (diff) | |
download | freebsd-ports-gnome-caf8cc6dadb92ba40abc1f956660b95d1ad71573.tar.gz freebsd-ports-gnome-caf8cc6dadb92ba40abc1f956660b95d1ad71573.tar.zst freebsd-ports-gnome-caf8cc6dadb92ba40abc1f956660b95d1ad71573.zip |
Fix the multimedia/py-qt4-phonon build with multimedia/phonon 4.7.0.
Change the configure.py so that the Phonon test program uses a different
Phonon header, as upstream commit b51f5bf2 changed the QWidget include in a
way that breaks PyQt's detection, and PyQt refuses to support KDE's Phonon
for some reason and is thus unwilling to fix its configuration program.
See https://bugs.kde.org/show_bug.cgi?id=306261 for more information.
Diffstat (limited to 'devel')
-rw-r--r-- | devel/py-qt4-core/files/patch-configure.py | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/devel/py-qt4-core/files/patch-configure.py b/devel/py-qt4-core/files/patch-configure.py index f5621226151d..27a602a56cff 100644 --- a/devel/py-qt4-core/files/patch-configure.py +++ b/devel/py-qt4-core/files/patch-configure.py @@ -9,6 +9,17 @@ check_module("QtGui", "qwidget.h", "new QWidget()") if qt_version < 0x050000: check_module("QtHelp", "qhelpengine.h", "new QHelpEngine(\"foo\")") +@@ -371,8 +371,8 @@ + check_module("QtTest", "QtTest", "QTest::qSleep(0)") + check_module("QtWebKit", "qwebpage.h", "new QWebPage()") + check_module("QtXmlPatterns", "qxmlname.h", "new QXmlName()") +- check_module("phonon", "phonon/videowidget.h", +- "new Phonon::VideoWidget()") ++ check_module("phonon", "phonon/mediacontroller.h", ++ "new Phonon::MediaController(0)") + check_module("QtAssistant", "qassistantclient.h", + "new QAssistantClient(\"foo\")", extra_lib_dirs=ass_lib_dirs, + extra_libs=ass_libs) @@ -648,21 +648,6 @@ if opts.staticplugins: sipconfig.inform("Unable to find the following static plugins: %s" % ", ".join(opts.staticplugins)) |