docker-engine: new package
[buildroot-gz.git] / package / qt5 / qt5canvas3d / qt5canvas3d.mk
blob3f605ab0312e5280e23e6189d4fe05e8b2de816d
1 ################################################################################
3 # qt5canvas3d
5 ################################################################################
7 QT5CANVAS3D_VERSION = $(QT5_VERSION)
8 QT5CANVAS3D_SITE = $(QT5_SITE)
9 QT5CANVAS3D_SOURCE = qtcanvas3d-opensource-src-$(QT5CANVAS3D_VERSION).tar.xz
10 QT5CANVAS3D_DEPENDENCIES = qt5base qt5declarative
11 QT5CANVAS3D_INSTALL_STAGING = YES
13 ifeq ($(BR2_PACKAGE_QT5BASE_LICENSE_APPROVED),y)
14 QT5CANVAS3D_LICENSE = GPLv2 or GPLv3 or LGPLv3
15 QT5CANVAS3D_LICENSE_FILES = LICENSE.GPLv2 LICENSE.GPLv3 LICENSE.LGPLv3
16 else
17 QT5CANVAS3D_LICENSE = Commercial license
18 QT5CANVAS3D_REDISTRIBUTE = NO
19 endif
21 define QT5CANVAS3D_CONFIGURE_CMDS
22 (cd $(@D); $(TARGET_MAKE_ENV) $(HOST_DIR)/usr/bin/qmake)
23 endef
25 define QT5CANVAS3D_BUILD_CMDS
26 $(TARGET_MAKE_ENV) $(MAKE) -C $(@D)
27 endef
29 define QT5CANVAS3D_INSTALL_STAGING_CMDS
30 $(TARGET_MAKE_ENV) $(MAKE) -C $(@D) install
31 $(QT5_LA_PRL_FILES_FIXUP)
32 endef
34 define QT5CANVAS3D_INSTALL_TARGET_CMDS
35 cp -dpfr $(STAGING_DIR)/usr/qml/QtCanvas3D $(TARGET_DIR)/usr/qml/
36 endef
38 $(eval $(generic-package))