diff options
| -rw-r--r-- | depthai-v3.spec | 44 | ||||
| -rw-r--r-- | sources | 2 |
2 files changed, 41 insertions, 5 deletions
diff --git a/depthai-v3.spec b/depthai-v3.spec index f82e188..d3ad8ff 100644 --- a/depthai-v3.spec +++ b/depthai-v3.spec @@ -4,7 +4,7 @@ Name: ros-%{ros_distro}-%{RosPkgName} Version: 3.7.1 -Release: 1%{?dist} +Release: 2%{?dist} Summary: DepthAI core is a C++ library which comes with firmware and an API to interact License: MIT URL: https://github.com/luxonis/depthai-core.git @@ -16,14 +16,22 @@ Source0: %{RosPkgName}-%{src_version}.tar.gz %global __requires_exclude_from ^/opt/ros/%{ros_distro}/.*$ BuildRequires: cmake +BuildRequires: pkgconf BuildRequires: ros-%{ros_distro}-ament-cmake BuildRequires: ros-%{ros_distro}-ros-environment +BuildRequires: bzip2-devel +BuildRequires: eigen3-devel BuildRequires: fmt-devel +BuildRequires: libarchive-devel BuildRequires: libudev-devel BuildRequires: libusbx-devel +BuildRequires: lz4-devel BuildRequires: nlohmann-json-devel BuildRequires: opencv +BuildRequires: protobuf-devel BuildRequires: spdlog-devel +BuildRequires: xz-devel +BuildRequires: yaml-cpp-devel BuildRequires: curl BuildRequires: gfortran BuildRequires: unzip @@ -61,10 +69,30 @@ mkdir -p .obj && cd .obj %cmake3 \ -DCMAKE_INSTALL_PREFIX="/opt/ros/%{ros_distro}" \ -DAMENT_PREFIX_PATH="/opt/ros/%{ros_distro}" \ - -DCMAKE_PREFIX_PATH="/opt/ros/%{ros_distro}" \ + -DCMAKE_PREFIX_PATH="/opt/ros/%{ros_distro};/usr/share/eigen3/cmake" \ -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 \ + -DDEPTHAI_BOOTSTRAP_VCPKG=OFF \ + -DDEPTHAI_JSON_EXTERNAL=ON \ + -DDEPTHAI_XTENSOR_SUPPORT=OFF \ + -DDEPTHAI_DYNAMIC_CALIBRATION_SUPPORT=OFF \ + -DDEPTHAI_ENABLE_REMOTE_CONNECTION=OFF \ + -DDEPTHAI_ENABLE_EVENTS_MANAGER=OFF \ + -DDEPTHAI_ENABLE_CURL=OFF \ + -DDEPTHAI_ENABLE_APRIL_TAG=OFF \ + -DDEPTHAI_ENABLE_BACKWARD=OFF \ + -DDEPTHAI_ENABLE_MP4V2=OFF \ + -DDEPTHAI_BASALT_SUPPORT=OFF \ + -DDEPTHAI_RTABMAP_SUPPORT=OFF \ + -DDEPTHAI_BUILD_EXAMPLES=OFF \ + -DDEPTHAI_BUILD_TESTS=OFF \ + -DDEPTHAI_BUILD_DOCS=OFF \ + -DDEPTHAI_ENABLE_DEVICE_FW=OFF \ + -DDEPTHAI_ENABLE_DEVICE_BOOTLOADER_FW=OFF \ + -DDEPTHAI_ENABLE_DEVICE_RVC4_FW=OFF \ + -DDEPTHAI_BINARIES_RESOURCE_COMPILE=OFF \ + -DDEPTHAI_CLANG_FORMAT=OFF \ .. make %{?_smp_mflags} @@ -79,5 +107,13 @@ make install DESTDIR=%{buildroot} /opt/ros/%{ros_distro} %changelog -* Mon Oct 26 2026 ai-importer <ai-importer@openeuler.org> - 3.7.1-1 -- Initial import (ROS batch) +* Mon Oct 26 2026 ai-importer <ai-importer@openeuler.org> - 3.7.1-2 +- Disable vcpkg bootstrap, vendor missing header-only deps (magic_enum, semver, + fp16, cpp-httplib, libnop, XLink) into 3rdparty/ tree +- Patch depthaiDependencies.cmake to find vendored deps locally instead of + FetchContent/GitHub clone; use pkg-config for lz4/liblzma (no cmake config) +- Disable firmware downloads, dynamic_calibration, remote_connection, curl, + apriltag, backward, mp4v2, basalt, rtabmap, xtensor (all need network or + packages unavailable on openEuler 24.03) +- Add system BuildRequires: bzip2-devel, eigen3-devel, libarchive-devel, + lz4-devel, protobuf-devel, xz-devel, yaml-cpp-devel, pkgconf @@ -1 +1 @@ -ca0cd59572e9d0bc870055ef36c1778d depthai-v3-3.7.1.tar.gz +6ad63606005921a860dfe92107a93937 depthai-v3-3.7.1.tar.gz |
