Brad Bishop | 868407c | 2019-11-04 13:24:47 -0500 | [diff] [blame] | 1 | require ${BPN}.inc |
| 2 | |
| 3 | DEPENDS += " \ |
| 4 | ${BPN}-native \ |
| 5 | glib-2.0-native \ |
| 6 | glib-2.0 \ |
| 7 | dbus \ |
| 8 | iso-codes \ |
| 9 | " |
| 10 | |
Andrew Geissler | 517393d | 2023-01-13 08:55:19 -0600 | [diff] [blame] | 11 | inherit gtk-icon-cache bash-completion features_check |
Brad Bishop | 868407c | 2019-11-04 13:24:47 -0500 | [diff] [blame] | 12 | |
| 13 | # for unicode-ucd |
| 14 | EXTRA_OECONF += "--with-ucd-dir=${STAGING_DATADIR}/unicode/ucd" |
| 15 | |
| 16 | PACKAGECONFIG ??= " \ |
| 17 | dconf vala \ |
Patrick Williams | 03907ee | 2022-05-01 06:28:52 -0500 | [diff] [blame] | 18 | ${@bb.utils.contains_any('DISTRO_FEATURES', [ 'wayland', 'x11' ], 'gtk3 gtk4', '', d)} \ |
| 19 | ${@bb.utils.filter('DISTRO_FEATURES', 'systemd wayland x11', d)} \ |
Brad Bishop | 868407c | 2019-11-04 13:24:47 -0500 | [diff] [blame] | 20 | " |
| 21 | |
Andrew Geissler | 517393d | 2023-01-13 08:55:19 -0600 | [diff] [blame] | 22 | REQUIRED_DISTRO_FEATURES = "${@bb.utils.contains('PACKAGECONFIG', 'gtk4', 'opengl', '', d)}" |
| 23 | |
Patrick Williams | 213cb26 | 2021-08-07 19:21:33 -0500 | [diff] [blame] | 24 | do_configure:prepend() { |
Brad Bishop | 868407c | 2019-11-04 13:24:47 -0500 | [diff] [blame] | 25 | # run native unicode-parser |
| 26 | sed -i 's:$(builddir)/unicode-parser:unicode-parser:g' ${S}/src/Makefile.am |
| 27 | } |
| 28 | |
Patrick Williams | 213cb26 | 2021-08-07 19:21:33 -0500 | [diff] [blame] | 29 | FILES:${PN} += " \ |
Brad Bishop | 868407c | 2019-11-04 13:24:47 -0500 | [diff] [blame] | 30 | ${datadir}/dbus-1 \ |
| 31 | ${datadir}/GConf \ |
| 32 | ${datadir}/glib-2.0 \ |
| 33 | ${libdir}/gtk-3.0 \ |
Patrick Williams | 03907ee | 2022-05-01 06:28:52 -0500 | [diff] [blame] | 34 | ${libdir}/gtk-4.0 \ |
| 35 | ${systemd_user_unitdir} \ |
Brad Bishop | 868407c | 2019-11-04 13:24:47 -0500 | [diff] [blame] | 36 | " |
| 37 | |
Patrick Williams | 213cb26 | 2021-08-07 19:21:33 -0500 | [diff] [blame] | 38 | FILES:${PN}-dev += " \ |
Brad Bishop | 868407c | 2019-11-04 13:24:47 -0500 | [diff] [blame] | 39 | ${datadir}/gettext \ |
| 40 | " |
Patrick Williams | e760df8 | 2023-05-26 11:10:49 -0500 | [diff] [blame] | 41 | RDEPENDS:${PN} += "python3-core" |