ros2-jazzy-zstd_image_transport

LOW
maintainer AutoUpdateBot 0 votes base ros2-jazzy-image_transport_plugins scanned 2026-09-05 03:59:20.365640
View on AUR
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
3pkgbase=ros2-jazzy-image_transport_plugins
4pkgname=(
5 'ros2-jazzy-compressed_image_transport'
6 'ros2-jazzy-compressed_depth_image_transport'
7 'ros2-jazzy-theora_image_transport'
8 'ros2-jazzy-zstd_image_transport'
9 'ros2-jazzy-image_transport_plugins'
10)
11pkgver=4.0.7
12pkgrel=1
13pkgdesc="ROS 2 image_transport plugins (compressed, compressed-depth, theora, zstd)"
14url="https://index.ros.org/p/image_transport_plugins/"
15arch=('x86_64')
16license=('BSD-3-Clause' 'MIT')
17depends=('ros2-jazzy')
18makedepends=('cmake' 'ros2-jazzy-cv_bridge' 'opencv4' 'libogg' 'libtheora' 'pkgconf' 'zlib')
19source=("$pkgbase-$pkgver.tar.gz::https://github.com/ros-perception/image_transport_plugins/archive/refs/tags/${pkgver}.tar.gz")
20sha256sums=('c28fdf269cb2cc146c35f3f40f2a1bf215eeec07b70287c1b5bbdd8565f0e583')
21
22_srcname="image_transport_plugins-$pkgver"
23
24_build_cmake() {
25 local _sub="$1"
26 shift
27
28 source /opt/ros/jazzy/setup.bash
29
30 local _prefix='' _dep
31 for _dep in "$@"; do
32 _prefix+="$srcdir/_staging/$_dep/opt/ros/jazzy:"
33 done
34
35 CMAKE_PREFIX_PATH="${_prefix}${CMAKE_PREFIX_PATH}" \
36 cmake -B "$srcdir/build-$_sub" -S "$srcdir/$_srcname/$_sub" \
37 -DCMAKE_BUILD_TYPE='None' \
38 -DCMAKE_INSTALL_PREFIX='/opt/ros/jazzy' \
39 -DOpenCV_DIR='/usr/lib/cmake/opencv4' \
40 -DBUILD_TESTING=OFF \
41 -Wno-dev
42 cmake --build "$srcdir/build-$_sub"
43 DESTDIR="$srcdir/_staging/$_sub" cmake --install "$srcdir/build-$_sub"
44}
45
46build() {
47 rm -rf "$srcdir/_staging"
48
49 # Match cv_bridge's OpenCV 4 headers; remap embedded build paths.
50 export CFLAGS+=" -I/usr/include/opencv4 -ffile-prefix-map=$srcdir=/usr/src/debug/$pkgbase"
51 export CXXFLAGS+=" -I/usr/include/opencv4 -ffile-prefix-map=$srcdir=/usr/src/debug/$pkgbase"
52
53 _build_cmake compressed_image_transport
54 _build_cmake compressed_depth_image_transport
55 _build_cmake theora_image_transport
56 _build_cmake zstd_image_transport
57 _build_cmake image_transport_plugins \
58 compressed_image_transport compressed_depth_image_transport \
59 theora_image_transport zstd_image_transport
60}
61
62package_ros2-jazzy-compressed_image_transport() {
63 pkgdesc="image_transport plugin for JPEG/PNG compressed images"
64 depends=('ros2-jazzy' 'ros2-jazzy-cv_bridge' 'opencv4')
65 license=('BSD-3-Clause')
66
67 cp -a "$srcdir/_staging/compressed_image_transport/." "$pkgdir/"
68 install -Dm644 "$srcdir/$_srcname/LICENSE" \
69 "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
70}
71
72package_ros2-jazzy-compressed_depth_image_transport() {
73 pkgdesc="image_transport plugin for compressed depth images"
74 depends=('ros2-jazzy' 'ros2-jazzy-cv_bridge' 'opencv4')
75 license=('BSD-3-Clause' 'MIT')
76
77 cp -a "$srcdir/_staging/compressed_depth_image_transport/." "$pkgdir/"
78 install -Dm644 "$srcdir/$_srcname/LICENSE" \
79 "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
80}
81
82package_ros2-jazzy-theora_image_transport() {
83 pkgdesc="image_transport plugin for Theora video streaming"
84 depends=('ros2-jazzy' 'ros2-jazzy-cv_bridge' 'opencv4' 'libogg' 'libtheora')
85 license=('BSD-3-Clause')
86
87 cp -a "$srcdir/_staging/theora_image_transport/." "$pkgdir/"
88 install -Dm644 "$srcdir/$_srcname/LICENSE" \
89 "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
90}
91
92package_ros2-jazzy-zstd_image_transport() {
93 pkgdesc="image_transport plugin using zlib compression"
94 depends=('ros2-jazzy' 'zlib')
95 license=('BSD-3-Clause')
96
97 cp -a "$srcdir/_staging/zstd_image_transport/." "$pkgdir/"
98 install -Dm644 "$srcdir/$_srcname/LICENSE" \
99 "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
100}
101
102package_ros2-jazzy-image_transport_plugins() {
103 pkgdesc="Metapackage pulling in all image_transport plugins"
104 depends=(
105 'ros2-jazzy-compressed_image_transport'
106 'ros2-jazzy-compressed_depth_image_transport'
107 'ros2-jazzy-theora_image_transport'
108 'ros2-jazzy-zstd_image_transport'
109 )
110 license=('BSD-3-Clause')
111
112 cp -a "$srcdir/_staging/image_transport_plugins/." "$pkgdir/"
113 install -Dm644 "$srcdir/$_srcname/LICENSE" \
114 "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
115}
116

Scan history

Scanned at (UTC)SeverityRules
2026-09-05 03:59:20 Low 1

Report a package

Reports go to the AURWatch maintainer (one person) and are read by hand. No login required.

0 / 4000
Your suggestion