ros2-jazzy-vision_msgs
LOW
maintainer AutoUpdateBot
0 votes
scanned 2026-09-05 01:59:11.792876
Why flagged
Uploaded within the last 14 days with 2 or fewer community votes — little peer review so far.
Triggered rules
Low
Few votes, recently uploaded
zero_votes_recent
Uploaded within the last 14 days with 2 or fewer community votes — little peer review so far.
PKGBUILD
1
# Maintainer: AutoUpdateBot <auto-update-bot@arch4edu.org>
2
3
pkgbase=ros2-jazzy-vision_msgs
4
pkgname=(
5
'ros2-jazzy-vision_msgs'
6
'ros2-jazzy-vision_msgs_rviz_plugins'
7
)
8
pkgver=4.1.1
9
pkgrel=1
10
pkgdesc="ROS 2 messages for common computer vision tasks"
11
url="https://index.ros.org/p/vision_msgs/"
12
arch=('x86_64')
13
license=('Apache-2.0')
14
depends=('ros2-jazzy')
15
makedepends=('cmake' 'python-numpy')
16
source=("$pkgbase-$pkgver.tar.gz::https://github.com/ros-perception/vision_msgs/archive/refs/tags/${pkgver}.tar.gz")
17
sha256sums=('1f54c590e5195dc3112e682eaf0abab47d244bc739e61102bdf183a8fe79f124')
18
19
_srcname="vision_msgs-$pkgver"
20
21
_build_cmake() {
22
local _sub="$1"
23
shift
24
25
source /opt/ros/jazzy/setup.bash
26
27
local _prefix='' _dep
28
for _dep in "$@"; do
29
_prefix+="$srcdir/_staging/$_dep/opt/ros/jazzy:"
30
done
31
32
CMAKE_PREFIX_PATH="${_prefix}${CMAKE_PREFIX_PATH}" \
33
cmake -B "$srcdir/build-$_sub" -S "$srcdir/$_srcname/$_sub" \
34
-DCMAKE_BUILD_TYPE='None' \
35
-DCMAKE_INSTALL_PREFIX='/opt/ros/jazzy' \
36
-DBUILD_TESTING=OFF \
37
-Wno-dev
38
cmake --build "$srcdir/build-$_sub"
39
DESTDIR="$srcdir/_staging/$_sub" cmake --install "$srcdir/build-$_sub"
40
}
41
42
build() {
43
rm -rf "$srcdir/_staging"
44
45
# rosidl generators embed __FILE__ of generated sources into the shared
46
# libraries; remap the build path so no $srcdir reference is retained.
47
export CFLAGS+=" -ffile-prefix-map=$srcdir=/usr/src/debug/$pkgbase"
48
export CXXFLAGS+=" -ffile-prefix-map=$srcdir=/usr/src/debug/$pkgbase"
49
50
_build_cmake vision_msgs
51
_build_cmake vision_msgs_rviz_plugins vision_msgs
52
}
53
54
package_ros2-jazzy-vision_msgs() {
55
pkgdesc="ROS 2 messages for common computer vision tasks"
56
depends=('ros2-jazzy')
57
58
cp -a "$srcdir/_staging/vision_msgs/." "$pkgdir/"
59
install -Dm644 "$srcdir/$_srcname/LICENSE" \
60
"$pkgdir/usr/share/licenses/$pkgname/LICENSE"
61
}
62
63
package_ros2-jazzy-vision_msgs_rviz_plugins() {
64
pkgdesc="RViz plugins for visualizing vision_msgs"
65
depends=('ros2-jazzy' 'ros2-jazzy-vision_msgs' 'python-numpy')
66
67
cp -a "$srcdir/_staging/vision_msgs_rviz_plugins/." "$pkgdir/"
68
install -Dm644 "$srcdir/$_srcname/LICENSE" \
69
"$pkgdir/usr/share/licenses/$pkgname/LICENSE"
70
}
71
Scan history
| Scanned at (UTC) | Severity | Rules |
|---|---|---|
| 2026-09-05 01:59:11 | Low | 1 |