diff options
author | Sven Brauch | 2016-11-15 23:32:57 +0100 |
---|---|---|
committer | Sven Brauch | 2016-11-15 23:32:57 +0100 |
commit | c40932e7eae463feb64e3fd6671103005df29a01 (patch) | |
tree | 926b3c859df4a9afec1cc0b9b12eac4b4b874bdf | |
parent | 2dabeb04fa59bcfeff77682bc284815408672ce1 (diff) | |
download | aur-c40932e7eae463feb64e3fd6671103005df29a01.tar.gz |
optionally build with liblas
-rw-r--r-- | PKGBUILD | 8 |
1 files changed, 6 insertions, 2 deletions
@@ -2,7 +2,7 @@ # Maintainer: Danilo Bargen <aur at dbrgn dot ch> pkgname=cloudcompare-git -pkgver=2.5.0.r830.g3cd1c04 +pkgver=2.6.2.r818.g51fb204 pkgrel=1 pkgdesc="A 3D point cloud (and triangular mesh) processing software" arch=('i686' 'x86_64') @@ -10,6 +10,7 @@ url="http://www.danielgm.net/cc/" license=('GPL2') depends=('qt5-base' 'glu' 'mesa') makedepends=('git' 'cmake' 'pcl' 'doxygen') +optdepends=('pcl' 'liblas') source=("git+https://github.com/cloudcompare/trunk") md5sums=('SKIP') @@ -39,7 +40,10 @@ build() { -DINSTALL_QEDL_PLUGIN=OFF \ -DINSTALL_QPCV_PLUGIN=OFF \ -DINSTALL_QDUMMY_PLUGIN=OFF \ - -DINSTALL_QSSAO_PLUGIN=OFF + -DINSTALL_QSSAO_PLUGIN=OFF \ + -DOPTION_USE_LIBLAS=ON \ + -DLIBLAS_INCLUDE_DIR=/usr/include/liblas/ \ + -DLIBLAS_RELEASE_LIBRARY_FILE=/usr/lib/liblas.so make -j$(nproc) } |