docker-engine: new package
[buildroot-gz.git] / package / qt5 / qt5quickcontrols / qt5quickcontrols.mk
blobb33ff1575eb8bf5e33cf9fe23ea0a50a82153364
1 ################################################################################
3 # qt5quickcontrols
5 ################################################################################
7 QT5QUICKCONTROLS_VERSION = $(QT5_VERSION)
8 QT5QUICKCONTROLS_SITE = $(QT5_SITE)
9 QT5QUICKCONTROLS_SOURCE = qtquickcontrols-opensource-src-$(QT5QUICKCONTROLS_VERSION).tar.xz
10 QT5QUICKCONTROLS_DEPENDENCIES = qt5base qt5declarative
11 QT5QUICKCONTROLS_INSTALL_STAGING = YES
13 ifeq ($(BR2_PACKAGE_QT5BASE_LICENSE_APPROVED),y)
14 QT5QUICKCONTROLS_LICENSE = GPLv2 or GPLv3 or LGPLv3, GFDLv1.3 (docs)
15 QT5QUICKCONTROLS_LICENSE_FILES = LICENSE.GPLv2 LICENSE.GPLv3 LICENSE.LGPLv3 LICENSE.FDL
16 else
17 QT5QUICKCONTROLS_LICENSE = Commercial license
18 QT5QUICKCONTROLS_REDISTRIBUTE = NO
19 endif
21 define QT5QUICKCONTROLS_CONFIGURE_CMDS
22 (cd $(@D); $(TARGET_MAKE_ENV) $(HOST_DIR)/usr/bin/qmake)
23 endef
25 define QT5QUICKCONTROLS_BUILD_CMDS
26 $(TARGET_MAKE_ENV) $(MAKE) -C $(@D)
27 endef
29 define QT5QUICKCONTROLS_INSTALL_STAGING_CMDS
30 $(TARGET_MAKE_ENV) $(MAKE) -C $(@D) install
31 endef
33 define QT5QUICKCONTROLS_INSTALL_TARGET_CMDS
34 cp -dpfr $(STAGING_DIR)/usr/qml/QtQuick $(TARGET_DIR)/usr/qml
35 endef
37 $(eval $(generic-package))