( cd ${PRODUCT_SRC_DIR}/sip/phonon && for f in `find . -name "*.sip"` ; do sed -i "s%^#include <%#include <phonon/%g" $f ; done )
fi
+# apply additional patch (if there's any)
+( test -f patches/PyQt-${PYQT_VERSION}.patch && cp patches/PyQt-${PYQT_VERSION}.patch ${PRODUCT_SRC_DIR} && cd ${PRODUCT_SRC_DIR} && patch -p1 < PyQt-${PYQT_VERSION}.patch )
+
# to generate environment scripts
try_preinstalled
}
--- /dev/null
+diff -Naur --exclude=CVS PyQt-4.9.1_SRC.orig/sip/QtDBus/qpydbuspendingreply.sip PyQt-4.9.1_SRC/sip/QtDBus/qpydbuspendingreply.sip
+--- PyQt-4.9.1_SRC.orig/sip/QtDBus/qpydbuspendingreply.sip 2012-02-10 14:35:14.000000000 +0400
++++ PyQt-4.9.1_SRC/sip/QtDBus/qpydbuspendingreply.sip 2012-04-04 15:21:35.000000000 +0400
+@@ -23,6 +23,8 @@
+ // WARRANTY OF DESIGN, MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE.
+
+
++%If (Qt_4_7_0 -)
++
+ class QPyDBusPendingReply : QDBusPendingCall /PyName=QDBusPendingReply/
+ {
+ %TypeHeaderCode
+@@ -47,3 +49,5 @@
+
+ SIP_PYOBJECT value(SIP_PYOBJECT type /DocValue="None"/ = 0) const /HoldGIL/;
+ };
++
++%End
+diff -Naur --exclude=CVS PyQt-4.9.1_SRC.orig/sip/QtDBus/qpydbusreply.sip PyQt-4.9.1_SRC/sip/QtDBus/qpydbusreply.sip
+--- PyQt-4.9.1_SRC.orig/sip/QtDBus/qpydbusreply.sip 2012-02-10 14:35:14.000000000 +0400
++++ PyQt-4.9.1_SRC/sip/QtDBus/qpydbusreply.sip 2012-04-04 15:21:40.000000000 +0400
+@@ -23,6 +23,8 @@
+ // WARRANTY OF DESIGN, MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE.
+
+
++%If (Qt_4_7_0 -)
++
+ class QPyDBusReply /PyName=QDBusReply/
+ {
+ %TypeHeaderCode
+@@ -241,3 +243,5 @@
+ return 0;
+ %End
+ };
++
++%End