[Lunar-commits] <moonbase> PyQt4: fix build when qt4 built without phonon

Zbigniew Luszpinski zbiggy at lunar-linux.org
Sun May 8 04:03:22 CEST 2011


commit 643595e1a06ff6e0f58badf91d16d08b5cb456c3
Author: Zbigniew Luszpinski <zbiggy at lunar-linux.org>
Date:   Sun May 8 04:03:22 2011 +0200

    PyQt4: fix build when qt4 built without phonon
---
 python/PyQt4/BUILD |    3 +++
 1 files changed, 3 insertions(+), 0 deletions(-)

diff --git a/python/PyQt4/BUILD b/python/PyQt4/BUILD
index 779e666..67f2792 100644
--- a/python/PyQt4/BUILD
+++ b/python/PyQt4/BUILD
@@ -5,6 +5,9 @@
 
   printf "${PROBLEM_COLOR}   Be patient. It may look like nothing is happening... its just slow.""${DEFAULT_COLOR}\n" &&
 
+  # Use new kde phonon - fixes build break when qt4 is built without old phonon
+  sed -i "/generate_code(\"phonon\")/s:phonon\":&,extra_include_dirs=[\"/usr/include/phonon\"]:" configure.py &&
+
   python ./configure.py      \
          --confirm-license   \
          $OPTS              &&


More information about the Lunar-commits mailing list