mirror of
https://github.com/void-linux/void-packages.git
synced 2025-06-05 14:43:52 +02:00
ibus: rebuild for python3-3.13
This commit is contained in:
parent
096839466f
commit
6052ecf656
1 changed files with 15 additions and 2 deletions
|
@ -1,7 +1,7 @@
|
||||||
# Template file for 'ibus'
|
# Template file for 'ibus'
|
||||||
pkgname=ibus
|
pkgname=ibus
|
||||||
version=1.5.30
|
version=1.5.30
|
||||||
revision=1
|
revision=2
|
||||||
build_style=gnu-configure
|
build_style=gnu-configure
|
||||||
build_helper="gir"
|
build_helper="gir"
|
||||||
configure_args="--enable-ui --enable-gtk3 --enable-gtk4
|
configure_args="--enable-ui --enable-gtk3 --enable-gtk4
|
||||||
|
@ -35,7 +35,20 @@ post_configure() {
|
||||||
}
|
}
|
||||||
|
|
||||||
pre_build() {
|
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() {
|
post_install() {
|
||||||
|
|
Loading…
Add table
Reference in a new issue