aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLeon Marz <lmarz@cs.uni-frankfurt.de>2020-08-17 05:26:52 +0000
committerLeo <thinkabit.ukim@gmail.com>2020-08-17 05:26:52 +0000
commit16089f8ce0a0a39803e9f3961db1de7e0ff2b1e9 (patch)
tree445bcdf0f6f4ce668059898a56c36b75c7f45e0c
parentd7fffd527ab2c2bd4214270b6f8d6aa5472a40c4 (diff)
downloadaports-16089f8ce0a0a39803e9f3961db1de7e0ff2b1e9.tar.gz
aports-16089f8ce0a0a39803e9f3961db1de7e0ff2b1e9.tar.bz2
aports-16089f8ce0a0a39803e9f3961db1de7e0ff2b1e9.tar.xz
testing/pdal: upgrade to 2.1.0
-rw-r--r--testing/pdal/APKBUILD38
1 files changed, 14 insertions, 24 deletions
diff --git a/testing/pdal/APKBUILD b/testing/pdal/APKBUILD
index 3ede4a7b4b..29a772f240 100644
--- a/testing/pdal/APKBUILD
+++ b/testing/pdal/APKBUILD
@@ -1,76 +1,66 @@
# Contributor: Bradley J Chambers <brad.chambers@gmail.com>
# Maintainer: Bradley J Chambers <brad.chambers@gmail.com>
pkgname=pdal
-pkgver=2.0.1
-pkgrel=6
+pkgver=2.1.0
+pkgrel=0
pkgdesc="PDAL is a C++ BSD library for translating and manipulating point cloud data."
-options="!check"
+options="!check" # 1 test fails
url="https://pdal.io"
-# Dependencies libgeotiff-dev, proj-dev, libspatialite-dev, and pcl-dev are
-# not provided on other architectures
-arch="x86_64" # 1 test fail on the only arch that was installed before, x86_64
+arch="all !armhf !armv7 !s390x !mips !mips64"
+# dependency laz-perf-dev missing on armhf, armv7, s390x, mips, mips64
+# dependency cpd-dev missing on armv7, mips, mips64
+# dependency gdal-dev missing on s390x, mips, mips64
license="BSD-2-Clause"
depends="nitro python3 py3-numpy>=1.14.3-r1"
makedepends="
cmake
eigen-dev
- hexer-dev
nitro-dev
gdal-dev
- geos-dev
laz-perf-dev
libgeotiff-dev
libxml2-dev
python3-dev
py3-numpy-dev
- jsoncpp-dev
hdf5-dev
- proj-dev
cpd-dev
fgt-dev
sqlite-dev
postgresql-dev
curl-dev
laszip-dev
- libspatialite-dev
linux-headers
libexecinfo-dev
- pcl-dev
- boost-dev
+ zstd-dev
"
subpackages="$pkgname-dev"
source="$pkgname-$pkgver.tar.gz::https://github.com/PDAL/PDAL/releases/download/$pkgver/PDAL-$pkgver-src.tar.gz"
builddir="$srcdir/PDAL-$pkgver-src"
build() {
- mkdir build && cd build
- cmake .. \
+ cmake -B build \
-DCMAKE_INSTALL_PREFIX=/usr \
-DCMAKE_BUILD_TYPE=None \
-DBUILD_PLUGIN_PYTHON=ON \
-DBUILD_PLUGIN_CPD=ON \
- -DBUILD_PLUGIN_GREYHOUND=ON \
- -DBUILD_PLUGIN_HEXBIN=ON \
-DBUILD_PLUGIN_NITF=ON \
-DBUILD_PLUGIN_ICEBRIDGE=ON \
-DBUILD_PLUGIN_PGPOINTCLOUD=ON \
-DBUILD_PGPOINTCLOUD_TESTS=OFF \
-DBUILD_PLUGIN_SQLITE=ON \
- -DBUILD_PLUGIN_PCL=ON \
-DWITH_LASZIP=ON \
-DWITH_LAZPERF=ON \
-DWITH_TESTS=ON
- make
+ cmake --build build
}
package() {
- cd "$builddir"/build
- make DESTDIR="$pkgdir" install
+ DESTDIR="$pkgdir" cmake --build build --target install
}
check() {
- cd "$builddir"/build
- make test
+ cd build
+ CTEST_OUTPUT_ON_FAILURE=TRUE ctest
}
-sha512sums="6b33d957d6948a73d0db1b3b47e6b3fa0c3d6efd89e997bfd78a1f801118c68bace4efd5f7e696c9b16d6fb3ebe01d78314c3c92543f28bbc5d46a3a7d1930b4 pdal-2.0.1.tar.gz"
+sha512sums="273e43bc02039ef56e22d6496d74c645c947dec7961024f419232b3f70ad5de030d5ee9fb74f44649016da67ff39179b06fa0d85f17a3b7db5fcce3cd0e35ac5 pdal-2.1.0.tar.gz"