summaryrefslogtreecommitdiffstats
path: root/meta-gnome/recipes-support/ibus/ibus.bb
diff options
context:
space:
mode:
Diffstat (limited to 'meta-gnome/recipes-support/ibus/ibus.bb')
-rw-r--r--meta-gnome/recipes-support/ibus/ibus.bb37
1 files changed, 37 insertions, 0 deletions
diff --git a/meta-gnome/recipes-support/ibus/ibus.bb b/meta-gnome/recipes-support/ibus/ibus.bb
new file mode 100644
index 000000000..caec455b6
--- /dev/null
+++ b/meta-gnome/recipes-support/ibus/ibus.bb
@@ -0,0 +1,37 @@
1require ${BPN}.inc
2
3DEPENDS += " \
4 ${BPN}-native \
5 glib-2.0-native \
6 glib-2.0 \
7 dbus \
8 iso-codes \
9"
10
11inherit gtk-icon-cache bash-completion
12
13# for unicode-ucd
14EXTRA_OECONF += "--with-ucd-dir=${STAGING_DATADIR}/unicode/ucd"
15
16PACKAGECONFIG ??= " \
17 dconf vala \
18 ${@bb.utils.contains_any('DISTRO_FEATURES', [ 'wayland', 'x11' ], 'gtk3', '', d)} \
19 ${@bb.utils.filter('DISTRO_FEATURES', 'wayland x11', d)} \
20"
21
22do_configure_prepend() {
23 # run native unicode-parser
24 sed -i 's:$(builddir)/unicode-parser:unicode-parser:g' ${S}/src/Makefile.am
25}
26
27FILES_${PN} += " \
28 ${datadir}/dbus-1 \
29 ${datadir}/GConf \
30 ${datadir}/glib-2.0 \
31 ${libdir}/gtk-3.0 \
32"
33
34FILES_${PN}-dev += " \
35 ${datadir}/gettext \
36"
37