ibus: Point python interpreter to target location

it encoded PYTHON variable during build which otherwise points to python
on build host which is not correct for cross compiled packages.

Add missing dependency on python3-core which is needed for ibus-setup
script to run

Signed-off-by: Khem Raj <raj.khem@gmail.com>
(cherry picked from commit fe0e3d77eb)
Signed-off-by: Armin Kuster <akuster808@gmail.com>
This commit is contained in:
Khem Raj 2023-05-24 20:00:21 -07:00 committed by Armin Kuster
parent 69f71ee9ec
commit dcd8d7d1eb
2 changed files with 4 additions and 1 deletions

View File

@ -38,4 +38,4 @@ FILES:${PN} += " \
FILES:${PN}-dev += " \
${datadir}/gettext \
"
RDEPENDS:${PN} += "python3-core"

View File

@ -31,6 +31,9 @@ EXTRA_OECONF = " \
--disable-emoji-dict \
--disable-python2 \
"
EXTRA_OECONF:append:class-target = "\
--with-python=${bindir}/python3 \
"
do_configure:prepend() {
touch ${S}/ChangeLog