[OE-core] [PATCH 1/1] assimp: upgrade to 4.0.0

kai.kang at windriver.com kai.kang at windriver.com
Fri Jul 28 03:21:06 UTC 2017


From: Kai Kang <kai.kang at windriver.com>

Upgrade assimp to 4.0.0.

* Because there is also an assimp recipe in meta-oe, so update
  DESCRIPTION, HOMEPAGE and SECTION from it.
* Remove redundant license file
* Update EXTRA_OECMAKE to fix library install path for multilib

Signed-off-by: Kai Kang <kai.kang at windriver.com>
---
 .../vulkan/{assimp_git.bb => assimp_4.0.0.bb}       | 21 ++++++++++++++-------
 1 file changed, 14 insertions(+), 7 deletions(-)
 rename meta/recipes-graphics/vulkan/{assimp_git.bb => assimp_4.0.0.bb} (41%)

diff --git a/meta/recipes-graphics/vulkan/assimp_git.bb b/meta/recipes-graphics/vulkan/assimp_4.0.0.bb
similarity index 41%
rename from meta/recipes-graphics/vulkan/assimp_git.bb
rename to meta/recipes-graphics/vulkan/assimp_4.0.0.bb
index c519458..0268ebb 100644
--- a/meta/recipes-graphics/vulkan/assimp_git.bb
+++ b/meta/recipes-graphics/vulkan/assimp_4.0.0.bb
@@ -1,14 +1,21 @@
-DESCRIPTION = "Open Asset Import Library"
+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"
-DEPENDS = "zlib"
+LIC_FILES_CHKSUM = "file://LICENSE;md5=2119edef0916b0bd511cb3c731076271"
 
-LIC_FILES_CHKSUM = "file://LICENSE;md5=2119edef0916b0bd511cb3c731076271 \
-                    file://code/Assimp.cpp;endline=41;md5=717f847b6e8f43c64cdbafcfea109923"
+DEPENDS = "zlib"
 
 SRC_URI = "git://github.com/assimp/assimp.git"
-SRCREV = "b38ba233f530fdb103d3ede3df5126121af78b10"
+
+SRCREV = "52c8d06f5d6498afd66df983da348a6b112f1314"
+
 S = "${WORKDIR}/git"
 
 inherit cmake
-EXTRA_OECMAKE = "-DASSIMP_BUILD_ASSIMP_TOOLS=OFF -DASSIMP_BUILD_TESTS=OFF"
-FILES_${PN}-dev += "${libdir}/cmake/assimp-3.3"
+
+EXTRA_OECMAKE = "-DASSIMP_BUILD_ASSIMP_TOOLS=OFF -DASSIMP_BUILD_TESTS=OFF -DASSIMP_LIB_INSTALL_DIR=${baselib}"
+
+FILES_${PN}-dev += "${libdir}/cmake/"
-- 
2.10.1




More information about the Openembedded-core mailing list