diff options
| author | Martin Jansa <Martin.Jansa@gmail.com> | 2016-02-19 14:12:59 +0100 |
|---|---|---|
| committer | Martin Jansa <Martin.Jansa@gmail.com> | 2016-05-06 12:48:05 +0200 |
| commit | 0e5756c97ace089ddd9714f0eafffd71dd15c6ab (patch) | |
| tree | 6ae1b404abfe8879f6634c64c09f09bd2137c6e5 /recipes-qt | |
| parent | 8034aa98076649e452798ff23285249dac7f19fc (diff) | |
| download | meta-qt5-0e5756c97ace089ddd9714f0eafffd71dd15c6ab.tar.gz | |
qtwebkit: add PACKAGECONFIGs for libxcomposite, libxrender, fontconfig
* fixes following QA:
WARNING: qtwebkit-5.6.99+5.7.0-alpha+gitAUTOINC+e9b369b16f-r0 do_package_qa: QA Issue: qtwebkit rdepends on libxcomposite, but it isn't a build dependency? [build-deps]
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Diffstat (limited to 'recipes-qt')
| -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 |
