Files
buildroot/package/qt5/qt53d/qt53d.mk
Quentin Schulz d9cf0f02f1 package/qt5/qt53d: force using Buildroot's assimp when selected
If we're adding a dependency to the package, it's for its build system
to use it. Unfortunately, when -feature-system-assimp is not passed, the
assimp module from the sources will be used. Moreover, it doesn't build
currently.

Unfortunately, qt53d still doesn't build with assimp from Buildroot.

Signed-off-by: Quentin Schulz <quentin.schulz@cherry.de>
Signed-off-by: Thomas Perale <thomas.perale@mind.be>
2026-06-04 12:14:25 +02:00

30 lines
777 B
Makefile

################################################################################
#
# qt53d
#
################################################################################
QT53D_VERSION = 9bf4d03e2515f7c454647d54542330b6e90f8191
QT53D_SITE = $(QT5_SITE)/qt3d/-/archive/$(QT53D_VERSION)
QT53D_SOURCE = qt3d-$(QT53D_VERSION).tar.bz2
QT53D_DEPENDENCIES = qt5declarative
QT53D_INSTALL_STAGING = YES
QT53D_SYNC_QT_HEADERS = YES
# command line argument separator
QT53D_CONF_OPTS = --
ifeq ($(BR2_PACKAGE_ASSIMP),y)
QT53D_DEPENDENCIES += assimp
QT53D_CONF_OPTS += \
-feature-system-assimp
else
QT53D_CONF_OPTS += \
-no-feature-assimp
endif
QT53D_LICENSE = GPL-2.0 or GPL-3.0 or LGPL-3.0
QT53D_LICENSE_FILES = LICENSE.GPL LICENSE.GPLv3 LICENSE.LGPLv3
$(eval $(qmake-package))