Skip to contentSkip to conversation

qt: add gst-plugins-base dependency to multimedia module

PATCH New Danomi Manchego 2 participants 2 messages Sep 15, 2014 – Jul 12, 2015

lore
Share & tools
lore
#0 lore raw

PATCH v2 1/1 qt: add gst-plugins-base dependency to multimedia module

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.

---

Changes v1 -> v2:
- Moved deps from install-libs area to the config-opts area, to match the other Qt module deps.

---
 package/qt/Config.in | 5 +++++
 package/qt/qt.mk     | 1 +
 2 files changed, 6 insertions(+)
package/qt/Config.in +5 -0
index da159b4..f824914 100644
@@ -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
package/qt/qt.mk +1 -0
index 92a090f..6cff658 100644
@@ -374,6 +374,7 @@ endif
 
 ifeq ($(BR2_PACKAGE_QT_MULTIMEDIA),y)
 QT_CONFIGURE_OPTS += -multimedia
+QT_DEPENDENCIES   += gstreamer gst-plugins-base
 else
 QT_CONFIGURE_OPTS += -no-multimedia
 endif
Signature · 1 line
1.9.1
#1 lore raw

PATCH v2 1/1 qt: add gst-plugins-base dependency to multimedia module

Hi Danomi,

[We're cleaning up patchwork, hence this reply to an ancient patch.]

Quoted 8 lines · Danomi Manchego

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.

I tried the defconfig of that autobuild failure on current master and it didn't
fail anymore with Qt 4.8.7. We also don't see any autobuild failures on 4.8.7 that are related to this (but admittedly, there also aren't that many on 4.8.6 that failed for this reason).

I thought for a moment that the problem only occured when gstreamer was
selected and gst-plugins-base was not, but even that doesn't make a difference.

So I've marked this patch as rejected in patchwork. If you think it is still
relevant, please resubmit (with an updated commit log; the contents are good).

Regards,
Arnout

Quoted 43 lines

---

Changes v1 -> v2:
- Moved deps from install-libs area to the config-opts area, to match the other Qt module deps.

---
 package/qt/Config.in | 5 +++++
 package/qt/qt.mk     | 1 +
 2 files changed, 6 insertions(+)
package/qt/Config.in +5 -0
index da159b4..f824914 100644
@@ -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
package/qt/qt.mk +1 -0
index 92a090f..6cff658 100644
@@ -374,6 +374,7 @@ endif
 
 ifeq ($(BR2_PACKAGE_QT_MULTIMEDIA),y)
 QT_CONFIGURE_OPTS += -multimedia
+QT_DEPENDENCIES   += gstreamer gst-plugins-base
 else
 QT_CONFIGURE_OPTS += -no-multimedia
 endif
Signature · 6 lines
Arnout Vandecappelle                          arnout at mind be
Senior Embedded Software Architect            +32-16-286500
Essensium/Mind                                http://www.mind.be
G.Geenslaan 9, 3001 Leuven, Belgium           BE 872 984 063 RPR Leuven
LinkedIn profile: http://www.linkedin.com/in/arnoutvandecappelle
GPG fingerprint:  7493 020B C7E3 8618 8DEC 222C 82EB F404 F9AC 0DDF