Skip to contentSkip to conversation

package/qt5/qt5multimedia: fix gstreamer1 support

PATCH New Benoît Thébaudeau 2 participants 2 messages Aug 27, 2015

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 package/qt5/qt5multimedia: fix gstreamer1 support

Fix the missing gstreamer1 build dependencies, which could possibly prevent the configuration of qt5multimedia from detecting the supported gstreamer1 features.

Fix the missing gstreamer1 install rules, which resulted in the following runtime error:

defaultServiceProvider::requestService(): no service found for - "org.qt-project.qt.mediaplayer"

---
 package/qt5/qt5multimedia/qt5multimedia.mk | 5 ++++-
 1 file changed, 4 insertions(+), 1 deletion(-)
package/qt5/qt5multimedia/qt5multimedia.mk +4 -1
index 763fc28..50fdd57 100644
@@ -21,6 +21,9 @@ endif
 ifeq ($(BR2_PACKAGE_GST_PLUGINS_BASE),y)
 QT5MULTIMEDIA_DEPENDENCIES += gst-plugins-base
 endif
+ifeq ($(BR2_PACKAGE_GST1_PLUGINS_BASE),y)
+QT5MULTIMEDIA_DEPENDENCIES += gst1-plugins-base
+endif
 
 ifeq ($(BR2_PACKAGE_QT5DECLARATIVE),y)
 QT5MULTIMEDIA_DEPENDENCIES += qt5declarative
@@ -40,7 +43,7 @@ define QT5MULTIMEDIA_INSTALL_STAGING_CMDS
 endef
 
 ifeq ($(BR2_STATIC_LIBS),)
-ifeq ($(BR2_PACKAGE_GST_PLUGINS_BASE),y)
+ifneq ($(BR2_PACKAGE_GST_PLUGINS_BASE)$(BR2_PACKAGE_GST1_PLUGINS_BASE),)
 define QT5MULTIMEDIA_INSTALL_TARGET_QGSTTOOLS_LIB
 	cp -dpf $(STAGING_DIR)/usr/lib/libqgsttools*.so.* $(TARGET_DIR)/usr/lib
 endef
Signature · 1 line
2.1.4
#1 lore raw

PATCH 1/1 package/qt5/qt5multimedia: fix gstreamer1 support

Dear Beno?t Th?baudeau,

Quoted 7 lines · Beno?t Th?baudeau

Fix the missing gstreamer1 build dependencies, which could possibly prevent the configuration of qt5multimedia from detecting the supported gstreamer1 features.

Fix the missing gstreamer1 install rules, which resulted in the following runtime error:

Quoted 6 lines

defaultServiceProvider::requestService(): no service found for - "org.qt-project.qt.mediaplayer"

---
 package/qt5/qt5multimedia/qt5multimedia.mk | 5 ++++-
 1 file changed, 4 insertions(+), 1 deletion(-)

Applied, thanks.

Thomas

Signature · 3 lines
Thomas Petazzoni, CTO, Free Electrons
Embedded Linux, Kernel and Android engineering
http://free-electrons.com