blob: c7d19c3f636c29c8c293a780fa10d54d2e029c97 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
|
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<pver>(\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"
|