summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--package/Config.in1
-rw-r--r--package/assimp/Config.in14
-rw-r--r--package/assimp/assimp.mk16
3 files changed, 31 insertions, 0 deletions
diff --git a/package/Config.in b/package/Config.in
index ffd3207364..a024d3d17c 100644
--- a/package/Config.in
+++ b/package/Config.in
@@ -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"
diff --git a/package/assimp/Config.in b/package/assimp/Config.in
new file mode 100644
index 0000000000..35e2f239ac
--- /dev/null
+++ b/package/assimp/Config.in
@@ -0,0 +1,14 @@
+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
diff --git a/package/assimp/assimp.mk b/package/assimp/assimp.mk
new file mode 100644
index 0000000000..fd556e5962
--- /dev/null
+++ b/package/assimp/assimp.mk
@@ -0,0 +1,16 @@
+################################################################################
+#
+# 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))
OpenPOWER on IntegriCloud