blob: caec455b6d9a726b96abdf107348bb1f409c48ed [file] [log] [blame]
Brad Bishop868407c2019-11-04 13:24:47 -05001require ${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