diff options
author | bartus | 2024-01-12 16:17:36 +0100 |
---|---|---|
committer | bartus | 2024-01-12 16:17:36 +0100 |
commit | 26fffc5f601b9899df6c0c5af54420f7a7413ae1 (patch) | |
tree | a37913a08e35a67edd32e9d3b74f2f6adbb133ac | |
parent | 34aa18f32e9b22295312e869f29b664ad5411e6c (diff) | |
download | aur-26fffc5f601b9899df6c0c5af54420f7a7413ae1.tar.gz |
Refactor, pop version
-rw-r--r-- | .SRCINFO | 8 | ||||
-rw-r--r-- | PKGBUILD | 10 |
2 files changed, 11 insertions, 7 deletions
@@ -1,6 +1,6 @@ pkgbase = colmap-git pkgdesc = General-purpose Structure-from-Motion (SfM) and Multi-View Stereo (MVS) pipeline with a graphical and command-line interface. - pkgver = 3.8.r118.ga97b8461 + pkgver = 3.8.r184.g5d4535a2 pkgrel = 1 url = https://colmap.github.io/ arch = i686 @@ -12,7 +12,7 @@ pkgbase = colmap-git makedepends = git makedepends = ninja makedepends = python-sphinx - makedepends = cuda-sdk + makedepends = cuda<12 depends = cgal depends = ceres-solver depends = gflags @@ -26,7 +26,9 @@ pkgbase = colmap-git depends = boost-libs depends = qt5-base depends = flann - optdepends = libcudart.so: for cuda sfm/mvs acceleration + optdepends = libcudart.so: required for dense reconstruction + provides = colmap + conflicts = colmap source = colmap-git::git+https://github.com/colmap/colmap.git#branch=main source = vocabulary-tree-32K.bin::https://demuc.de/colmap/vocab_tree_flickr100K_words32K.bin source = vocabulary-tree-256K.bin::https://demuc.de/colmap/vocab_tree_flickr100K_words256K.bin @@ -4,25 +4,27 @@ ## Configuration env vars: _BUILD_CUDA="${BUILD_CUDA:-ON}" _CUDA_ARCHITECTURES="${CUDA_ARCH:-native}" -_fragment=#${FRAGMENT:-branch=main} +_fragment=${FRAGMENT:-#branch=main} # Use CMAKE_FLAGS=xxx:yyy:zzz to define extra CMake flags [[ -v CMAKE_FLAGS ]] && mapfile -t -d: _CMAKE_FLAGS < <(echo -n "$CMAKE_FLAGS") _name=colmap #fragment="#commit=5bea89263bf5f3ed623b8e6e6a5f022a0ed9c1de" pkgname=${_name}-git -pkgver=3.8.r118.ga97b8461 +pkgver=3.8.r184.g5d4535a2 pkgrel=1 pkgdesc="General-purpose Structure-from-Motion (SfM) and Multi-View Stereo (MVS) pipeline with a graphical and command-line interface." arch=('i686' 'x86_64') url="https://colmap.github.io/" license=('GPL') groups=() +provides=("$_name") +conflicts=("$_name") depends=('cgal' 'ceres-solver' 'gflags' 'metis' 'suitesparse' 'freeglut' 'glew' 'google-glog' 'freeimage' 'libjpeg' 'boost-libs' 'qt5-base' 'flann') makedepends=('boost' 'cmake' 'eigen' 'git' 'ninja' 'python-sphinx' ) if [ "$_BUILD_CUDA" == "ON" ] ; then - makedepends+=('cuda-sdk') - optdepends+=('libcudart.so: for cuda sfm/mvs acceleration') + makedepends+=('cuda<12') + optdepends+=('libcudart.so: required for dense reconstruction') fi source=("${pkgname}::git+https://github.com/colmap/colmap.git${_fragment}" "vocabulary-tree-32K.bin::https://demuc.de/colmap/vocab_tree_flickr100K_words32K.bin" |