diff options
-rw-r--r-- | recipes-qt/qt5/qtwebkit_git.bb | 14 |
1 files changed, 13 insertions, 1 deletions
diff --git a/recipes-qt/qt5/qtwebkit_git.bb b/recipes-qt/qt5/qtwebkit_git.bb index 22efe82b..58b86c8a 100644 --- a/recipes-qt/qt5/qtwebkit_git.bb +++ b/recipes-qt/qt5/qtwebkit_git.bb | |||
@@ -24,7 +24,10 @@ SRC_URI += "\ | |||
24 | file://0003-Exclude-backtrace-API-for-non-glibc-libraries.patch \ | 24 | file://0003-Exclude-backtrace-API-for-non-glibc-libraries.patch \ |
25 | " | 25 | " |
26 | 26 | ||
27 | PACKAGECONFIG ??= "gstreamer qtlocation qtmultimedia qtsensors qtwebchannel" | 27 | PACKAGECONFIG ??= "gstreamer qtlocation qtmultimedia qtsensors qtwebchannel \ |
28 | ${@bb.utils.contains('DISTRO_FEATURES', 'x11', 'libxcomposite libxrender', '', d)} \ | ||
29 | fontconfig \ | ||
30 | " | ||
28 | PACKAGECONFIG[gstreamer] = "OE_GSTREAMER_ENABLED,,gstreamer1.0 gstreamer1.0-plugins-base" | 31 | PACKAGECONFIG[gstreamer] = "OE_GSTREAMER_ENABLED,,gstreamer1.0 gstreamer1.0-plugins-base" |
29 | PACKAGECONFIG[gstreamer010] = "OE_GSTREAMER010_ENABLED,,gstreamer gst-plugins-base" | 32 | PACKAGECONFIG[gstreamer010] = "OE_GSTREAMER010_ENABLED,,gstreamer gst-plugins-base" |
30 | PACKAGECONFIG[qtlocation] = "OE_QTLOCATION_ENABLED,,qtlocation" | 33 | PACKAGECONFIG[qtlocation] = "OE_QTLOCATION_ENABLED,,qtlocation" |
@@ -32,6 +35,9 @@ PACKAGECONFIG[qtmultimedia] = "OE_QTMULTIMEDIA_ENABLED,,qtmultimedia" | |||
32 | PACKAGECONFIG[qtsensors] = "OE_QTSENSORS_ENABLED,,qtsensors" | 35 | PACKAGECONFIG[qtsensors] = "OE_QTSENSORS_ENABLED,,qtsensors" |
33 | PACKAGECONFIG[qtwebchannel] = "OE_QTWEBCHANNEL_ENABLED,,qtwebchannel" | 36 | PACKAGECONFIG[qtwebchannel] = "OE_QTWEBCHANNEL_ENABLED,,qtwebchannel" |
34 | PACKAGECONFIG[libwebp] = "OE_LIBWEBP_ENABLED,,libwebp" | 37 | PACKAGECONFIG[libwebp] = "OE_LIBWEBP_ENABLED,,libwebp" |
38 | PACKAGECONFIG[libxcomposite] = "OE_LIBXCOMPOSITE_ENABLED,,libxcomposite" | ||
39 | PACKAGECONFIG[libxrender] = "OE_LIBXRENDER_ENABLED,,libxrender" | ||
40 | PACKAGECONFIG[fontconfig] = "OE_FONTCONFIG_ENABLED,,fontconfig" | ||
35 | 41 | ||
36 | do_configure_prepend() { | 42 | do_configure_prepend() { |
37 | export QMAKE_CACHE_EVAL="CONFIG+=${PACKAGECONFIG_CONFARGS}" | 43 | export QMAKE_CACHE_EVAL="CONFIG+=${PACKAGECONFIG_CONFARGS}" |
@@ -50,6 +56,12 @@ do_configure_prepend() { | |||
50 | sed -e 's/\s\(qtHaveModule(webchannel)\)/ OE_QTWEBCHANNEL_ENABLED:\1/' -i ${S}/Source/WebKit2/WebKit2.pri | 56 | sed -e 's/\s\(qtHaveModule(webchannel)\)/ OE_QTWEBCHANNEL_ENABLED:\1/' -i ${S}/Source/WebKit2/WebKit2.pri |
51 | # disable libwebp test if it isn't enabled by PACKAGECONFIG | 57 | # disable libwebp test if it isn't enabled by PACKAGECONFIG |
52 | sed -e 's/\s\(config_libwebp: \)/ OE_LIBWEBP_ENABLED:\1/' -i ${S}/Tools/qmake/mkspecs/features/features.prf | 58 | sed -e 's/\s\(config_libwebp: \)/ OE_LIBWEBP_ENABLED:\1/' -i ${S}/Tools/qmake/mkspecs/features/features.prf |
59 | # disable libxcomposite test if it isn't enabled by PACKAGECONFIG | ||
60 | sed -e 's/\s\(config_libXcomposite: \)/ OE_LIBXCOMPOSITE_ENABLED:\1/' -i ${S}/Tools/qmake/mkspecs/features/features.prf | ||
61 | # disable libxrender test if it isn't enabled by PACKAGECONFIG | ||
62 | sed -e 's/\s\(config_libXrender: \)/ OE_LIBXRENDER_ENABLED:\1/' -i ${S}/Tools/qmake/mkspecs/features/features.prf | ||
63 | # disable fontconfig test if it isn't enabled by PACKAGECONFIG | ||
64 | sed -e 's/\s\(config_fontconfig: \)/ OE_FONTCONFIG_ENABLED:\1/' -i ${S}/Tools/qmake/mkspecs/features/features.prf | ||
53 | } | 65 | } |
54 | 66 | ||
55 | # qtwebkit gets terribly big when linking with all debug info, disable by default | 67 | # qtwebkit gets terribly big when linking with all debug info, disable by default |