SUMMARY = "Portable library to import 3D model formats" 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=d9d5275cab4fb13ae624d42ce64865de" DEPENDS = "zlib" SRC_URI = "git://github.com/assimp/assimp.git;protocol=https;branch=master \ file://0001-X3D-Fix-invalid-vector-back-usage-6283.patch" UPSTREAM_CHECK_GITTAGREGEX = "v(?P(\d+(\.\d+)+))" SRCREV = "c35200e38ea8f058812b83de2ef32c6093b0ece2" 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" # Work around do_package_qa error INSANE_SKIP:${PN}-dev += "buildpaths"