Commit 30249f33 authored by Peter Seiderer's avatar Peter Seiderer Committed by Thomas Petazzoni
Browse files

assimp: new package



Signed-off-by: default avatarPeter Seiderer <ps.report@gmx.net>
----
Changes v1 -> v2:
  - use github helper (thanks to Jörg Krause)

Changes v2 -> v3:
  - add c++ dependency (suggested by Thomas Petazzoni)
  - fix linking problem with builtin zlib (linking code
    with/without '-fpic' compiled, see e.g. [2]), workaround by selecting
    buildroot zlib package (failure detected by Thomas Petazzoni [2])

[1] https://cmake.org/pipermail/cmake/2006-March/008482.html
[2] http://lists.busybox.net/pipermail/buildroot/2015-December/146859.html


Signed-off-by: default avatarThomas Petazzoni <thomas.petazzoni@free-electrons.com>
parent a0c0ed2c
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -829,6 +829,7 @@ menu "Filesystem"
endmenu

menu "Graphics"
	source "package/assimp/Config.in"
	source "package/atk/Config.in"
	source "package/atkmm/Config.in"
	source "package/bullet/Config.in"
+14 −0
Original line number Diff line number Diff line
config BR2_PACKAGE_ASSIMP
	bool "assimp"
	depends on BR2_INSTALL_LIBSTDCPP
	select BR2_PACKAGE_ZLIB
	help
	  Open Asset Import Library (assimp) is a portable Open Source
	  library to import various well-known 3D model formats in a uniform
	  manner. The most recent version also knows how to export 3d files
	  and is therefore suitable as a general-purpose 3D model converter.

	  http://www.assimp.org

comment "assimp needs a toolchain w/ C++"
	depends on !BR2_INSTALL_LIBSTDCPP
+16 −0
Original line number Diff line number Diff line
################################################################################
#
# assimp
#
################################################################################

ASSIMP_VERSION = v3.2
ASSIMP_SITE = $(call github,assimp,assimp,$(ASSIMP_VERSION))
ASSIMP_LICENSE = BSD-3c
ASSIMP_LICENSE_FILES = LICENSE
ASSIMP_DEPENDENCIES = zlib
ASSIMP_INSTALL_STAGING = YES

ASSIMP_CONF_OPTS += -DASSIMP_BUILD_TESTS=OFF

$(eval $(cmake-package))