diff options
| author | CoprDistGit <infra@openeuler.org> | 2026-10-10 10:48:30 +0000 |
|---|---|---|
| committer | CoprDistGit <infra@openeuler.org> | 2026-10-10 10:48:30 +0000 |
| commit | 1eebd24509679fd946a08dd2894ba3ffdd8520c9 (patch) | |
| tree | 134f033e77254709d605b1746d6beb2a2a7db40d | |
| parent | 95327c0b452c5e30037072d9e742e5ff60abfb21 (diff) | |
automatic import of ros-humble-as2-platform-dji-osdk
| -rw-r--r-- | .gitignore | 1 | ||||
| -rw-r--r-- | as2-platform-dji-osdk.spec | 13 | ||||
| -rw-r--r-- | sources | 1 |
3 files changed, 14 insertions, 1 deletions
@@ -1 +1,2 @@ /as2-platform-dji-osdk-1.1.0-1.tar.gz +/Onboard-SDK-master.tar.gz diff --git a/as2-platform-dji-osdk.spec b/as2-platform-dji-osdk.spec index 2afad24..a51bae7 100644 --- a/as2-platform-dji-osdk.spec +++ b/as2-platform-dji-osdk.spec @@ -4,11 +4,12 @@ Name: ros-%{ros_distro}-%{RosPkgName} Version: 1.1.0 -Release: 1%{?dist} +Release: 2%{?dist} Summary: Package to communicate DJI OSDK with Aerostack2 framework License: BSD-3-Clause URL: https://github.com/aerostack2/as2_platform_dji_osdk/tree/main Source0: %{RosPkgName}-%{src_version}.tar.gz +Source1: Onboard-SDK-master.tar.gz %global debug_package %{nil} %global __os_install_post %(echo '%{__os_install_post}' | sed -e 's!/usr/lib[^[:space:]]*/brp-python-bytecompile[[:space:]].*$!!g') @@ -27,6 +28,7 @@ BuildRequires: ros-%{ros_distro}-std-srvs BuildRequires: ros-%{ros_distro}-as2-core BuildRequires: ros-%{ros_distro}-as2-msgs BuildRequires: libusbx-devel +BuildRequires: ffmpeg-devel Requires: ros-%{ros_distro}-ros-workspace Requires: ros-%{ros_distro}-ament-cmake @@ -40,6 +42,7 @@ Requires: ros-%{ros_distro}-std-srvs Requires: ros-%{ros_distro}-as2-core Requires: ros-%{ros_distro}-as2-msgs Requires: libusbx-devel +Requires: ffmpeg-libs Provides: %{name}-devel = %{version}-%{release} Provides: %{name}-doc = %{version}-%{release} @@ -50,6 +53,7 @@ Package to communicate DJI OSDK with Aerostack2 framework %prep %autosetup -n %{RosPkgName}-%{src_version} +tar xzf %{SOURCE1} -C %{_builddir} %build [ -f /opt/ros/%{ros_distro}/setup.sh ] && source /opt/ros/%{ros_distro}/setup.sh || true @@ -60,6 +64,8 @@ mkdir -p .obj && cd .obj -DCMAKE_INSTALL_PREFIX="/opt/ros/%{ros_distro}" \ -DAMENT_PREFIX_PATH="/opt/ros/%{ros_distro}" \ -DCMAKE_PREFIX_PATH="/opt/ros/%{ros_distro}" \ + -DFETCHCONTENT_SOURCE_DIR_DJI_ONBOARDSDK=%{_builddir}/Onboard-SDK-master \ + -DFETCHCONTENT_FULLY_DISCONNECTED=ON \ -UINCLUDE_INSTALL_DIR -ULIB_INSTALL_DIR -USYSCONF_INSTALL_DIR -USHARE_INSTALL_PREFIX -ULIB_SUFFIX \ -DSETUPTOOLS_DEB_LAYOUT=OFF \ -DBUILD_TESTING=OFF -DTESTING=OFF -DCMAKE_SUPPRESS_REGENERATION=ON \ @@ -77,5 +83,10 @@ make install DESTDIR=%{buildroot} /opt/ros/%{ros_distro} %changelog +* Sat Oct 10 2026 ai-importer <ai-importer@openeuler.org> - 1.1.0-2 +- Bundle DJI Onboard-SDK as Source1 to avoid network git clone in COPR +- Add ffmpeg-devel BuildRequires for advanced-sensing component +- Use FETCHCONTENT_SOURCE_DIR_DJI_ONBOARDSDK for offline build + * Sat Oct 10 2026 ai-importer <ai-importer@openeuler.org> - 1.1.0-1 - Initial import (ROS batch) @@ -1 +1,2 @@ +63f27f81ab9b746a13507320ee88fd70 Onboard-SDK-master.tar.gz b125edee962bb5970429264315837c5a as2-platform-dji-osdk-1.1.0-1.tar.gz |
