diff options
author | Gaël PORTAY <gael.portay@savoirfairelinux.com> | 2018-02-13 21:37:14 -0500 |
---|---|---|
committer | Peter Korsgaard <peter@korsgaard.com> | 2018-02-19 23:45:38 +0100 |
commit | 737278c2ccb607c4a5a8b3bb0d817c25a2dc2602 (patch) | |
tree | f1d59a64f483c0d3b817902b88a58aa81995df17 /package/qt5/qt5webengine/qt5webengine.mk | |
parent | b1e4a383832ff7a4df75ecd3d976b7dc2bce3aac (diff) | |
download | buildroot-737278c2ccb607c4a5a8b3bb0d817c25a2dc2602.tar.gz buildroot-737278c2ccb607c4a5a8b3bb0d817c25a2dc2602.zip |
qt5webengine: fix build issue with alsa
Qt WebEngine auto-guesses if it compiles support for alsa. When the
alsa-lib config is enabled but the features mixer, rawmidi, hwdep and
seq are not also enabled, it leads to a build failure.
Lets the developer decide whether or not support for alsa in Qt
WebEngine by adding the new config BR2_PACKAGE_QT5WEBENGINE_ALSA that
selects the features it needs when it is set.
Fixes [1].
[1]: http://autobuild.buildroot.net/results/d81537a8f67bb0a3625057560b2f16daf4828f98/build-end.log
Signed-off-by: Gaël PORTAY <gael.portay@savoirfairelinux.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
Diffstat (limited to 'package/qt5/qt5webengine/qt5webengine.mk')
-rw-r--r-- | package/qt5/qt5webengine/qt5webengine.mk | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/package/qt5/qt5webengine/qt5webengine.mk b/package/qt5/qt5webengine/qt5webengine.mk index 365d7d5a17..4d423f8329 100644 --- a/package/qt5/qt5webengine/qt5webengine.mk +++ b/package/qt5/qt5webengine/qt5webengine.mk @@ -28,6 +28,12 @@ ifeq ($(BR2_PACKAGE_QT5WEBENGINE_PROPRIETARY_CODECS),y) QT5WEBENGINE_QMAKEFLAGS += WEBENGINE_CONFIG+=use_proprietary_codecs endif +ifeq ($(BR2_PACKAGE_QT5WEBENGINE_ALSA),y) +QT5WEBENGINE_DEPENDENCIES += alsa-lib +else +QT5WEBENGINE_QMAKEFLAGS += QT_CONFIG-=alsa +endif + # QtWebengine's build system uses python, but only supports python2. We work # around this by forcing python2 early in the PATH, via a python->python2 # symlink. |