toolchain: bump Codescape IMG MIPS version to 2016.05-06
[buildroot-gz.git] / package / qt5 / qt5quickcontrols2 / qt5quickcontrols2.mk
bloba5ad3f6d4f2c2ce692a7237756192cd5ee2ed97e
1 ################################################################################
3 # qt5quickcontrols2
5 ################################################################################
7 QT5QUICKCONTROLS2_VERSION = $(QT5_VERSION)
8 QT5QUICKCONTROLS2_SITE = $(QT5_SITE)
9 QT5QUICKCONTROLS2_SOURCE = qtquickcontrols2-opensource-src-$(QT5QUICKCONTROLS2_VERSION).tar.xz
10 QT5QUICKCONTROLS2_DEPENDENCIES = qt5base qt5declarative
11 QT5QUICKCONTROLS2_INSTALL_STAGING = YES
13 ifeq ($(BR2_PACKAGE_QT5BASE_LICENSE_APPROVED),y)
14 QT5QUICKCONTROLS2_LICENSE = GPLv3 or LGPLv3, GFDLv1.3 (docs)
15 QT5QUICKCONTROLS2_LICENSE_FILES = LICENSE.GPLv3 LICENSE.LGPLv3 LICENSE.FDL
16 else
17 QT5QUICKCONTROLS2_LICENSE = Commercial license
18 QT5QUICKCONTROLS2_REDISTRIBUTE = NO
19 endif
21 define QT5QUICKCONTROLS2_CONFIGURE_CMDS
22 (cd $(@D); $(TARGET_MAKE_ENV) $(HOST_DIR)/usr/bin/qmake)
23 endef
25 define QT5QUICKCONTROLS2_BUILD_CMDS
26 $(TARGET_MAKE_ENV) $(MAKE) -C $(@D)
27 endef
29 define QT5QUICKCONTROLS2_INSTALL_STAGING_CMDS
30 $(TARGET_MAKE_ENV) $(MAKE) -C $(@D) install
31 endef
33 define QT5QUICKCONTROLS2_INSTALL_TARGET_CMDS
34 cp -dpf $(STAGING_DIR)/usr/lib/libQt5LabsTemplates.so.* $(TARGET_DIR)/usr/lib
35 cp -dpfr $(STAGING_DIR)/usr/qml/Qt/labs/controls $(TARGET_DIR)/usr/qml/Qt/labs
36 cp -dpfr $(STAGING_DIR)/usr/qml/Qt/labs/calendar $(TARGET_DIR)/usr/qml/Qt/labs
37 cp -dpfr $(STAGING_DIR)/usr/qml/Qt/labs/templates $(TARGET_DIR)/usr/qml/Qt/labs
38 endef
40 $(eval $(generic-package))