aboutsummaryrefslogtreecommitdiffstats
path: root/testing/assimp/APKBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'testing/assimp/APKBUILD')
-rw-r--r--testing/assimp/APKBUILD52
1 files changed, 29 insertions, 23 deletions
diff --git a/testing/assimp/APKBUILD b/testing/assimp/APKBUILD
index 0fe910aa7a..cd755b7eac 100644
--- a/testing/assimp/APKBUILD
+++ b/testing/assimp/APKBUILD
@@ -1,8 +1,8 @@
# Contributor: Russ Webber <russ@rw.id.au>
# Maintainer: Russ Webber <russ@rw.id.au>
pkgname=assimp
-pkgver=5.0.0
-pkgrel=1
+pkgver=5.0.1
+pkgrel=0
pkgdesc="Open Asset Import Library imports and exports 3D model formats."
url="http://www.assimp.org/"
arch="all !s390x !mips !mips64" # fails to build on big-endian
@@ -10,36 +10,42 @@ license="BSD-3-Clause"
makedepends="cmake zlib-dev minizip-dev"
subpackages="$pkgname-dev"
source="assimp-$pkgver.tar.gz::https://github.com/assimp/assimp/archive/v$pkgver.tar.gz
- 01-rm-revision-test.patch
- 02-fix-ssize-32bit.patch"
+ 01-rm-revision-test.patch
+ 02-fix-ssize-32bit.patch
+ 03-fix-aiGetLegalStringTest.patch
+ 04-fix-unittests.patch
+ 05-remove-failing-x86-test.patch"
build() {
- if [ "$CBUILD" != "$CHOST" ]; then
- CMAKE_CROSSOPTS="-DCMAKE_SYSTEM_NAME=Linux -DCMAKE_HOST_SYSTEM_NAME=Linux"
- fi
+ if [ "$CBUILD" != "$CHOST" ]; then
+ CMAKE_CROSSOPTS="-DCMAKE_SYSTEM_NAME=Linux -DCMAKE_HOST_SYSTEM_NAME=Linux"
+ fi
- cmake \
- -DCMAKE_INSTALL_PREFIX=/usr \
- -DCMAKE_INSTALL_LIBDIR=lib \
- -DBUILD_SHARED_LIBS=True \
- -DCMAKE_BUILD_TYPE=None \
- -DCMAKE_CXX_FLAGS="$CXXFLAGS" \
- -DCMAKE_C_FLAGS="$CFLAGS" \
- -DASSIMP_BUILD_TESTS=True \
- ${CMAKE_CROSSOPTS} .
- make
+ cmake \
+ -DCMAKE_INSTALL_PREFIX=/usr \
+ -DCMAKE_INSTALL_LIBDIR=lib \
+ -DBUILD_SHARED_LIBS=True \
+ -DCMAKE_BUILD_TYPE=None \
+ -DCMAKE_CXX_FLAGS="$CXXFLAGS" \
+ -DCMAKE_C_FLAGS="$CFLAGS" \
+ -DASSIMP_BUILD_TESTS=True \
+ $CMAKE_CROSSOPTS .
+ make
}
check() {
- cd "$builddir"/bin
- ./unit
+ cd "$builddir"/bin
+ ./unit
}
package() {
- make DESTDIR="$pkgdir" install
- rm -vf "$pkgdir"/usr/lib/libIrrXML.a
+ make DESTDIR="$pkgdir" install
+ rm -vf "$pkgdir"/usr/lib/libIrrXML.a
}
-sha512sums="0f73b6e961cd8455d6b6c8c10ed8b99485d846c96377b5d4fcc3b83f737647207c1306aa3dd51dad9654fbfa61bfe1119b34646f90288ae7ecab45efa6fa418a assimp-5.0.0.tar.gz
+sha512sums="51b704ffea778638b9e228578650f62691c56ee1a90337f8bbbee37e807455466d818234be24852334e5806260e5690932c9bd8e00f055c5c26782e0636538f0 assimp-5.0.1.tar.gz
535a80c5899a2994735e7b17b4e3fdb3ff2b53e64c09ec8fcab1dbcea2ad696fed50aeb1667a3c4e00a8a3ddf411d33ec1d36fcb256e26f02cf951f0e2c83a73 01-rm-revision-test.patch
-19a52d40887de945b74efe0f7e105a02eab306e6295d2d9b32f76bed9596c93ab954118df6e7afdafd2488e0e1feb666c734a8eb56e0edc34510efe3f8f99374 02-fix-ssize-32bit.patch"
+19a52d40887de945b74efe0f7e105a02eab306e6295d2d9b32f76bed9596c93ab954118df6e7afdafd2488e0e1feb666c734a8eb56e0edc34510efe3f8f99374 02-fix-ssize-32bit.patch
+5e6f50c4ca9e9bd6fc48caf708d7984794d3a00905698049b591b86a7ba74d7ff94f99883bb418484bb5fb75a342ae4fa6fcdb1b0a7d544753a3cf2d86a15273 03-fix-aiGetLegalStringTest.patch
+66f52cc5f809eb6987e1c6298730ae6bf89e1d0fb1c7665834448494121f79c1602277ac6eabb69a302171cf1048b54560ade3bc00a8e1adb4fe464bdb71d9de 04-fix-unittests.patch
+bfb321b8493b2ef8c35ab0627173d0f1754519e9bae6f6c59cc164aaf91a07d8ae382fbc92550cfab6f52502565390ba22b7478efa5bba008eec0aa075c5e7d1 05-remove-failing-x86-test.patch"