Skip to contentSkip to conversation

qtmultimedia: Add gstremer-1.0 support

PATCH New Martin Jansa 1 participant 1 message Jul 6, 2014

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 qtmultimedia: Add gstremer-1.0 support

---
 recipes-qt/qt5/qtmultimedia.inc                    |   12 +-
 ...1-Initial-porting-effort-to-GStreamer-1.0.patch | 2378 ++++++++++++++++++++
 ...a.pro-Respect-OE_GSTREAMER_ENABLED-OE_GST.patch |   51 +
 3 files changed, 2434 insertions(+), 7 deletions(-)
 create mode 100644 recipes-qt/qt5/qtmultimedia/0001-Initial-porting-effort-to-GStreamer-1.0.patch
 create mode 100644 recipes-qt/qt5/qtmultimedia/0002-qtmultimedia.pro-Respect-OE_GSTREAMER_ENABLED-OE_GST.patch
recipes-qt/qt5/qtmultimedia.inc +5 -7
index 119d61a..5c075fa 100644
@@ -6,16 +6,14 @@ PACKAGECONFIG ??= ""
 PACKAGECONFIG[openal] = ",,openal-soft"
 PACKAGECONFIG[gstreamer010] = ",,gstreamer gst-plugins-base"
 
-do_configure_prepend() {
-    # disable openal test if it isn't enabled by PACKAGECONFIG
-    sed -i 's/^qtCompileTest(openal)/OE_OPENAL_ENABLED:qtCompileTest(openal)/g' ${S}/qtmultimedia.pro
-    # disable gstreamer-0.10 test if it isn't enabled by PACKAGECONFIG
-    sed -i 's/^\( *\)qtCompileTest(gstreamer) {/\1OE_GSTREAMER010_ENABLED:qtCompileTest(gstreamer) {/g' ${S}/qtmultimedia.pro
-}
-
 EXTRA_QMAKEVARS_PRE += "${@base_contains('PACKAGECONFIG', 'openal', 'CONFIG+=OE_OPENAL_ENABLED', '', d)}"
 EXTRA_QMAKEVARS_PRE += "${@base_contains('PACKAGECONFIG', 'gstreamer010', 'CONFIG+=OE_GSTREAMER010_ENABLED', '', d)}"
 
+SRC_URI += "\
+    file://0001-Initial-porting-effort-to-GStreamer-1.0.patch \
+    file://0002-qtmultimedia.pro-Respect-OE_GSTREAMER_ENABLED-OE_GST.patch \
+"
+
 # older copyright year than what e.g. qtbase is using now
 LIC_FILES_CHKSUM = "file://LICENSE.LGPL;md5=4193e7f1d47a858f6b7c0f1ee66161de \
                     file://LICENSE.GPL;md5=d32239bcb673463ab874e80d47fae504 \
recipes-qt/qt5/qtmultimedia/0001-Initial-porting-effort-to-GStreamer-1.0.patch new file +2378 -0

2,378 lines not on this page · raw message

recipes-qt/qt5/qtmultimedia/0002-qtmultimedia.pro-Respect-OE_GSTREAMER_ENABLED-OE_GST.patch new file +51 -0

51 lines not on this page · raw message

Signature · 1 line
2.0.0