From 8d7dd837e5e2fcc7b785472e7215ffa74b546d9c Mon Sep 17 00:00:00 2001 From: Bartosz Golaszewski Date: Tue, 27 Jun 2017 09:53:09 +0200 Subject: [PATCH] qt5multimedia: conditionally add alsa-lib to dependencies 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 Reviewed-by: Peter Seiderer Signed-off-by: Thomas Petazzoni --- 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 19312ff29d..062d980a05 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 -- 2.30.2