From: Wolfgang Grandegger Date: Fri, 20 Jan 2017 16:46:22 +0000 (+0100) Subject: qt5multimedia: install examples X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=9efbfd9f531c5ef115e5ea7f369ad0b8de16d1ce;p=buildroot.git qt5multimedia: install examples Signed-off-by: Wolfgang Grandegger Signed-off-by: Peter Korsgaard --- diff --git a/package/qt5/qt5multimedia/qt5multimedia.mk b/package/qt5/qt5multimedia/qt5multimedia.mk index 67e79686cb..3075ffc919 100644 --- a/package/qt5/qt5multimedia/qt5multimedia.mk +++ b/package/qt5/qt5multimedia/qt5multimedia.mk @@ -59,9 +59,16 @@ define QT5MULTIMEDIA_INSTALL_TARGET_QMLS endef endif +ifeq ($(BR2_PACKAGE_QT5BASE_EXAMPLES),y) +define QT5MULTIMEDIA_INSTALL_TARGET_EXAMPLES + cp -dpfr $(STAGING_DIR)/usr/lib/qt/examples/multimedia* $(TARGET_DIR)/usr/lib/qt/examples/ +endef +endif + define QT5MULTIMEDIA_INSTALL_TARGET_CMDS $(QT5MULTIMEDIA_INSTALL_TARGET_LIBS) $(QT5MULTIMEDIA_INSTALL_TARGET_QMLS) + $(QT5MULTIMEDIA_INSTALL_TARGET_EXAMPLES) endef $(eval $(generic-package))