assimp: Update to 5.2.5

This commit is contained in:
Colin Reeder 2023-02-06 12:41:19 -07:00 committed by classabbyamp
parent 7748dfbef9
commit 06ed3a8219
2 changed files with 4 additions and 15 deletions

View File

@ -1,11 +0,0 @@
--- a/contrib/zip/src/zip.h 2019-09-24 19:28:59.000000000 +0200
+++ b/contrib/zip/src/zip.h 2019-09-24 19:28:59.000000000 +0200
@@ -20,7 +20,7 @@
#endif
#if !defined(_SSIZE_T_DEFINED) && !defined(_SSIZE_T_DEFINED_) && \
- !defined(_SSIZE_T) && !defined(_SSIZE_T_) && !defined(__ssize_t_defined)
+ !defined(_SSIZE_T) && !defined(_SSIZE_T_) && !defined(__ssize_t_defined) && !defined(__DEFINED_ssize_t)
#define _SSIZE_T
// 64-bit Windows is the only mainstream platform
// where sizeof(long) != sizeof(void*)

View File

@ -1,7 +1,7 @@
# Template file for 'assimp'
pkgname=assimp
version=5.0.1
revision=2
version=5.2.5
revision=1
build_style=cmake
configure_args="-DASSIMP_BUILD_SAMPLES=OFF"
hostmakedepends="pkg-config"
@ -12,13 +12,13 @@ maintainer="Orphaned <orphan@voidlinux.org>"
license="BSD-3-Clause"
homepage="https://github.com/assimp/assimp"
distfiles="https://github.com/assimp/assimp/archive/v${version}.tar.gz>${pkgname}-${version}.tar.gz"
checksum=11310ec1f2ad2cd46b95ba88faca8f7aaa1efe9aa12605c55e3de2b977b3dbfc
checksum=b5219e63ae31d895d60d98001ee5bb809fb2c7b2de1e7f78ceeb600063641e1a
post_install() {
vlicense LICENSE
# Copy contrib/stb_image header file (required for assimp_qt_viewer)
vmkdir usr/include/assimp/contrib/stb_image
vcopy contrib/stb_image/stb_image.h usr/include/assimp/contrib/stb_image
vcopy contrib/stb/stb_image.h usr/include/assimp/contrib/stb_image
# Create command documentation
cd doc