leptonica,tesseract: add native variant

Since commit d6736b37c3 ("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>
This commit is contained in:
Yoann Congal 2025-07-26 10:44:24 +02:00 committed by Khem Raj
parent 09bf205ee2
commit ae0d7f632a
No known key found for this signature in database
GPG Key ID: BB053355919D3314
2 changed files with 4 additions and 0 deletions

View File

@ -18,3 +18,5 @@ PACKAGECONFIG[openjpeg] = "--with-libopenjpeg,--without-libopenjpeg,openjpeg"
PACKAGECONFIG[giflib] = "--with-giflib,--without-giflib,giflib"
inherit autotools pkgconfig
BBCLASSEXTEND = "native"

View File

@ -18,3 +18,5 @@ inherit autotools pkgconfig
FILES:${PN} += "${datadir}/tessdata"
RRECOMMENDS:${PN} += "tesseract-lang-eng"
BBCLASSEXTEND = "native"