update buildroot to 2017.02.11
This commit is contained in:
25
bsp/buildroot-2017.02.11/package/qt5/qt53d/Config.in
Normal file
25
bsp/buildroot-2017.02.11/package/qt5/qt53d/Config.in
Normal file
@@ -0,0 +1,25 @@
|
||||
config BR2_PACKAGE_QT53D
|
||||
bool "qt53d"
|
||||
select BR2_PACKAGE_QT5BASE
|
||||
select BR2_PACKAGE_QT5BASE_GUI
|
||||
select BR2_PACKAGE_QT5DECLARATIVE
|
||||
select BR2_PACKAGE_QT5DECLARATIVE_QUICK
|
||||
depends on BR2_PACKAGE_QT5_JSCORE_AVAILABLE # qt5declarative
|
||||
depends on BR2_PACKAGE_QT5_GL_AVAILABLE # qt5declarative_quick
|
||||
help
|
||||
Qt is a cross-platform application and UI framework for
|
||||
developers using C++.
|
||||
|
||||
This package corresponds to the qt53d module.
|
||||
|
||||
|
||||
This module was in tech preview in Qt 5.6, and promoted
|
||||
to a core module in Qt 5.7.0.
|
||||
|
||||
Enable the assimp package to gain the assimp sceneparser plugin.
|
||||
|
||||
http://doc.qt.io/qt-5/qt3d-index.html
|
||||
|
||||
comment "qt53d module needs an OpenGL-capable backend"
|
||||
depends on BR2_PACKAGE_QT5_JSCORE_AVAILABLE
|
||||
depends on !BR2_PACKAGE_QT5_GL_AVAILABLE
|
||||
5
bsp/buildroot-2017.02.11/package/qt5/qt53d/qt53d.hash
Normal file
5
bsp/buildroot-2017.02.11/package/qt5/qt53d/qt53d.hash
Normal file
@@ -0,0 +1,5 @@
|
||||
# Hash from: https://download.qt.io/official_releases/qt/5.6/5.6.3/submodules/qt3d-opensource-src-5.6.3.tar.xz.mirrorlist
|
||||
sha256 10d05a30e925fcad971126c7f47a5e32c39f007dab96b298b2094501f9607ffe qt3d-opensource-src-5.6.3.tar.xz
|
||||
|
||||
# Hash from: http://download.qt.io/official_releases/qt/5.8/5.8.0/submodules/qt3d-opensource-src-5.8.0.tar.xz
|
||||
sha256 3a224576fc922195ac0063b5b351cd6b9d13afcde9cec14317be0347d10c8ae5 qt3d-opensource-src-5.8.0.tar.xz
|
||||
46
bsp/buildroot-2017.02.11/package/qt5/qt53d/qt53d.mk
Normal file
46
bsp/buildroot-2017.02.11/package/qt5/qt53d/qt53d.mk
Normal file
@@ -0,0 +1,46 @@
|
||||
################################################################################
|
||||
#
|
||||
# qt53d
|
||||
#
|
||||
################################################################################
|
||||
|
||||
QT53D_VERSION = $(QT5_VERSION)
|
||||
QT53D_SITE = $(QT5_SITE)
|
||||
QT53D_SOURCE = qt3d-opensource-src-$(QT53D_VERSION).tar.xz
|
||||
QT53D_DEPENDENCIES = qt5base qt5declarative
|
||||
QT53D_INSTALL_STAGING = YES
|
||||
|
||||
ifeq ($(BR2_PACKAGE_ASSIMP),y)
|
||||
QT53D_DEPENDENCIES += assimp
|
||||
endif
|
||||
|
||||
ifeq ($(BR2_PACKAGE_QT5BASE_LICENSE_APPROVED),y)
|
||||
QT53D_LICENSE = GPLv2 or GPLv3 or LGPLv3
|
||||
QT53D_LICENSE_FILES = LICENSE.GPL LICENSE.GPLv3 LICENSE.LGPLv3
|
||||
else
|
||||
QT53D_LICENSE = Commercial license
|
||||
QT53D_REDISTRIBUTE = NO
|
||||
endif
|
||||
|
||||
define QT53D_CONFIGURE_CMDS
|
||||
(cd $(@D); $(TARGET_MAKE_ENV) $(HOST_DIR)/usr/bin/qmake)
|
||||
endef
|
||||
|
||||
define QT53D_BUILD_CMDS
|
||||
$(TARGET_MAKE_ENV) $(MAKE) -C $(@D)
|
||||
endef
|
||||
|
||||
define QT53D_INSTALL_STAGING_CMDS
|
||||
$(TARGET_MAKE_ENV) $(MAKE) -C $(@D) install
|
||||
$(QT5_LA_PRL_FILES_FIXUP)
|
||||
endef
|
||||
|
||||
ifeq ($(BR2_STATIC_LIBS),)
|
||||
define QT53D_INSTALL_TARGET_CMDS
|
||||
cp -dpf $(STAGING_DIR)/usr/lib/libQt53D*.so.* $(TARGET_DIR)/usr/lib
|
||||
cp -dpfr $(STAGING_DIR)/usr/lib/qt/plugins/sceneparsers $(TARGET_DIR)/usr/lib/qt/plugins
|
||||
cp -dpfr $(STAGING_DIR)/usr/qml/Qt3D $(TARGET_DIR)/usr/qml
|
||||
endef
|
||||
endif
|
||||
|
||||
$(eval $(generic-package))
|
||||
Reference in New Issue
Block a user