All of lore.kernel.org
 help / color / mirror / Atom feed
* [Buildroot] [PATCH] qt: add gst-plugins-base dependency to multimedia module
@ 2014-09-15  1:01 Danomi Manchego
  0 siblings, 0 replies; only message in thread
From: Danomi Manchego @ 2014-09-15  1:01 UTC (permalink / raw)
  To: buildroot

The Qt Multimedia module requires libs and h-files installed
by gst-plugins-base.  This commit adds the depends-on gstreamer
and select gst-plugins-base, exactly like the existing logic
in the Qt Phonon module.

Fixes: http://autobuild.buildroot.net/results/389617c7c36dfe92b85d3a3db12a706ae092c73d/

Signed-off-by: Danomi Manchego <danomimanchego123@gmail.com>
---
 package/qt/Config.in | 5 +++++
 package/qt/qt.mk     | 1 +
 2 files changed, 6 insertions(+)

diff --git a/package/qt/Config.in b/package/qt/Config.in
index da159b4..f824914 100644
--- a/package/qt/Config.in
+++ b/package/qt/Config.in
@@ -336,9 +336,14 @@ config BR2_PACKAGE_QT_XMLPATTERNS
 config BR2_PACKAGE_QT_MULTIMEDIA
 	bool "Multimedia Module"
 	depends on BR2_PACKAGE_QT_GUI_MODULE
+	depends on BR2_PACKAGE_GSTREAMER
+	select BR2_PACKAGE_GST_PLUGINS_BASE
 	help
 	  Build QtMultimedia module.
 
+comment "Multimedia module needs gstreamer and gui support"
+	depends on !(BR2_PACKAGE_GSTREAMER && BR2_PACKAGE_QT_GUI_MODULE)
+
 config BR2_PACKAGE_QT_AUDIO_BACKEND
 	bool "QtMultimedia Audio backend"
 	depends on BR2_PACKAGE_QT_MULTIMEDIA
diff --git a/package/qt/qt.mk b/package/qt/qt.mk
index 92a090f..709e532 100644
--- a/package/qt/qt.mk
+++ b/package/qt/qt.mk
@@ -544,6 +544,7 @@ QT_INSTALL_LIBS    += QtSql
 endif
 ifeq ($(BR2_PACKAGE_QT_MULTIMEDIA),y)
 QT_INSTALL_LIBS    += QtMultimedia
+QT_DEPENDENCIES    += gstreamer gst-plugins-base
 endif
 ifeq ($(BR2_PACKAGE_QT_PHONON),y)
 QT_INSTALL_LIBS    += phonon
-- 
1.9.1

^ permalink raw reply related	[flat|nested] only message in thread

only message in thread, other threads:[~2014-09-15  1:01 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2014-09-15  1:01 [Buildroot] [PATCH] qt: add gst-plugins-base dependency to multimedia module Danomi Manchego

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.