1
0
forked from brl/citadel
citadel/meta-gnome/recipes-support/ibus/ibus_1.5.22.bb

48 lines
1.7 KiB
BlitzBasic
Raw Normal View History

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 \
gtk+3 \
2019-01-15 17:02:49 +00:00
"
LIC_FILES_CHKSUM = "file://COPYING;md5=fbc093901857fcd118f065f900982c24"
SRC_URI = " \
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 \
file://0003-use-wayland-display-on-wayland.patch \
2019-01-15 17:02:49 +00:00
"
SRC_URI[md5sum] = "717975f7de5b7a6eb89a5966db3e6c2e"
SRC_URI[sha256sum] = "8170eba58c28aa4818970751ebdeada728ebb63d535967a5c5f5c21b0017be4a"
2019-01-15 17:02:49 +00:00
S = "${WORKDIR}/${PN}-${PV}"
inherit autotools pkgconfig gtk-doc features_check vala gobject-introspection
2019-01-15 17:02:49 +00:00
FILES_${PN} += "${datadir}"
FILES_${PN} += "${libdir}"
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
}
#do_install_append () {
# rm ${D}${datadir}/applications/ibus-setup.desktop
#}