diff options
author | Yoann Congal <yoann.congal@smile.fr> | 2025-07-26 10:44:24 +0200 |
---|---|---|
committer | Khem Raj <raj.khem@gmail.com> | 2025-07-26 09:56:18 -0700 |
commit | ae0d7f632adeac2b2d51b95f2f56adaa8e532bb1 (patch) | |
tree | d9adac5eaec961ccd0fb92ab3a11818945991e81 | |
parent | 09bf205ee26e75b8d95223698702d3a52dd7813d (diff) | |
download | meta-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.bb | 2 | ||||
-rw-r--r-- | meta-oe/recipes-graphics/tesseract/tesseract_5.5.1.bb | 2 |
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" | |||
18 | PACKAGECONFIG[giflib] = "--with-giflib,--without-giflib,giflib" | 18 | PACKAGECONFIG[giflib] = "--with-giflib,--without-giflib,giflib" |
19 | 19 | ||
20 | inherit autotools pkgconfig | 20 | inherit autotools pkgconfig |
21 | |||
22 | 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 | |||
18 | FILES:${PN} += "${datadir}/tessdata" | 18 | FILES:${PN} += "${datadir}/tessdata" |
19 | 19 | ||
20 | RRECOMMENDS:${PN} += "tesseract-lang-eng" | 20 | RRECOMMENDS:${PN} += "tesseract-lang-eng" |
21 | |||
22 | BBCLASSEXTEND = "native" | ||