Files
Khem Raj fe0e3d77eb 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>
2023-05-25 08:56:32 -07:00

42 lines
956 B
BlitzBasic

require ${BPN}.inc
DEPENDS += " \
${BPN}-native \
glib-2.0-native \
glib-2.0 \
dbus \
iso-codes \
"
inherit gtk-icon-cache bash-completion features_check
# for unicode-ucd
EXTRA_OECONF += "--with-ucd-dir=${STAGING_DATADIR}/unicode/ucd"
PACKAGECONFIG ??= " \
dconf vala \
${@bb.utils.contains_any('DISTRO_FEATURES', [ 'wayland', 'x11' ], 'gtk3 gtk4', '', d)} \
${@bb.utils.filter('DISTRO_FEATURES', 'systemd wayland x11', d)} \
"
REQUIRED_DISTRO_FEATURES = "${@bb.utils.contains('PACKAGECONFIG', 'gtk4', 'opengl', '', d)}"
do_configure:prepend() {
# run native unicode-parser
sed -i 's:$(builddir)/unicode-parser:unicode-parser:g' ${S}/src/Makefile.am
}
FILES:${PN} += " \
${datadir}/dbus-1 \
${datadir}/GConf \
${datadir}/glib-2.0 \
${libdir}/gtk-3.0 \
${libdir}/gtk-4.0 \
${systemd_user_unitdir} \
"
FILES:${PN}-dev += " \
${datadir}/gettext \
"
RDEPENDS:${PN} += "python3-core"