2016-04-04 17:37:35 +02:00
|
|
|
################################################################################
|
|
|
|
#
|
|
|
|
# qt5canvas3d
|
|
|
|
#
|
|
|
|
################################################################################
|
|
|
|
|
|
|
|
QT5CANVAS3D_VERSION = $(QT5_VERSION)
|
|
|
|
QT5CANVAS3D_SITE = $(QT5_SITE)
|
2018-03-15 20:50:54 +01:00
|
|
|
QT5CANVAS3D_SOURCE = qtcanvas3d-$(QT5_SOURCE_TARBALL_PREFIX)-$(QT5CANVAS3D_VERSION).tar.xz
|
2016-04-04 17:37:35 +02:00
|
|
|
QT5CANVAS3D_DEPENDENCIES = qt5base qt5declarative
|
|
|
|
QT5CANVAS3D_INSTALL_STAGING = YES
|
|
|
|
|
2017-03-30 15:43:35 +02:00
|
|
|
QT5CANVAS3D_LICENSE = GPL-2.0 or GPL-3.0 or LGPL-3.0
|
2016-04-04 17:37:35 +02:00
|
|
|
QT5CANVAS3D_LICENSE_FILES = LICENSE.GPLv2 LICENSE.GPLv3 LICENSE.LGPLv3
|
|
|
|
|
|
|
|
define QT5CANVAS3D_CONFIGURE_CMDS
|
2017-07-05 13:14:19 +02:00
|
|
|
(cd $(@D); $(TARGET_MAKE_ENV) $(HOST_DIR)/bin/qmake)
|
2016-04-04 17:37:35 +02:00
|
|
|
endef
|
|
|
|
|
|
|
|
define QT5CANVAS3D_BUILD_CMDS
|
|
|
|
$(TARGET_MAKE_ENV) $(MAKE) -C $(@D)
|
|
|
|
endef
|
|
|
|
|
|
|
|
define QT5CANVAS3D_INSTALL_STAGING_CMDS
|
|
|
|
$(TARGET_MAKE_ENV) $(MAKE) -C $(@D) install
|
|
|
|
$(QT5_LA_PRL_FILES_FIXUP)
|
|
|
|
endef
|
|
|
|
|
2018-06-12 14:31:58 +02:00
|
|
|
ifeq ($(BR2_PACKAGE_QT5BASE_EXAMPLES),y)
|
|
|
|
define QT5CANVAS3D_INSTALL_TARGET_EXAMPLES
|
|
|
|
cp -dpfr $(STAGING_DIR)/usr/lib/qt/examples/canvas3d $(TARGET_DIR)/usr/lib/qt/examples/
|
|
|
|
endef
|
|
|
|
endif
|
|
|
|
|
2016-04-04 17:37:35 +02:00
|
|
|
define QT5CANVAS3D_INSTALL_TARGET_CMDS
|
|
|
|
cp -dpfr $(STAGING_DIR)/usr/qml/QtCanvas3D $(TARGET_DIR)/usr/qml/
|
2018-06-12 14:31:58 +02:00
|
|
|
$(QT5CANVAS3D_INSTALL_TARGET_EXAMPLES)
|
2016-04-04 17:37:35 +02:00
|
|
|
endef
|
|
|
|
|
|
|
|
$(eval $(generic-package))
|