summarylogtreecommitdiffstats
path: root/PKGBUILD
diff options
context:
space:
mode:
authorotreblan2021-08-17 11:44:06 -0500
committerotreblan2021-08-17 11:44:06 -0500
commit3d3c5f35062d935d7da25486037a8f9bdfffcbb4 (patch)
tree7ecb99f6e2de5a669b53a7d1b68cd346ae4bef93 /PKGBUILD
parent2388a821c029411d7649cc3a5613898c651adb4a (diff)
downloadaur-draco.tar.gz
Bump to 1.4.1
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