summarylogtreecommitdiffstats
path: root/PKGBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'PKGBUILD')
-rw-r--r--PKGBUILD12
1 files changed, 4 insertions, 8 deletions
diff --git a/PKGBUILD b/PKGBUILD
index c3ede2b587c..68d45d2f5d9 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -1,26 +1,22 @@
# Author: mosra <mosra@centrum.cz>
pkgname=meshoptimizer
-pkgver=0.14
-pkgrel=2
+pkgver=0.15
+pkgrel=1
pkgdesc='Mesh optimization library that makes meshes smaller and faster to render'
arch=(x86_64)
url='https://github.com/zeux/meshoptimizer'
license=(MIT)
makedepends=(cmake ninja)
source=("https://github.com/zeux/meshoptimizer/archive/v$pkgver.tar.gz")
-sha256sums=('5a6e429ecf72325131b439a46297a690f0cab833c7563efdadab26c0a6cf8490')
+sha256sums=('89d350067c254cc737672600cb74c1ad6a70d2868398d430150ba7834be0b834')
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 \
+ -DMESHOPT_BUILD_GLTFPACK=ON \
-G Ninja
ninja
}