gtsam
MEDIUM
maintainer kino_t
2 votes
scanned 2026-09-29 11:23:48.115840
Why flagged
This package was orphaned and re-adopted within the last 30 days — a window where ownership transfers can introduce malicious changes.
Triggered rules
Medium
Recently orphaned & re-adopted
orphaned_readopted
This package was orphaned and re-adopted within the last 30 days — a window where ownership transfers can introduce malicious changes.
PKGBUILD
1
# Maintainer: envolution
2
# Contributor: Kartik Mohta <kartikmohta@gmail.com>
3
# shellcheck shell=bash disable=SC2034,SC2154
4
pkgname=gtsam
5
pkgver=4.2
6
pkgrel=1
7
epoch=1
8
pkgdesc="A library of C++ classes that implement smoothing and mapping (SAM) in\
9
robotics and vision, using factor graphs and Bayes networks as the underlying\
10
computing paradigm rather than sparse matrices."
11
url="https://gtsam.org/"
12
arch=('x86_64' 'i686')
13
provides=("gtsam=${pkgver}")
14
license=('BSD-3-Clause')
15
depends=('boost-libs' 'eigen')
16
makedepends=('boost' 'cmake')
17
optdepends=('intel-tbb: Use Intel TBB to accelerate computations (add this to the depends section of the PKGBUILD and rebuild the package)')
18
source=("https://github.com/borglab/${pkgname}/archive/${pkgver}.tar.gz")
19
sha256sums=('9ff8846d0a83a245c284cb5760ec2d74535ef9b5885183ccfefd7ff122eba60e')
20
21
build() {
22
cmake -B build -S "${pkgname}-${pkgver}" \
23
-DCMAKE_BUILD_TYPE='None' \
24
-DCMAKE_INSTALL_PREFIX='/usr' \
25
-Wno-dev \
26
-DGTSAM_BUILD_DOCS=OFF \
27
-DGTSAM_BUILD_EXAMPLES_ALWAYS=OFF \
28
-DGTSAM_BUILD_TESTS=OFF \
29
-DGTSAM_BUILD_WITH_CCACHE=OFF \
30
-DGTSAM_BUILD_WITH_MARCH_NATIVE=OFF \
31
-DGTSAM_INSTALL_CPPUNITLITE=OFF \
32
-DGTSAM_INSTALL_GEOGRAPHICLIB=OFF \
33
-DGTSAM_USE_SYSTEM_EIGEN=ON \
34
-DCMAKE_POLICY_VERSION_MINIMUM=3.5
35
cmake --build build
36
}
37
38
package() {
39
DESTDIR="$pkgdir" cmake --install build
40
install -Dm644 "${srcdir}/${pkgname}-${pkgver}/LICENSE" "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
41
}
42
43
# check() {
44
# ctest --test-dir build --output-on-failure
45
# }
46
47
# vim:set ts=2 sw=2 et:
48
Scan history
| Scanned at (UTC) | Severity | Rules |
|---|---|---|
| 2026-09-29 11:23:48 | Medium | 1 |
| 2026-06-18 16:11:54 | Clean | 0 |