[Buildroot] [git commit branch/2017.05.x] qt5multimedia: conditionally add alsa-lib to dependencies
Peter Korsgaard
peter at korsgaard.com
Sun Jul 2 15:51:49 UTC 2017
commit: https://git.buildroot.net/buildroot/commit/?id=4bc14d1c07ef1cccf26c38cbe44a81fe60b21792
branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/2017.05.x
Qt5Multimedia builds the alsa plugin if it detects libasound in the
system. Add alsa-lib to dependencies if BR2_PACKAGE_ALSA_LIB is
selected.
Signed-off-by: Bartosz Golaszewski <brgl at bgdev.pl>
Reviewed-by: Peter Seiderer <ps.report at gmx.net>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni at free-electrons.com>
(cherry picked from commit 8d7dd837e5e2fcc7b785472e7215ffa74b546d9c)
Signed-off-by: Peter Korsgaard <peter at korsgaard.com>
---
package/qt5/qt5multimedia/qt5multimedia.mk | 4 ++++
1 file changed, 4 insertions(+)
diff --git a/package/qt5/qt5multimedia/qt5multimedia.mk b/package/qt5/qt5multimedia/qt5multimedia.mk
index 19312ff..062d980 100644
--- a/package/qt5/qt5multimedia/qt5multimedia.mk
+++ b/package/qt5/qt5multimedia/qt5multimedia.mk
@@ -30,6 +30,10 @@ ifeq ($(BR2_PACKAGE_LIBGLIB2)$(BR2_PACKAGE_PULSEAUDIO),yy)
QT5MULTIMEDIA_DEPENDENCIES += libglib2 pulseaudio
endif
+ifeq ($(BR2_PACKAGE_ALSA_LIB),y)
+QT5MULTIMEDIA_DEPENDENCIES += alsa-lib
+endif
+
define QT5MULTIMEDIA_CONFIGURE_CMDS
(cd $(@D); $(TARGET_MAKE_ENV) $(HOST_DIR)/usr/bin/qmake)
endef
More information about the buildroot
mailing list