qt5multimedia: fix installation when quick is disabled

Fixes:

  http://autobuild.buildroot.net/results/b97/b975c4bb8aebad2d0b8eaefc98c42c0460ace5be/
  http://autobuild.buildroot.net/results/b1c/b1ca9c845f1cf3a396cbd7ad81bfc4411974c709/

Signed-off-by: Fatih Aşıcı <fatih.asici@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
This commit is contained in:
Fatih Aşıcı 2014-07-21 14:16:50 +03:00 committed by Thomas Petazzoni
parent 89611dc08f
commit e934b8b13d
1 changed files with 7 additions and 1 deletions

View File

@ -53,9 +53,15 @@ define QT5MULTIMEDIA_INSTALL_TARGET_LIBS
endef
endif
ifeq ($(BR2_PACKAGE_QT5DECLARATIVE_QUICK),y)
define QT5MULTIMEDIA_INSTALL_TARGET_QMLS
cp -dpfr $(STAGING_DIR)/usr/qml/QtMultimedia $(TARGET_DIR)/usr/qml/
endef
endif
define QT5MULTIMEDIA_INSTALL_TARGET_CMDS
cp -dpfr $(STAGING_DIR)/usr/qml/* $(TARGET_DIR)/usr/qml
$(QT5MULTIMEDIA_INSTALL_TARGET_LIBS)
$(QT5MULTIMEDIA_INSTALL_TARGET_QMLS)
endef
$(eval $(generic-package))