diff options
-rw-r--r-- | recipes-qt/qt5/qtwebkit.inc | 17 |
1 files changed, 6 insertions, 11 deletions
diff --git a/recipes-qt/qt5/qtwebkit.inc b/recipes-qt/qt5/qtwebkit.inc index a6322cbb..8054e931 100644 --- a/recipes-qt/qt5/qtwebkit.inc +++ b/recipes-qt/qt5/qtwebkit.inc | |||
@@ -8,13 +8,14 @@ LIC_FILES_CHKSUM = "file://Source/WebCore/rendering/RenderApplet.h;endline=22;md | |||
8 | DEPENDS += "qtbase qtdeclarative icu ruby-native sqlite3 glib-2.0 libxslt" | 8 | DEPENDS += "qtbase qtdeclarative icu ruby-native sqlite3 glib-2.0 libxslt" |
9 | 9 | ||
10 | PACKAGECONFIG ??= "gstreamer qtlocation qtmultimedia qtsensors" | 10 | PACKAGECONFIG ??= "gstreamer qtlocation qtmultimedia qtsensors" |
11 | PACKAGECONFIG[gstreamer] = ",,gstreamer1.0 gstreamer1.0-plugins-base" | 11 | PACKAGECONFIG[gstreamer] = "OE_GSTREAMER_ENABLED,,gstreamer1.0 gstreamer1.0-plugins-base" |
12 | PACKAGECONFIG[gstreamer010] = ",,gstreamer gst-plugins-base" | 12 | PACKAGECONFIG[gstreamer010] = "OE_GSTREAMER010_ENABLED,,gstreamer gst-plugins-base" |
13 | PACKAGECONFIG[qtlocation] = ",,qtlocation" | 13 | PACKAGECONFIG[qtlocation] = "OE_QTLOCATION_ENABLED,,qtlocation" |
14 | PACKAGECONFIG[qtmultimedia] = ",,qtmultimedia" | 14 | PACKAGECONFIG[qtmultimedia] = "OE_QTMULTIMEDIA_ENABLED,,qtmultimedia" |
15 | PACKAGECONFIG[qtsensors] = ",,qtsensors" | 15 | PACKAGECONFIG[qtsensors] = "OE_QTSENSORS_ENABLED,,qtsensors" |
16 | 16 | ||
17 | do_configure_prepend() { | 17 | do_configure_prepend() { |
18 | export QMAKE_CACHE_EVAL="CONFIG+=${EXTRA_OECONF}" | ||
18 | # disable gstreamer-1.0 test if it isn't enabled by PACKAGECONFIG | 19 | # disable gstreamer-1.0 test if it isn't enabled by PACKAGECONFIG |
19 | sed -e 's/\s\(packagesExist(".*\<gstreamer-1.0\>.*")\)/ OE_GSTREAMER_ENABLED:\1/' -i ${S}/Tools/qmake/mkspecs/features/features.prf | 20 | sed -e 's/\s\(packagesExist(".*\<gstreamer-1.0\>.*")\)/ OE_GSTREAMER_ENABLED:\1/' -i ${S}/Tools/qmake/mkspecs/features/features.prf |
20 | # disable gstreamer-0.10 test if it isn't enabled by PACKAGECONFIG | 21 | # disable gstreamer-0.10 test if it isn't enabled by PACKAGECONFIG |
@@ -27,12 +28,6 @@ do_configure_prepend() { | |||
27 | sed -e 's/\s\(qtHaveModule(sensors)\)/ OE_QTSENSORS_ENABLED:\1/' -i ${S}/Tools/qmake/mkspecs/features/features.prf | 28 | sed -e 's/\s\(qtHaveModule(sensors)\)/ OE_QTSENSORS_ENABLED:\1/' -i ${S}/Tools/qmake/mkspecs/features/features.prf |
28 | } | 29 | } |
29 | 30 | ||
30 | EXTRA_QMAKEVARS_PRE += "${@base_contains('PACKAGECONFIG', 'gstreamer', 'CONFIG+=OE_GSTREAMER_ENABLED', '', d)}" | ||
31 | EXTRA_QMAKEVARS_PRE += "${@base_contains('PACKAGECONFIG', 'gstreamer010', 'CONFIG+=OE_GSTREAMER010_ENABLED', '', d)}" | ||
32 | EXTRA_QMAKEVARS_PRE += "${@base_contains('PACKAGECONFIG', 'qtlocation', 'CONFIG+=OE_QTLOCATION_ENABLED', '', d)}" | ||
33 | EXTRA_QMAKEVARS_PRE += "${@base_contains('PACKAGECONFIG', 'qtmultimedia', 'CONFIG+=OE_QTMULTIMEDIA_ENABLED', '', d)}" | ||
34 | EXTRA_QMAKEVARS_PRE += "${@base_contains('PACKAGECONFIG', 'qtsensors', 'CONFIG+=OE_QTSENSORS_ENABLED', '', d)}" | ||
35 | |||
36 | # qtwebkit gets terribly big when linking with all debug info, disable by default | 31 | # qtwebkit gets terribly big when linking with all debug info, disable by default |
37 | QTWEBKIT_DEBUG = "QMAKE_CFLAGS+=-g0 QMAKE_CXXFLAGS+=-g0" | 32 | QTWEBKIT_DEBUG = "QMAKE_CFLAGS+=-g0 QMAKE_CXXFLAGS+=-g0" |
38 | EXTRA_QMAKEVARS_PRE += "${QTWEBKIT_DEBUG}" | 33 | EXTRA_QMAKEVARS_PRE += "${QTWEBKIT_DEBUG}" |