assimp: update to 4.0.1

This commit is contained in:
Jürgen Buchmüller 2017-08-05 09:15:26 +02:00
parent fa63ac7e3c
commit 09c569b58b

View file

@ -1,28 +1,32 @@
# Template file for 'assimp'
pkgname=assimp
version=4.0.0
version=4.0.1
revision=1
build_style=cmake
hostmakedepends="cmake pkg-config"
makedepends="boost-devel zlib-devel"
configure_args="-DASSIMP_BUILD_SAMPLES=OFF"
hostmakedepends="cmake pkg-config qt5-qmake qt5-host-tools qt5-devel"
makedepends="boost-devel libgomp-devel devil-devel qt5-devel minizip-devel zziplib-devel"
short_desc="Import library for various well-known 3D model formats"
maintainer="Jürgen Buchmüller <pullmoll@t-online.de>"
license="3-clause-BSD"
homepage="http://assimp.sourceforge.net/"
distfiles="https://github.com/assimp/assimp/archive/v${version}.tar.gz>${pkgname}-${version}.tar.gz"
checksum=9025d7fdd2a1d1d23261cbbcb1155b267f2a277f7e86103e5e16f1cdea407fb9
checksum=60080d8ab4daaab309f65b3cffd99f19eb1af8d05623fff469b9b652818e286e
depends="libassimp>=${version}_${revision}"
post_install() {
cd doc
# Install assimp_qt_viewer
vbin build/tools/assimp_qt_viewer/assimp_qt_viewer
vlicense LICENSE
# Create command documentation
cd doc
vmkdir usr/share/doc/${pkgname}
vcopy AssimpCmdDoc_Html/* usr/share/doc/${pkgname}
# Create library documentation
vmkdir usr/share/doc/${pkgname}/lib
vcopy AssimpDoc_Html/* usr/share/doc/${pkgname}/lib
cd ..
vlicense LICENSE
}
libassimp_package() {