assimp: new package
PATCH 1/1 assimp: new package
----
Any nicer way to define _SOURCE and _SITE to get assimp-3.2.tar.gz instead of v3.2.tar.gz file in the local download diretory?
--- package/Config.in | 1 + package/assimp/Config.in | 9 +++++++++ package/assimp/assimp.mk | 16 ++++++++++++++++ 3 files changed, 26 insertions(+) create mode 100644 package/assimp/Config.in create mode 100644 package/assimp/assimp.mk
package/Config.in +1 -0
@@ -796,6 +796,7 @@ menu "Filesystem" endmenu menu "Graphics" + source "package/assimp/Config.in" source "package/atk/Config.in" source "package/bullet/Config.in" source "package/cairo/Config.in"
package/assimp/Config.in new file +9 -0
@@ -0,0 +1,9 @@ +config BR2_PACKAGE_ASSIMP + bool "assimp" + 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
package/assimp/assimp.mk new file +16 -0
@@ -0,0 +1,16 @@ +################################################################################ +# +# assimp +# +################################################################################ + +ASSIMP_VERSION = 3.2 +ASSIMP_SOURCE = v$(ASSIMP_VERSION).tar.gz +ASSIMP_SITE = https://github.com/assimp/assimp/archive +ASSIMP_LICENSE = BSD-3c +ASSIMP_LICENSE_FILES = LICENSE +ASSIMP_INSTALL_STAGING = YES + +ASSIMP_CONF_OPTS += -DASSIMP_BUILD_TESTS=OFF + +$(eval $(cmake-package))
Signature · 1 line
2.1.4
PATCH 1/1 qt53d: enabled assimpsceneparser plugin
- select assimp package
- copy enabled assimpsceneparser plugin
---
Depends on '[PATCH v2] qt5/qt53d: new package' (see [1]).
[1] https://patchwork.ozlabs.org/patch/552897
--- package/qt5/qt53d/Config.in | 1 + package/qt5/qt53d/qt53d.mk | 3 ++- 2 files changed, 3 insertions(+), 1 deletion(-)
package/qt5/qt53d/Config.in +1 -0
@@ -1,5 +1,6 @@ config BR2_PACKAGE_QT53D bool "qt53d" + select BR2_PACKAGE_ASSIMP select BR2_PACKAGE_QT5BASE select BR2_PACKAGE_QT5BASE_GUI select BR2_PACKAGE_QT5DECLARATIVE
package/qt5/qt53d/qt53d.mk +2 -1
@@ -7,7 +7,7 @@ QT53D_VERSION = $(QT5_VERSION) QT53D_SITE = $(QT5_SITE) QT53D_SOURCE = qt3d-opensource-src-$(QT5SVG_VERSION).tar.xz -QT53D_DEPENDENCIES = qt5base qt5declarative +QT53D_DEPENDENCIES = assimp qt5base qt5declarative QT53D_INSTALL_STAGING = YES ifeq ($(BR2_PACKAGE_QT5BASE_LICENSE_APPROVED),y)
@@ -34,6 +34,7 @@ endef ifeq ($(BR2_STATIC_LIBS),) define QT53D_INSTALL_TARGET_CMDS cp -dpf $(STAGING_DIR)/usr/lib/libQt53D*.so.* $(TARGET_DIR)/usr/lib + cp -dpfr $(STAGING_DIR)/usr/lib/qt/plugins/sceneparsers $(TARGET_DIR)/usr/lib/qt/plugins cp -dpfr $(STAGING_DIR)/usr/qml/Qt3D $(TARGET_DIR)/usr/qml endef endif
Signature · 1 line
2.1.4
PATCH 1/1 assimp: new package
In reply to Peter SeidererDear Peter Seiderer,
Quoted 4 lines · Peter Seiderer
Signed-off-by Peter Seiderer <[email protected]>----
Any nicer way to define_SOURCEand_SITEto get assimp-3.2.tar.gz instead of v3.2.tar.gz file in the local download diretory?
Why not use the github helper?
ASSIMP_VERSION = v3.2ASSIMP_SITE = $(call github,assimp,assimp,$(ASSIMP_VERSION))
Best regards
J?rg Krause
PATCH 1/1 assimp: new package
Hello J?rg,
Quoted 8 lines · J?rg Krause
Dear Peter Seiderer,
Quoted 4 lines · Peter Seiderer
Signed-off-by Peter Seiderer <[email protected]>----
Any nicer way to define_SOURCEand_SITEto get assimp-3.2.tar.gz instead of v3.2.tar.gz file in the local download diretory?
Quoted 4 lines
Why not use the github helper?
ASSIMP_VERSION= v3.2ASSIMP_SITE= $(call github,assimp,assimp,$(ASSIMP_VERSION))
Yes, your are right (seems I messed it up when I tried it first...), updated patch following soon...
Regards,
Peter
Quoted 3 lines
Best regards
J?rg Krause