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>
This commit is contained in:
Fatih Aşıcı 2014-01-24 16:06:20 +02:00 committed by Thomas Petazzoni
parent 34d406a0aa
commit 68af56cc33

View File

@ -20,6 +20,10 @@ QT5MULTIMEDIA_LICENSE = Commercial license
QT5MULTIMEDIA_REDISTRIBUTE = NO QT5MULTIMEDIA_REDISTRIBUTE = NO
endif endif
ifeq ($(BR2_PACKAGE_GST_PLUGINS_BASE),y)
QT5MULTIMEDIA_DEPENDENCIES += gst-plugins-base
endif
define QT5MULTIMEDIA_CONFIGURE_CMDS define QT5MULTIMEDIA_CONFIGURE_CMDS
(cd $(@D); $(HOST_DIR)/usr/bin/qmake) (cd $(@D); $(HOST_DIR)/usr/bin/qmake)
endef endef
@ -34,9 +38,16 @@ define QT5MULTIMEDIA_INSTALL_STAGING_CMDS
endef endef
ifeq ($(BR2_PREFER_STATIC_LIB),) 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 define QT5MULTIMEDIA_INSTALL_TARGET_LIBS
cp -dpf $(STAGING_DIR)/usr/lib/libQt5Multimedia*.so.* $(TARGET_DIR)/usr/lib 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 cp -dpfr $(STAGING_DIR)/usr/lib/qt/plugins/* $(TARGET_DIR)/usr/lib/qt/plugins
$(QT5MULTIMEDIA_INSTALL_TARGET_QGSTTOOLS_LIB)
endef endef
endif endif