summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCoprDistGit <infra@openeuler.org>2026-10-13 02:02:12 +0000
committerCoprDistGit <infra@openeuler.org>2026-10-13 02:02:12 +0000
commit262b4a153cd28b356d67bc3823335a3322f0839b (patch)
tree1909eca0799b7dc515636931f54715e25b1cf587
parent9afca5a2abbed6dec96081cea103a94ad64d5281 (diff)
automatic import of ros-humble-depthaiopeneuler24.03_LTS_SP3
-rw-r--r--.gitignore1
-rw-r--r--depthai.spec10
-rw-r--r--sources2
3 files changed, 7 insertions, 6 deletions
diff --git a/.gitignore b/.gitignore
index 136a835..4b38f88 100644
--- a/.gitignore
+++ b/.gitignore
@@ -1 +1,2 @@
/depthai-2.31.1-1.tar.gz
+/depthai-2.20.2.tar.gz
diff --git a/depthai.spec b/depthai.spec
index 91a8903..467cbed 100644
--- a/depthai.spec
+++ b/depthai.spec
@@ -1,9 +1,9 @@
%define ros_distro humble
%define RosPkgName depthai
-%define src_version 2.31.1-1
+%define src_version 2.20.2
Name: ros-%{ros_distro}-%{RosPkgName}
-Version: 2.31.1
+Version: 2.20.2
Release: 1%{?dist}
Summary: DepthAI core is a C++ library which comes with firmware and an API to interact
License: MIT
@@ -39,7 +39,7 @@ DepthAI core is a C++ library which comes with firmware and an API to interact w
%autosetup -n %{RosPkgName}-%{src_version}
%build
-source /opt/ros/%{ros_distro}/setup.sh 2>/dev/null || true
+[ -f /opt/ros/%{ros_distro}/setup.sh ] && source /opt/ros/%{ros_distro}/setup.sh || true
export PYTHONPATH=/opt/ros/%{ros_distro}/lib/python%{python3_version}/site-packages${PYTHONPATH:+:$PYTHONPATH}
export PKG_CONFIG_PATH=/opt/ros/%{ros_distro}/lib/pkgconfig${PKG_CONFIG_PATH:+:$PKG_CONFIG_PATH}
mkdir -p .obj && cd .obj
@@ -54,7 +54,7 @@ mkdir -p .obj && cd .obj
make %{?_smp_mflags}
%install
-source /opt/ros/%{ros_distro}/setup.sh 2>/dev/null || true
+[ -f /opt/ros/%{ros_distro}/setup.sh ] && source /opt/ros/%{ros_distro}/setup.sh || true
export PYTHONPATH=/opt/ros/%{ros_distro}/lib/python%{python3_version}/site-packages${PYTHONPATH:+:$PYTHONPATH}
export PKG_CONFIG_PATH=/opt/ros/%{ros_distro}/lib/pkgconfig${PKG_CONFIG_PATH:+:$PKG_CONFIG_PATH}
cd .obj
@@ -64,5 +64,5 @@ make install DESTDIR=%{buildroot}
/opt/ros/%{ros_distro}
%changelog
-* Sat Sep 19 2026 ai-importer <ai-importer@openeuler.org> - 2.31.1-1
+* Tue Oct 13 2026 ai-importer <ai-importer@openeuler.org> - 2.20.2-1
- Initial import (ROS batch)
diff --git a/sources b/sources
index 37644a8..91cf894 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-0af9e10dcea18f003c6cb0c20e334ce5 depthai-2.31.1-1.tar.gz
+2dd1c7ccb10f63477677a61f6ff19558 depthai-2.20.2.tar.gz