blob: 2d733ce53e47e8d3d017a77d347bd39459ab807e [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
Patrick Williams213cb262021-08-07 19:21:33 -050022do_configure:prepend() {
Brad Bishop868407c2019-11-04 13:24:47 -050023 # run native unicode-parser
24 sed -i 's:$(builddir)/unicode-parser:unicode-parser:g' ${S}/src/Makefile.am
25}
26
Patrick Williams213cb262021-08-07 19:21:33 -050027FILES:${PN} += " \
Brad Bishop868407c2019-11-04 13:24:47 -050028 ${datadir}/dbus-1 \
29 ${datadir}/GConf \
30 ${datadir}/glib-2.0 \
31 ${libdir}/gtk-3.0 \
32"
33
Patrick Williams213cb262021-08-07 19:21:33 -050034FILES:${PN}-dev += " \
Brad Bishop868407c2019-11-04 13:24:47 -050035 ${datadir}/gettext \
36"
37