diff options
| author | Martin Jansa <Martin.Jansa@gmail.com> | 2015-11-06 14:04:54 +0100 |
|---|---|---|
| committer | Martin Jansa <Martin.Jansa@gmail.com> | 2015-11-11 13:24:53 +0100 |
| commit | c44294bb8b2ad3035d15c02b751916993c54eccd (patch) | |
| tree | 6b20767b06f732d7c6b4328b49319b08e5bf75ac | |
| parent | 39110d2465b0c2bd156aa1288363bfdfee4291af (diff) | |
| download | meta-qt5-c44294bb8b2ad3035d15c02b751916993c54eccd.tar.gz | |
qtwebengine: add dependency on libxscrnsaver with x11 in DISTRO_FEATURES
* when qtbase is built with x11 support, xcb is enabled in QT_CONFIG
and qtwebengine checks for libxscrnsaver.
Unfortunately such check isn't fatal for do_configure task, it will
only show something like this:
libxscrnsaver wasn't found, qtwebengine won't be built
in log.do_configure and continue to do_compile and do_install (which
will also finish successfully, saying "Nothing to do").
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
| -rw-r--r-- | recipes-qt/qt5/qtwebengine_git.bb | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/recipes-qt/qt5/qtwebengine_git.bb b/recipes-qt/qt5/qtwebengine_git.bb index 65e6d409..dc19f60e 100644 --- a/recipes-qt/qt5/qtwebengine_git.bb +++ b/recipes-qt/qt5/qtwebengine_git.bb | |||
| @@ -17,6 +17,12 @@ DEPENDS += " \ | |||
| 17 | libcap \ | 17 | libcap \ |
| 18 | " | 18 | " |
| 19 | 19 | ||
| 20 | # when qtbase is built with xcb enabled (default with x11 in DISTRO_FEATURES), | ||
| 21 | # qtwebengine will have additional dependencies: | ||
| 22 | # contains(QT_CONFIG, xcb): REQUIRED_PACKAGES += libdrm xcomposite xcursor xi xrandr xscrnsaver xtst | ||
| 23 | # xscreensaver isn't covered in qtbase DEPENDS | ||
| 24 | DEPENDS += "${@base_contains('DISTRO_FEATURES', 'x11', 'libxscrnsaver', '', d)}" | ||
| 25 | |||
| 20 | COMPATIBLE_MACHINE = "(-)" | 26 | COMPATIBLE_MACHINE = "(-)" |
| 21 | COMPATIBLE_MACHINE_x86 = "(.*)" | 27 | COMPATIBLE_MACHINE_x86 = "(.*)" |
| 22 | COMPATIBLE_MACHINE_x86-64 = "(.*)" | 28 | COMPATIBLE_MACHINE_x86-64 = "(.*)" |
