summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorKino2024-05-26 21:19:23 +0800
committerKino2024-05-26 21:19:23 +0800
commitb15c3e9b67ad723d6353f261ce73e13bbe48e028 (patch)
tree234245eea149ff42bb714094ba0bc03905096689
parentf184aca0cb6a4504c8fe9017b7e00901b25ee12a (diff)
downloadaur-ros2-humble-cv-bridge.tar.gz
upgpkg: 3.2.1-9; add maintainer info and .jp2 test
-rw-r--r--.SRCINFO2
-rw-r--r--PKGBUILD9
2 files changed, 8 insertions, 3 deletions
diff --git a/.SRCINFO b/.SRCINFO
index b79024a18d94..f8bb10dca0c2 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,7 +1,7 @@
pkgbase = ros2-humble-cv-bridge
pkgdesc = This contains CvBridge, which converts between ROS Image messages and OpenCV images.
pkgver = 3.2.1
- pkgrel = 8
+ pkgrel = 9
url = https://index.ros.org/p/cv_bridge/
arch = any
license = Apache-2.0
diff --git a/PKGBUILD b/PKGBUILD
index dca78776b868..c7aadaa1dff4 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -1,10 +1,11 @@
-# Maintainer: Angelo Elias Dal Zotto <angelodalzotto97@gmail.com>
+# Maintainer: Kino <cybao292261@163.com>
+# Contributor: Angelo Elias Dal Zotto <angelodalzotto97@gmail.com>
_pkgroot=vision_opencv
_pkgname=cv_bridge
pkgname=ros2-humble-cv-bridge
pkgver=3.2.1
-pkgrel=8
+pkgrel=9
pkgdesc="This contains CvBridge, which converts between ROS Image messages and OpenCV images."
url="https://index.ros.org/p/cv_bridge/"
license=('Apache-2.0' 'BSD-3-Clause')
@@ -20,6 +21,10 @@ prepare() {
cd $srcdir/build
source /opt/ros/humble/setup.bash
python -m venv venv/opt/ros/humble --system-site-packages
+
+ # JASPER is enabled by default on Arch Linux.
+ sed -i "s/'tiff'\]/'tiff', 'jp2'\]/g" $srcdir/$_pkgroot-$pkgver/$_pkgname/test/conversions.py
+
}
build() {