summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorYoann Congal <yoann.congal@smile.fr>2025-07-26 10:44:24 +0200
committerKhem Raj <raj.khem@gmail.com>2025-07-26 09:56:18 -0700
commitae0d7f632adeac2b2d51b95f2f56adaa8e532bb1 (patch)
treed9adac5eaec961ccd0fb92ab3a11818945991e81
parent09bf205ee26e75b8d95223698702d3a52dd7813d (diff)
downloadmeta-openembedded-ae0d7f632adeac2b2d51b95f2f56adaa8e532bb1.tar.gz
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 <yoann.congal@smile.fr> Signed-off-by: Khem Raj <raj.khem@gmail.com>
-rw-r--r--meta-oe/recipes-graphics/leptonica/leptonica_1.85.0.bb2
-rw-r--r--meta-oe/recipes-graphics/tesseract/tesseract_5.5.1.bb2
2 files changed, 4 insertions, 0 deletions
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"
18PACKAGECONFIG[giflib] = "--with-giflib,--without-giflib,giflib" 18PACKAGECONFIG[giflib] = "--with-giflib,--without-giflib,giflib"
19 19
20inherit autotools pkgconfig 20inherit autotools pkgconfig
21
22BBCLASSEXTEND = "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
18FILES:${PN} += "${datadir}/tessdata" 18FILES:${PN} += "${datadir}/tessdata"
19 19
20RRECOMMENDS:${PN} += "tesseract-lang-eng" 20RRECOMMENDS:${PN} += "tesseract-lang-eng"
21
22BBCLASSEXTEND = "native"