diff options
| author | Dmitry Baryshkov <dmitry.baryshkov@oss.qualcomm.com> | 2026-02-08 23:17:26 +0200 |
|---|---|---|
| committer | Khem Raj <raj.khem@gmail.com> | 2026-02-08 20:41:53 -0800 |
| commit | bd832a8962b790fc562bfd973c069e836a3f5d45 (patch) | |
| tree | 2946f92a816812634d5abe483b8ae2dab9b2f3e8 | |
| parent | 7f621262df531f4e365fac18cceb981c1506aecc (diff) | |
| download | meta-openembedded-bd832a8962b790fc562bfd973c069e836a3f5d45.tar.gz | |
opencv: correct FastCV dependencies
The FastCV stub dlopen()'s libfastcvopt.so.1, but if it is not present,
it is not a fatal error for the rest of the plugins. Downgrate RDEPENDS
to RRECOMMENDS. While we are at it, drop the dependency from the
PACKAGECONFIG, it is handled in the python code.
Fixes: b77403017b5e ("opencv: fill in missing FastCV gaps")
Signed-off-by: Dmitry Baryshkov <dmitry.baryshkov@oss.qualcomm.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
| -rw-r--r-- | meta-oe/recipes-support/opencv/opencv_4.13.0.bb | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/meta-oe/recipes-support/opencv/opencv_4.13.0.bb b/meta-oe/recipes-support/opencv/opencv_4.13.0.bb index 3f4dc23da2..981b06e33b 100644 --- a/meta-oe/recipes-support/opencv/opencv_4.13.0.bb +++ b/meta-oe/recipes-support/opencv/opencv_4.13.0.bb | |||
| @@ -124,7 +124,7 @@ PACKAGECONFIG[tests] = "-DBUILD_TESTS=ON -DINSTALL_TESTS=ON,-DBUILD_TESTS=OFF,," | |||
| 124 | PACKAGECONFIG[text] = "-DBUILD_opencv_text=ON,-DBUILD_opencv_text=OFF,tesseract," | 124 | PACKAGECONFIG[text] = "-DBUILD_opencv_text=ON,-DBUILD_opencv_text=OFF,tesseract," |
| 125 | PACKAGECONFIG[tiff] = "-DWITH_TIFF=ON,-DWITH_TIFF=OFF,tiff," | 125 | PACKAGECONFIG[tiff] = "-DWITH_TIFF=ON,-DWITH_TIFF=OFF,tiff," |
| 126 | PACKAGECONFIG[v4l] = "-DWITH_V4L=ON,-DWITH_V4L=OFF,v4l-utils," | 126 | PACKAGECONFIG[v4l] = "-DWITH_V4L=ON,-DWITH_V4L=OFF,v4l-utils," |
| 127 | PACKAGECONFIG[fastcv] = "-DWITH_FASTCV=ON ,-DWITH_FASTCV=OFF,qcom-fastcv-binaries," | 127 | PACKAGECONFIG[fastcv] = "-DWITH_FASTCV=ON ,-DWITH_FASTCV=OFF," |
| 128 | 128 | ||
| 129 | inherit pkgconfig cmake setuptools3-base python3native | 129 | inherit pkgconfig cmake setuptools3-base python3native |
| 130 | 130 | ||
| @@ -171,7 +171,7 @@ python populate_packages:prepend () { | |||
| 171 | fastcv_pkgs = ["libopencv-core", "libopencv-fastcv", "libopencv-imgproc"] | 171 | fastcv_pkgs = ["libopencv-core", "libopencv-fastcv", "libopencv-imgproc"] |
| 172 | if bb.utils.contains('PACKAGECONFIG', 'fastcv', True, False, d): | 172 | if bb.utils.contains('PACKAGECONFIG', 'fastcv', True, False, d): |
| 173 | for pkg in fastcv_pkgs: | 173 | for pkg in fastcv_pkgs: |
| 174 | d.appendVar('RDEPENDS:' + pkg, " qcom-fastcv-binaries") | 174 | d.appendVar('RRECOMMENDS:' + pkg, " qcom-fastcv-binaries") |
| 175 | } | 175 | } |
| 176 | 176 | ||
| 177 | PACKAGES_DYNAMIC += "^libopencv-.*" | 177 | PACKAGES_DYNAMIC += "^libopencv-.*" |
