meta-freescale-distro/recipes-graphics/vulkan/assimp_5.0.1.bb
Neena Busireddy 5aa9e30f1a meta-freescale-distro: Add whinlatter changes
do_unpack: Recipes that set S = "${WORKDIR}/git" or S = "${UNPACKDIR}/git" should remove that assignment, as S set by bitbake.conf in oe-core now works.

Signed-off-by: Neena Busireddy <neenareddy.busireddy@nxp.com>
2025-09-24 17:25:48 -03:00

36 lines
1.2 KiB
BlitzBasic

DESCRIPTION = "Open Asset Import Library is a portable Open Source library to import \
various well-known 3D model formats in a uniform manner."
HOMEPAGE = "http://www.assimp.org/"
SECTION = "devel"
LICENSE = "BSD-3-Clause"
LIC_FILES_CHKSUM = "file://LICENSE;md5=2119edef0916b0bd511cb3c731076271"
DEPENDS = "zlib"
SRC_URI = "git://github.com/assimp/assimp.git;protocol=https;branch=assimp_5.0_release \
file://0001-closes-https-github.com-assimp-assimp-issues-2733-up.patch \
file://use-GNUInstallDirs-where-possible.patch \
file://0001-assimp-remove-shared-lib-from-_IMPORT_CHECK_TARGETS.patch \
"
UPSTREAM_CHECK_GITTAGREGEX = "v(?P<pver>(\d+(\.\d+)+))"
SRCREV = "8f0c6b04b2257a520aaab38421b2e090204b69df"
inherit cmake
do_unpack:append() {
bb.build.exec_func('remove_non_compliant_source', d)
}
remove_non_compliant_source() {
# Remove non-compliant files manually. A patch file cannot be used
# since many of the files are binary.
rm -rf ${S}/test/models-nonbsd ${S}/scripts/StepImporter/schema_ifc2x3.exp
}
EXTRA_OECMAKE = "-DASSIMP_BUILD_ASSIMP_TOOLS=OFF -DASSIMP_BUILD_TESTS=OFF -DASSIMP_LIB_INSTALL_DIR=${baselib}"
BBCLASSEXTEND = "native nativesdk"