summarylogtreecommitdiffstats
path: root/PKGBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'PKGBUILD')
-rw-r--r--PKGBUILD9
1 files changed, 6 insertions, 3 deletions
diff --git a/PKGBUILD b/PKGBUILD
index 3fb2cf79cf3..b95f08c847a 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -1,7 +1,7 @@
# Maintainer: Otreblan <otreblain@gmail.com>
pkgname=draco
-pkgver=1.3.6
+pkgver=1.4.1
pkgrel=1
pkgdesc="A library for compressing and decompressing 3D geometric meshes and point clouds."
arch=('x86_64')
@@ -10,7 +10,7 @@ license=('Apache')
makedepends=('cmake')
depends=('gcc-libs')
source=("$pkgname-$pkgver.tar.gz::$url/archive/$pkgver.tar.gz")
-sha256sums=('80eaa54ef5fc687c9aeebb9bd24d936d3e6d2c6048f358be8b83fa088ef4b2cb')
+sha256sums=('83aa5637d36a835103a61f96af7ff04c6d6528e643909466595d51ee715417a9')
prepare() {
cd "$srcdir/$pkgname-$pkgver"
@@ -20,6 +20,9 @@ prepare() {
# Needed for link time optimization
local CMAKE_VERSION=$(LC_ALL=C cmake --version | awk 'n++<1 {print $3}')
sed -i "s/\(cmake_minimum_required(VERSION\).*/\1 $CMAKE_VERSION)/" CMakeLists.txt
+
+ # Missing header for std::numeric_limits
+ sed -i 's/#include.*/&\n#include <limits>/' "$srcdir/$pkgname-$pkgver/src/draco/io/parser_utils.cc"
}
build() {
@@ -29,7 +32,7 @@ build() {
-DCMAKE_UNITY_BUILD=ON \
-DCMAKE_INTERPROCEDURAL_OPTIMIZATION=ON \
-DCMAKE_INSTALL_PREFIX=/usr \
- -DCMAKE_BUILD_TYPE=Release \
+ -DCMAKE_BUILD_TYPE=None \
-DBUILD_SHARED_LIBS=on \
make