diff options
Diffstat (limited to 'meta-oe/recipes-qt/qt-mobility/qt-mobility-1.2.0/qt-mobility-no-xvideo.patch')
| -rw-r--r-- | meta-oe/recipes-qt/qt-mobility/qt-mobility-1.2.0/qt-mobility-no-xvideo.patch | 26 |
1 files changed, 26 insertions, 0 deletions
diff --git a/meta-oe/recipes-qt/qt-mobility/qt-mobility-1.2.0/qt-mobility-no-xvideo.patch b/meta-oe/recipes-qt/qt-mobility/qt-mobility-1.2.0/qt-mobility-no-xvideo.patch new file mode 100644 index 0000000000..6046752aa7 --- /dev/null +++ b/meta-oe/recipes-qt/qt-mobility/qt-mobility-1.2.0/qt-mobility-no-xvideo.patch | |||
| @@ -0,0 +1,26 @@ | |||
| 1 | QMake pro files don't explicitly define QT_NO_XVIDEO if the | ||
| 2 | configuration lacks xvideo, but plugins code relies on this define. | ||
| 3 | |||
| 4 | Signed-off-by: Hongxu Jia <hongxu.jia@windriver.com> | ||
| 5 | Upstream-Status: Inappropriate [configuration] | ||
| 6 | --- | ||
| 7 | plugins/multimedia/gstreamer/gstreamer.pro | 4 ++++ | ||
| 8 | 1 file changed, 4 insertions(+) | ||
| 9 | |||
| 10 | diff --git a/plugins/multimedia/gstreamer/gstreamer.pro b/plugins/multimedia/gstreamer/gstreamer.pro | ||
| 11 | --- a/plugins/multimedia/gstreamer/gstreamer.pro | ||
| 12 | +++ b/plugins/multimedia/gstreamer/gstreamer.pro | ||
| 13 | @@ -19,6 +19,10 @@ LIBS += \ | ||
| 14 | -lasound | ||
| 15 | } | ||
| 16 | |||
| 17 | +unix:!contains(QT_CONFIG, xvideo) { | ||
| 18 | + DEFINES += QT_NO_XVIDEO | ||
| 19 | +} | ||
| 20 | + | ||
| 21 | CONFIG += link_pkgconfig | ||
| 22 | |||
| 23 | PKGCONFIG += \ | ||
| 24 | -- | ||
| 25 | 1.8.1.2 | ||
| 26 | |||
