[v6,28/28] package/qt5charts: Add optional dependency on qt5multimedia
diff mbox series

Message ID 20200217212350.29750-29-anaumann@ultratronik.de
State New
Headers show
Series
  • Qt5 qmake infra and per-package compatibility
Related show

Commit Message

Andreas Naumann Feb. 17, 2020, 9:23 p.m. UTC
The audio example depends on it.

Signed-off-by: Andreas Naumann <anaumann@ultratronik.de>
---
 package/qt5/qt5charts/qt5charts.mk | 4 ++++
 1 file changed, 4 insertions(+)

Patch
diff mbox series

diff --git a/package/qt5/qt5charts/qt5charts.mk b/package/qt5/qt5charts/qt5charts.mk
index 40f5efc2da..478cf9d6d8 100644
--- a/package/qt5/qt5charts/qt5charts.mk
+++ b/package/qt5/qt5charts/qt5charts.mk
@@ -24,4 +24,8 @@  ifeq ($(BR2_PACKAGE_QT5DECLARATIVE),y)
 QT5CHARTS_DEPENDENCIES += qt5declarative
 endif
 
+ifeq ($(BR2_PACKAGE_QT5MULTIMEDIA),y)
+QT5CHARTS_DEPENDENCIES += qt5multimedia
+endif
+
 $(eval $(qmake-package))