2019-01-15 17:02:49 +00:00
|
|
|
DESCRIPTION = "Intelligent Input Bus for Linux/Unix"
|
|
|
|
LICENSE = "LGPLv2.1"
|
|
|
|
DEPENDS = "prelink \
|
|
|
|
glib-2.0 \
|
|
|
|
gsettings-desktop-schemas \
|
|
|
|
json-glib \
|
|
|
|
gnome-desktop \
|
|
|
|
gettext-native \
|
|
|
|
intltool-native \
|
|
|
|
dconf \
|
|
|
|
libnotify \
|
|
|
|
gconf-native \
|
2020-07-08 14:42:25 +00:00
|
|
|
gtk+3 \
|
2019-01-15 17:02:49 +00:00
|
|
|
"
|
|
|
|
|
|
|
|
LIC_FILES_CHKSUM = "file://COPYING;md5=fbc093901857fcd118f065f900982c24"
|
|
|
|
|
|
|
|
SRC_URI = " \
|
2020-10-30 18:55:28 +00:00
|
|
|
https://github.com/ibus/ibus/releases/download/${PV}/${BPN}-${PV}.tar.gz \
|
2019-01-15 17:02:49 +00:00
|
|
|
file://0001-strip-out-dbus-build-dep.patch \
|
|
|
|
file://0002-decorate-automake-for-valaflags.patch \
|
2020-07-08 14:42:25 +00:00
|
|
|
file://0003-use-wayland-display-on-wayland.patch \
|
2019-01-15 17:02:49 +00:00
|
|
|
"
|
|
|
|
|
2020-07-08 14:42:25 +00:00
|
|
|
SRC_URI[md5sum] = "717975f7de5b7a6eb89a5966db3e6c2e"
|
|
|
|
SRC_URI[sha256sum] = "8170eba58c28aa4818970751ebdeada728ebb63d535967a5c5f5c21b0017be4a"
|
|
|
|
|
|
|
|
|
2019-01-15 17:02:49 +00:00
|
|
|
S = "${WORKDIR}/${PN}-${PV}"
|
|
|
|
|
2020-10-30 18:55:28 +00:00
|
|
|
inherit autotools pkgconfig gtk-doc features_check vala gobject-introspection
|
2019-01-15 17:02:49 +00:00
|
|
|
|
|
|
|
FILES_${PN} += "${datadir}"
|
|
|
|
FILES_${PN} += "${libdir}"
|
|
|
|
|
2020-07-08 14:42:25 +00:00
|
|
|
EXTRA_OECONF += " --disable-emoji-dict --disable-unicode-dict --disable-tests --disable-gtk2 "
|
2019-01-15 17:02:49 +00:00
|
|
|
|
|
|
|
do_configure_prepend() {
|
|
|
|
touch ${S}/ChangeLog
|
|
|
|
sed -i "s^@EXTRA_AM_VALAFLAGS@^--vapidir=${RECIPE_SYSROOT_NATIVE}${datadir}/vala-0.38/vapi --vapidir=${B}/bindings/vala --pkg gio-2.0^g" ${S}/tools/Makefile.am
|
|
|
|
sed -i "s^@EXTRA_AM_VALAFLAGS@^--vapidir=${RECIPE_SYSROOT_NATIVE}${datadir}/vala-0.38/vapi --vapidir=${B}/bindings/vala --pkg gio-2.0^g" ${S}/engine/Makefile.am
|
|
|
|
sed -i "s^@EXTRA_AM_VALAFLAGS@^--vapidir=${RECIPE_SYSROOT_NATIVE}${datadir}/vala-0.38/vapi --vapidir=${B}/bindings/vala --pkg gio-2.0^g" ${S}/ui/gtk3/Makefile.am
|
|
|
|
}
|
|
|
|
|
2020-07-08 14:42:25 +00:00
|
|
|
#do_install_append () {
|
|
|
|
# rm ${D}${datadir}/applications/ibus-setup.desktop
|
|
|
|
#}
|