From ac8044fc32bcca612a6105c9f0ca9aef11ebc061 Mon Sep 17 00:00:00 2001 From: Bartosz Golaszewski Date: Tue, 27 Jun 2017 09:53:08 +0200 Subject: [PATCH] qt5multimedia: conditionally add pulseaudio & libglib2 to dependencies Qt5Multimedia includes support for pulseaudio if it detects libpulse and libpulse-mainloop-glib in the system at build-time. We need to depend on pulseaudio and libglib2 if it 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 133536e1ab..19312ff29d 100644 --- a/package/qt5/qt5multimedia/qt5multimedia.mk +++ b/package/qt5/qt5multimedia/qt5multimedia.mk @@ -26,6 +26,10 @@ ifeq ($(BR2_PACKAGE_QT5DECLARATIVE),y) QT5MULTIMEDIA_DEPENDENCIES += qt5declarative endif +ifeq ($(BR2_PACKAGE_LIBGLIB2)$(BR2_PACKAGE_PULSEAUDIO),yy) +QT5MULTIMEDIA_DEPENDENCIES += libglib2 pulseaudio +endif + define QT5MULTIMEDIA_CONFIGURE_CMDS (cd $(@D); $(TARGET_MAKE_ENV) $(HOST_DIR)/usr/bin/qmake) endef -- 2.30.2