diff --git a/packages/assimp/build.sh b/packages/assimp/build.sh new file mode 100644 index 000000000..52730bc59 --- /dev/null +++ b/packages/assimp/build.sh @@ -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 " +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" diff --git a/packages/assimp/test-CMakeLists.txt.patch b/packages/assimp/test-CMakeLists.txt.patch new file mode 100644 index 000000000..59a4517c2 --- /dev/null +++ b/packages/assimp/test-CMakeLists.txt.patch @@ -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 )