1 # Maintainer: Sven-Hendrik Haase <svenstaro@archlinux.org>
2 # Contributor : bartus <arch-user-repoᘓbartus.33mail.com>
4 pkgname=uncertainty-framework
7 pkgdesc="Uncertainty estimation framework for a surface from motion dataset"
9 url="http://alicevision.github.io/"
11 depends=('magma' 'ceres-solver')
12 makedepends=('boost' 'cmake' 'ninja' 'git' 'gflags' 'cuda' 'pcre')
13 source=("${_name}::git+https://github.com/alicevision/${_name}.git#commit=d995765"
16 'abf50924a78ec9628212c5b7086592d302155cf50dcc6f4c49a92d57b9a3b020')
20 git apply -v ${srcdir}/ctest.patch
24 grep -oP "VERSION \K.*(?=\))" <(pcregrep -Mo -e '(?s)^PROJECT.*?\)' ${srcdir}/${_name}/CMakeLists.txt)
32 -DCMAKE_INSTALL_PREFIX=/usr \
33 -DCMAKE_BUILD_TYPE=None \
35 -DUNC_BUILD_TESTS=ON \
43 DESTDIR=${pkgdir} ninja -C build install
51 # vim:set sw=2 ts=2 et: