summarylogtreecommitdiffstats
path: root/PKGBUILD
diff options
context:
space:
mode:
authorKartik Mohta2017-05-02 18:43:26 -0400
committerKartik Mohta2017-05-02 18:44:45 -0400
commitfc70bb75c1a37ba1735be17ef96e6b9057dc7f1f (patch)
treef26bf9ac57c474a7dbc4358fa75e79c0050da48a /PKGBUILD
parentee6796c4a1c7af50d8352b9e07e1646e03dec99b (diff)
downloadaur-fc70bb75c1a37ba1735be17ef96e6b9057dc7f1f.tar.gz
Update depends to qt5 and enable building apps
Diffstat (limited to 'PKGBUILD')
-rw-r--r--PKGBUILD7
1 files changed, 4 insertions, 3 deletions
diff --git a/PKGBUILD b/PKGBUILD
index b8ddc3516fc..8794d93839a 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -1,13 +1,14 @@
# Maintainer: Kartik Mohta <kartikmohta@gmail.com>
pkgname=g2o-git
-pkgver=r692.0fb5b33
+pkgver=r798.2e35669
pkgrel=1
pkgdesc="A General Framework for Graph Optimization"
arch=('i686' 'x86_64')
url="https://github.com/RainerKuemmerle/g2o"
license=('BSD')
groups=()
-depends=('suitesparse' 'qt4' 'eigen3' 'glu')
+depends=('suitesparse' 'qt5-base' 'eigen3' 'glu')
+optdepends=('libqglviewer: for building the g2o_viewer app')
makedepends=('git' 'cmake')
provides=('g2o')
conflicts=('g2o-svn')
@@ -25,7 +26,7 @@ build() {
mkdir -p build
cd build
- cmake .. -DCMAKE_BUILD_TYPE=Release -DCMAKE_INSTALL_PREFIX=/usr -DCMAKE_SKIP_RPATH=ON -DG2O_BUILD_APPS=OFF \
+ cmake .. -DCMAKE_BUILD_TYPE=Release -DCMAKE_INSTALL_PREFIX=/usr -DG2O_BUILD_APPS=ON \
-DG2O_BUILD_EXAMPLES=OFF
make
}