diff options
| author | Ashwin Prabhakar <ashwin.prabhakar@qti.qualcomm.com> | 2026-06-13 06:41:31 +0200 |
|---|---|---|
| committer | Khem Raj <khem.raj@oss.qualcomm.com> | 2026-06-14 23:07:50 -0700 |
| commit | 66334be9e2cc5f9806d221dae038d92418a276c2 (patch) | |
| tree | c3c33228f923c365a23775e0368ea22096c2d053 | |
| parent | e6bd3835c9294e9e45f9e3c2da5f8049cafb9fb3 (diff) | |
| download | meta-openembedded-66334be9e2cc5f9806d221dae038d92418a276c2.tar.gz | |
assimp: Add new recipe for Open Asset Import Library (Assimp)
Add a new recipe for the Open Asset Import Library (Assimp) using
the latest upstream git source. This library provides a unified
interface to import various 3D model formats.
Signed-off-by: Ashwin Prabhakar <ashwin.prabhakar@qti.qualcomm.com>
Signed-off-by: Khem Raj <khem.raj@oss.qualcomm.com>
| -rw-r--r-- | meta-oe/recipes-graphics/assimp/assimp_git.bb | 39 |
1 files changed, 39 insertions, 0 deletions
diff --git a/meta-oe/recipes-graphics/assimp/assimp_git.bb b/meta-oe/recipes-graphics/assimp/assimp_git.bb new file mode 100644 index 0000000000..13d1002946 --- /dev/null +++ b/meta-oe/recipes-graphics/assimp/assimp_git.bb | |||
| @@ -0,0 +1,39 @@ | |||
| 1 | SUMMARY = "Open Asset Import Library" | ||
| 2 | DESCRIPTION = "The Open Asset Import Library (assimp) is a portable Open Source \ | ||
| 3 | library to import various well-known 3D model formats in a uniform manner." | ||
| 4 | HOMEPAGE = "https://github.com/assimp/assimp" | ||
| 5 | SECTION = "devel" | ||
| 6 | |||
| 7 | LICENSE = "BSD-3-Clause" | ||
| 8 | LIC_FILES_CHKSUM = "file://LICENSE;md5=f2d38c9e0d63058b051065fb7b1102a8" | ||
| 9 | |||
| 10 | DEPENDS = "zlib" | ||
| 11 | |||
| 12 | SRC_URI = "git://github.com/assimp/assimp.git;protocol=https;branch=master" | ||
| 13 | |||
| 14 | SRCREV = "1962da5ac484434524e7a25d566046edd932f901" | ||
| 15 | |||
| 16 | PV = "5.x+git${SRCPV}" | ||
| 17 | |||
| 18 | inherit cmake | ||
| 19 | |||
| 20 | EXTRA_OECMAKE = "\ | ||
| 21 | -DASSIMP_BUILD_ASSIMP_TOOLS=OFF \ | ||
| 22 | -DASSIMP_BUILD_TESTS=OFF \ | ||
| 23 | -DASSIMP_LIB_INSTALL_DIR=${baselib} \ | ||
| 24 | -DCMAKE_INSTALL_PREFIX=${prefix} \ | ||
| 25 | -DCMAKE_INSTALL_LIBDIR=${baselib} \ | ||
| 26 | -DCMAKE_SKIP_RPATH=ON \ | ||
| 27 | -DCMAKE_BUILD_WITH_INSTALL_RPATH=OFF \ | ||
| 28 | " | ||
| 29 | |||
| 30 | do_install:append() { | ||
| 31 | |||
| 32 | sed -i \ | ||
| 33 | -e "s:${WORKDIR}.*:${prefix}:g" \ | ||
| 34 | -e "s:${TMPDIR}.*:${prefix}:g" \ | ||
| 35 | ${D}${libdir}/pkgconfig/assimp.pc | ||
| 36 | |||
| 37 | find ${D} -name "*assimp*cmake*" -delete | ||
| 38 | find ${D} -name "*.la" -delete | ||
| 39 | } | ||
