summaryrefslogtreecommitdiffstats
path: root/recipes-qt/qt5/qtwebkit.inc
diff options
context:
space:
mode:
authorJonathan Liu <net147@gmail.com>2015-02-24 23:20:51 +1100
committerMartin Jansa <Martin.Jansa@gmail.com>2015-02-27 17:50:31 +0100
commit085df473cf381e0464d8875a5332aff2d0c44a9f (patch)
treed84722a633e44c004f7dbffc301ae8215f0db0d7 /recipes-qt/qt5/qtwebkit.inc
parentd02ea33262489f6892db857f9674d14a08f7ca54 (diff)
downloadmeta-qt5-085df473cf381e0464d8875a5332aff2d0c44a9f.tar.gz
qtwebkit.inc: add PACKAGECONFIG for qtwebchannel
Signed-off-by: Jonathan Liu <net147@gmail.com> Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Diffstat (limited to 'recipes-qt/qt5/qtwebkit.inc')
-rw-r--r--recipes-qt/qt5/qtwebkit.inc6
1 files changed, 5 insertions, 1 deletions
diff --git a/recipes-qt/qt5/qtwebkit.inc b/recipes-qt/qt5/qtwebkit.inc
index d9eaabb6..9ea44b61 100644
--- a/recipes-qt/qt5/qtwebkit.inc
+++ b/recipes-qt/qt5/qtwebkit.inc
@@ -13,12 +13,13 @@ SRC_URI += "\
13 file://0002-qtwebkit-fix-textrel-x86.patch \ 13 file://0002-qtwebkit-fix-textrel-x86.patch \
14" 14"
15 15
16PACKAGECONFIG ??= "gstreamer qtlocation qtmultimedia qtsensors" 16PACKAGECONFIG ??= "gstreamer qtlocation qtmultimedia qtsensors qtwebchannel"
17PACKAGECONFIG[gstreamer] = "OE_GSTREAMER_ENABLED,,gstreamer1.0 gstreamer1.0-plugins-base" 17PACKAGECONFIG[gstreamer] = "OE_GSTREAMER_ENABLED,,gstreamer1.0 gstreamer1.0-plugins-base"
18PACKAGECONFIG[gstreamer010] = "OE_GSTREAMER010_ENABLED,,gstreamer gst-plugins-base" 18PACKAGECONFIG[gstreamer010] = "OE_GSTREAMER010_ENABLED,,gstreamer gst-plugins-base"
19PACKAGECONFIG[qtlocation] = "OE_QTLOCATION_ENABLED,,qtlocation" 19PACKAGECONFIG[qtlocation] = "OE_QTLOCATION_ENABLED,,qtlocation"
20PACKAGECONFIG[qtmultimedia] = "OE_QTMULTIMEDIA_ENABLED,,qtmultimedia" 20PACKAGECONFIG[qtmultimedia] = "OE_QTMULTIMEDIA_ENABLED,,qtmultimedia"
21PACKAGECONFIG[qtsensors] = "OE_QTSENSORS_ENABLED,,qtsensors" 21PACKAGECONFIG[qtsensors] = "OE_QTSENSORS_ENABLED,,qtsensors"
22PACKAGECONFIG[qtwebchannel] = "OE_QTWEBCHANNEL_ENABLED,,qtwebchannel"
22PACKAGECONFIG[libwebp] = "OE_LIBWEBP_ENABLED,,libwebp" 23PACKAGECONFIG[libwebp] = "OE_LIBWEBP_ENABLED,,libwebp"
23 24
24do_configure_prepend() { 25do_configure_prepend() {
@@ -33,6 +34,9 @@ do_configure_prepend() {
33 sed -e 's/(video):\(qtHaveModule(multimediawidgets)\)/(video):OE_QTMULTIMEDIA_ENABLED:\1/' -i ${S}/Tools/qmake/mkspecs/features/features.prf 34 sed -e 's/(video):\(qtHaveModule(multimediawidgets)\)/(video):OE_QTMULTIMEDIA_ENABLED:\1/' -i ${S}/Tools/qmake/mkspecs/features/features.prf
34 # disable qtsensors test if it isn't enabled by PACKAGECONFIG 35 # disable qtsensors test if it isn't enabled by PACKAGECONFIG
35 sed -e 's/\s\(qtHaveModule(sensors)\)/ OE_QTSENSORS_ENABLED:\1/' -i ${S}/Tools/qmake/mkspecs/features/features.prf 36 sed -e 's/\s\(qtHaveModule(sensors)\)/ OE_QTSENSORS_ENABLED:\1/' -i ${S}/Tools/qmake/mkspecs/features/features.prf
37 # disable qtwebchannel test if it isn't enabled by PACKAGECONFIG
38 sed -e 's/\s\(qtHaveModule(webchannel)\)/ OE_QTWEBCHANNEL_ENABLED:\1/' -i ${S}/Source/WebKit2/Target.pri
39 sed -e 's/\s\(qtHaveModule(webchannel)\)/ OE_QTWEBCHANNEL_ENABLED:\1/' -i ${S}/Source/WebKit2/WebKit2.pri
36 # disable libwebp test if it isn't enabled by PACKAGECONFIG 40 # disable libwebp test if it isn't enabled by PACKAGECONFIG
37 sed -e 's/\s\(config_libwebp: \)/ OE_LIBWEBP_ENABLED:\1/' -i ${S}/Tools/qmake/mkspecs/features/features.prf 41 sed -e 's/\s\(config_libwebp: \)/ OE_LIBWEBP_ENABLED:\1/' -i ${S}/Tools/qmake/mkspecs/features/features.prf
38} 42}