diff options
Diffstat (limited to 'recipes-qt/qt5/qtmultimedia.inc')
-rw-r--r-- | recipes-qt/qt5/qtmultimedia.inc | 12 |
1 files changed, 5 insertions, 7 deletions
diff --git a/recipes-qt/qt5/qtmultimedia.inc b/recipes-qt/qt5/qtmultimedia.inc index 119d61ac..5c075fad 100644 --- a/recipes-qt/qt5/qtmultimedia.inc +++ b/recipes-qt/qt5/qtmultimedia.inc @@ -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 \ |