Buildroot Archive on lore.kernel.org
 help / color / mirror / Atom feed
* [Buildroot] [PATCH] qt5multimedia: install gsttools library to target
@ 2014-01-24 14:06 Fatih Aşıcı
  2014-03-01 23:29 ` Thomas Petazzoni
  0 siblings, 1 reply; 2+ messages in thread
From: Fatih Aşıcı @ 2014-01-24 14:06 UTC (permalink / raw)
  To: buildroot

It is built when gst-plugins-base is selected.

Signed-off-by: Fatih A??c? <fatih.asici@gmail.com>
Noticed-by: Pawe? Gibaszek <gibol666@gmail.com>
---
 package/qt5/qt5multimedia/qt5multimedia.mk | 11 +++++++++++
 1 file changed, 11 insertions(+)

diff --git a/package/qt5/qt5multimedia/qt5multimedia.mk b/package/qt5/qt5multimedia/qt5multimedia.mk
index 1a3ca6b..5256920 100644
--- a/package/qt5/qt5multimedia/qt5multimedia.mk
+++ b/package/qt5/qt5multimedia/qt5multimedia.mk
@@ -20,6 +20,10 @@ QT5MULTIMEDIA_LICENSE = Commercial license
 QT5MULTIMEDIA_REDISTRIBUTE = NO
 endif
 
+ifeq ($(BR2_PACKAGE_GST_PLUGINS_BASE),y)
+QT5MULTIMEDIA_DEPENDENCIES += gst-plugins-base
+endif
+
 define QT5MULTIMEDIA_CONFIGURE_CMDS
 	(cd $(@D); $(HOST_DIR)/usr/bin/qmake)
 endef
@@ -34,9 +38,16 @@ define QT5MULTIMEDIA_INSTALL_STAGING_CMDS
 endef
 
 ifeq ($(BR2_PREFER_STATIC_LIB),)
+ifeq ($(BR2_PACKAGE_GST_PLUGINS_BASE),y)
+define QT5MULTIMEDIA_INSTALL_TARGET_QGSTTOOLS_LIB
+	cp -dpf $(STAGING_DIR)/usr/lib/libqgsttools*.so.* $(TARGET_DIR)/usr/lib
+endef
+endif
+
 define QT5MULTIMEDIA_INSTALL_TARGET_LIBS
 	cp -dpf $(STAGING_DIR)/usr/lib/libQt5Multimedia*.so.* $(TARGET_DIR)/usr/lib
 	cp -dpfr $(STAGING_DIR)/usr/lib/qt/plugins/* $(TARGET_DIR)/usr/lib/qt/plugins
+	$(QT5MULTIMEDIA_INSTALL_TARGET_QGSTTOOLS_LIB)
 endef
 endif
 
-- 
1.8.5.2

^ permalink raw reply related	[flat|nested] 2+ messages in thread

* [Buildroot] [PATCH] qt5multimedia: install gsttools library to target
  2014-01-24 14:06 [Buildroot] [PATCH] qt5multimedia: install gsttools library to target Fatih Aşıcı
@ 2014-03-01 23:29 ` Thomas Petazzoni
  0 siblings, 0 replies; 2+ messages in thread
From: Thomas Petazzoni @ 2014-03-01 23:29 UTC (permalink / raw)
  To: buildroot

Dear Fatih A??c?,

On Fri, 24 Jan 2014 16:06:20 +0200, Fatih A??c? wrote:
> It is built when gst-plugins-base is selected.
> 
> Signed-off-by: Fatih A??c? <fatih.asici@gmail.com>
> Noticed-by: Pawe? Gibaszek <gibol666@gmail.com>
> ---
>  package/qt5/qt5multimedia/qt5multimedia.mk | 11 +++++++++++
>  1 file changed, 11 insertions(+)

Applied, thanks.

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

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2014-03-01 23:29 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-01-24 14:06 [Buildroot] [PATCH] qt5multimedia: install gsttools library to target Fatih Aşıcı
2014-03-01 23:29 ` Thomas Petazzoni

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox