From ae0d7f632adeac2b2d51b95f2f56adaa8e532bb1 Mon Sep 17 00:00:00 2001 From: Yoann Congal Date: Sat, 26 Jul 2025 10:44:24 +0200 Subject: leptonica,tesseract: add native variant Since commit d6736b37c3f4 ("python-pytesseract: Update runtime dependencies"), pytesseract rdepends on tesseract and has a native variant. So, tesseract and its dependency leptonica also need the native variant. Fixes these warnings from AB[0]: WARNING: Nothing RPROVIDES 'tesseract-native' (but virtual:native:/srv/pokybuild/yocto-worker/meta-oe-mirror/build/meta-openembedded/meta-python/recipes-extended/python-pytesseract/pytesseract_0.3.13.bb RDEPENDS on or otherwise requires it) [0]: https://autobuilder.yoctoproject.org/valkyrie/#/builders/82/builds/377/steps/12/logs/warnings Signed-off-by: Yoann Congal Signed-off-by: Khem Raj --- meta-oe/recipes-graphics/leptonica/leptonica_1.85.0.bb | 2 ++ meta-oe/recipes-graphics/tesseract/tesseract_5.5.1.bb | 2 ++ 2 files changed, 4 insertions(+) diff --git a/meta-oe/recipes-graphics/leptonica/leptonica_1.85.0.bb b/meta-oe/recipes-graphics/leptonica/leptonica_1.85.0.bb index 2e1a3642ad..068937e6bb 100644 --- a/meta-oe/recipes-graphics/leptonica/leptonica_1.85.0.bb +++ b/meta-oe/recipes-graphics/leptonica/leptonica_1.85.0.bb @@ -18,3 +18,5 @@ PACKAGECONFIG[openjpeg] = "--with-libopenjpeg,--without-libopenjpeg,openjpeg" PACKAGECONFIG[giflib] = "--with-giflib,--without-giflib,giflib" inherit autotools pkgconfig + +BBCLASSEXTEND = "native" diff --git a/meta-oe/recipes-graphics/tesseract/tesseract_5.5.1.bb b/meta-oe/recipes-graphics/tesseract/tesseract_5.5.1.bb index 4bc0f5b88f..f01cf8e138 100644 --- a/meta-oe/recipes-graphics/tesseract/tesseract_5.5.1.bb +++ b/meta-oe/recipes-graphics/tesseract/tesseract_5.5.1.bb @@ -18,3 +18,5 @@ inherit autotools pkgconfig FILES:${PN} += "${datadir}/tessdata" RRECOMMENDS:${PN} += "tesseract-lang-eng" + +BBCLASSEXTEND = "native" -- cgit v1.2.3-54-g00ecf