summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFatih Aşıcı <fatih.asici@gmail.com>2014-01-24 14:06:20 (GMT)
committer Thomas Petazzoni <thomas.petazzoni@free-electrons.com>2014-03-01 23:29:16 (GMT)
commit68af56cc3300fb8f3bef83a24d81167de91b27ca (patch)
treeeed4a8d3e84b96a06183758a4fd754fffbc9b8a7
parent34d406a0aad73e3880b248a8fd5c2f0ef64b5b27 (diff)
downloadbuildroot-68af56cc3300fb8f3bef83a24d81167de91b27ca.tar.gz
buildroot-68af56cc3300fb8f3bef83a24d81167de91b27ca.tar.bz2
qt5multimedia: install gsttools library to target
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> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
-rw-r--r--package/qt5/qt5multimedia/qt5multimedia.mk11
1 files changed, 11 insertions, 0 deletions
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