summarylogtreecommitdiffstats
path: root/PKGBUILD
diff options
context:
space:
mode:
authorVladimír Vondruš2020-05-17 11:20:13 +0200
committerVladimír Vondruš2020-05-17 11:21:15 +0200
commit14d681d5892247d4a207ede51f7101c3d9d25a19 (patch)
treec3418a4a8d17af9f0c1c866e22e9d4765311f9e0 /PKGBUILD
parent9bd399a7edf6bacfc606b039cc625ee58aaa7ce5 (diff)
downloadaur-14d681d5892247d4a207ede51f7101c3d9d25a19.tar.gz
Enable the gltfpack executable as well.
Diffstat (limited to 'PKGBUILD')
-rw-r--r--PKGBUILD6
1 files changed, 5 insertions, 1 deletions
diff --git a/PKGBUILD b/PKGBUILD
index c55655f3e61..c3ede2b587c 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -1,7 +1,7 @@
# Author: mosra <mosra@centrum.cz>
pkgname=meshoptimizer
pkgver=0.14
-pkgrel=1
+pkgrel=2
pkgdesc='Mesh optimization library that makes meshes smaller and faster to render'
arch=(x86_64)
url='https://github.com/zeux/meshoptimizer'
@@ -12,11 +12,15 @@ sha256sums=('5a6e429ecf72325131b439a46297a690f0cab833c7563efdadab26c0a6cf8490')
build() {
mkdir -p build && cd build
+ # TODO: remove BUILD_SHARED_LIBS and CMAKE_DISABLE_FIND_PACKAGE_glfw3 for
+ # 0.15, replace MESHOPT_BUILD_TOOLS with MESHOPT_BUILD_GLTFPACK
cmake "$srcdir/meshoptimizer-$pkgver" \
-DCMAKE_BUILD_TYPE=Release \
-DCMAKE_INSTALL_PREFIX=/usr \
-DMESHOPT_BUILD_SHARED_LIBS=ON \
-DBUILD_SHARED_LIBS=ON \
+ -DMESHOPT_BUILD_TOOLS=ON \
+ -DCMAKE_DISABLE_FIND_PACKAGE_glfw3=ON \
-G Ninja
ninja
}