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 <[email protected]>
---
meta-oe/recipes-support/opencv/opencv_4.13.0.bb | 4 ++--
1 file 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 3f4dc23da24d..981b06e33b4a 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,,"
PACKAGECONFIG[text] =
"-DBUILD_opencv_text=ON,-DBUILD_opencv_text=OFF,tesseract,"
PACKAGECONFIG[tiff] = "-DWITH_TIFF=ON,-DWITH_TIFF=OFF,tiff,"
PACKAGECONFIG[v4l] = "-DWITH_V4L=ON,-DWITH_V4L=OFF,v4l-utils,"
-PACKAGECONFIG[fastcv] = "-DWITH_FASTCV=ON
,-DWITH_FASTCV=OFF,qcom-fastcv-binaries,"
+PACKAGECONFIG[fastcv] = "-DWITH_FASTCV=ON ,-DWITH_FASTCV=OFF,"
inherit pkgconfig cmake setuptools3-base python3native
@@ -171,7 +171,7 @@ python populate_packages:prepend () {
fastcv_pkgs = ["libopencv-core", "libopencv-fastcv", "libopencv-imgproc"]
if bb.utils.contains('PACKAGECONFIG', 'fastcv', True, False, d):
for pkg in fastcv_pkgs:
- d.appendVar('RDEPENDS:' + pkg, " qcom-fastcv-binaries")
+ d.appendVar('RRECOMMENDS:' + pkg, " qcom-fastcv-binaries")
}
PACKAGES_DYNAMIC += "^libopencv-.*"
--
2.47.3
-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#124287):
https://lists.openembedded.org/g/openembedded-devel/message/124287
Mute This Topic: https://lists.openembedded.org/mt/117709963/21656
Group Owner: [email protected]
Unsubscribe: https://lists.openembedded.org/g/openembedded-devel/unsub
[[email protected]]
-=-=-=-=-=-=-=-=-=-=-=-