ibus: rebuild for python3-3.13

This commit is contained in:
Andrew J. Hesford 2024-11-16 09:29:13 -05:00
parent 096839466f
commit 6052ecf656

View File

@ -1,7 +1,7 @@
# Template file for 'ibus'
pkgname=ibus
version=1.5.30
revision=1
revision=2
build_style=gnu-configure
build_helper="gir"
configure_args="--enable-ui --enable-gtk3 --enable-gtk4
@ -35,7 +35,20 @@ post_configure() {
}
pre_build() {
export GIR_EXTRA_LIBS_PATH="${wrksrc}/src/.libs"
[ -n "${CROSS_BUILD}" ] || return 0
# TODO: fix this hack!
#
# GIR_EXTRA_LIBS_PATH in g-ir-scanner-qemuwrapper is not being honored,
# and the linker cannot find libibus-1.0.so.5 when scanning. Linking
# the missing library alongside the scanner targets is sufficient.
local s d
s="${wrksrc}/src/.libs/libibus-1.0.so.5"
for d in tools bindings/vala client/wayland; do
mkdir -p "${d}/.libs"
ln -Tsf "${s}" "${d}/.libs/libibus-1.0.so.5"
done
}
post_install() {