new package: assimp

Moved from unstable repo.
This commit is contained in:
Leonid Pliushch 2019-07-21 17:35:18 +03:00
parent aa98b2bc4d
commit 59c697833d
2 changed files with 21 additions and 0 deletions

9
packages/assimp/build.sh Normal file
View File

@ -0,0 +1,9 @@
TERMUX_PKG_HOMEPAGE=http://assimp.sourceforge.net/index.html
TERMUX_PKG_DESCRIPTION="Library to import various well-known 3D model formats in an uniform manner"
TERMUX_PKG_LICENSE="BSD"
TERMUX_PKG_MAINTAINER="Leonid Plyushch <leonid.plyushch@gmail.com>"
TERMUX_PKG_VERSION=4.1.0
TERMUX_PKG_SRCURL=https://github.com/assimp/assimp/archive/v$TERMUX_PKG_VERSION.tar.gz
TERMUX_PKG_SHA256=3520b1e9793b93a2ca3b797199e16f40d61762617e072f2d525fad70f9678a71
TERMUX_PKG_DEPENDS="boost, zlib"
TERMUX_PKG_EXTRA_CONFIGURE_ARGS="-DASSIMP_BUILD_SAMPLES=OFF"

View File

@ -0,0 +1,12 @@
diff -uNr assimp-4.1.0/test/CMakeLists.txt assimp-4.1.0.mod/test/CMakeLists.txt
--- assimp-4.1.0/test/CMakeLists.txt 2017-12-11 15:22:45.000000000 +0200
+++ assimp-4.1.0.mod/test/CMakeLists.txt 2019-07-01 22:47:01.990765003 +0300
@@ -174,7 +174,7 @@
IF( WIN32 )
SET( platform_libs )
ELSE( WIN32 )
- SET( platform_libs pthread )
+ SET( platform_libs )
ENDIF( WIN32 )
IF( WIN32 )