1 ################################################################################
5 ################################################################################
7 QT53D_VERSION
= $(QT5_VERSION
)
8 QT53D_SITE
= $(QT5_SITE
)
9 QT53D_SOURCE
= qt3d-opensource-src-
$(QT5SVG_VERSION
).
tar.xz
10 QT53D_DEPENDENCIES
= qt5base qt5declarative
11 QT53D_INSTALL_STAGING
= YES
13 ifeq ($(BR2_PACKAGE_ASSIMP
),y
)
14 QT53D_DEPENDENCIES
+= assimp
17 ifeq ($(BR2_PACKAGE_QT5BASE_LICENSE_APPROVED
),y
)
18 QT53D_LICENSE
= GPLv2 or GPLv3 or LGPLv3
19 QT53D_LICENSE_FILES
= LICENSE.GPL LICENSE.GPLv3 LICENSE.LGPLv3
21 QT53D_LICENSE
= Commercial license
22 QT53D_REDISTRIBUTE
= NO
25 define QT53D_CONFIGURE_CMDS
26 (cd
$(@D
); $(TARGET_MAKE_ENV
) $(HOST_DIR
)/usr
/bin
/qmake
)
29 define QT53D_BUILD_CMDS
30 $(TARGET_MAKE_ENV
) $(MAKE
) -C
$(@D
)
33 define QT53D_INSTALL_STAGING_CMDS
34 $(TARGET_MAKE_ENV
) $(MAKE
) -C
$(@D
) install
35 $(QT5_LA_PRL_FILES_FIXUP
)
38 ifeq ($(BR2_STATIC_LIBS
),)
39 define QT53D_INSTALL_TARGET_CMDS
40 cp
-dpf
$(STAGING_DIR
)/usr
/lib
/libQt53D
*.so.
* $(TARGET_DIR
)/usr
/lib
41 cp
-dpfr
$(STAGING_DIR
)/usr
/lib
/qt
/plugins
/sceneparsers
$(TARGET_DIR
)/usr
/lib
/qt
/plugins
42 cp
-dpfr
$(STAGING_DIR
)/usr
/qml
/Qt3D
$(TARGET_DIR
)/usr
/qml
46 $(eval
$(generic-package
))