2019-01-15 12:02:49 -05: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 10:42:25 -04:00
|
|
|
gtk+3 \
|
2019-01-15 12:02:49 -05:00
|
|
|
"
|
|
|
|
|
|
|
|
LIC_FILES_CHKSUM = "file://COPYING;md5=fbc093901857fcd118f065f900982c24"
|
|
|
|
|
|
|
|
SRC_URI = " \
|
|
|
|
https://github.com/ibus/ibus/releases/download/${PV}/${PN}-${PV}.tar.gz \
|
|
|
|
file://0001-strip-out-dbus-build-dep.patch \
|
|
|
|
file://0002-decorate-automake-for-valaflags.patch \
|
2020-07-08 10:42:25 -04:00
|
|
|
file://0003-use-wayland-display-on-wayland.patch \
|
2019-01-15 12:02:49 -05:00
|
|
|
"
|
|
|
|
|
2020-07-08 10:42:25 -04:00
|
|
|
SRC_URI[md5sum] = "717975f7de5b7a6eb89a5966db3e6c2e"
|
|
|
|
SRC_URI[sha256sum] = "8170eba58c28aa4818970751ebdeada728ebb63d535967a5c5f5c21b0017be4a"
|
|
|
|
|
|
|
|
|
2019-01-15 12:02:49 -05:00
|
|
|
S = "${WORKDIR}/${PN}-${PV}"
|
|
|
|
|
|
|
|
inherit autotools pkgconfig gtk-doc distro_features_check vala gobject-introspection
|
|
|
|
|
|
|
|
FILES_${PN} += "${datadir}"
|
|
|
|
FILES_${PN} += "${libdir}"
|
|
|
|
|
2020-07-08 10:42:25 -04:00
|
|
|
EXTRA_OECONF += " --disable-emoji-dict --disable-unicode-dict --disable-tests --disable-gtk2 "
|
2019-01-15 12:02:49 -05: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 10:42:25 -04:00
|
|
|
#do_install_append () {
|
|
|
|
# rm ${D}${datadir}/applications/ibus-setup.desktop
|
|
|
|
#}
|