diff options
| -rw-r--r-- | meta/recipes-support/atk/at-spi2-core_2.48.0.bb (renamed from meta/recipes-support/atk/at-spi2-core_2.46.0.bb) | 23 |
1 files changed, 13 insertions, 10 deletions
diff --git a/meta/recipes-support/atk/at-spi2-core_2.46.0.bb b/meta/recipes-support/atk/at-spi2-core_2.48.0.bb index 90313467d0..e9648ffe07 100644 --- a/meta/recipes-support/atk/at-spi2-core_2.46.0.bb +++ b/meta/recipes-support/atk/at-spi2-core_2.48.0.bb | |||
| @@ -11,29 +11,32 @@ MAJ_VER = "${@oe.utils.trim_version("${PV}", 2)}" | |||
| 11 | 11 | ||
| 12 | SRC_URI = "${GNOME_MIRROR}/${BPN}/${MAJ_VER}/${BPN}-${PV}.tar.xz" | 12 | SRC_URI = "${GNOME_MIRROR}/${BPN}/${MAJ_VER}/${BPN}-${PV}.tar.xz" |
| 13 | 13 | ||
| 14 | SRC_URI[sha256sum] = "aa0c86c79f7a8d67bae49a5b7a5ab08430c608cffe6e33bf47a72f41ab03c3d0" | 14 | SRC_URI[sha256sum] = "905a5b6f1790b68ee803bffa9f5fab4ceb591fb4fae0b2f8c612c54f1d4e8a30" |
| 15 | 15 | ||
| 16 | DEPENDS = "dbus glib-2.0 glib-2.0-native libxml2" | 16 | DEPENDS = " \ |
| 17 | dbus \ | ||
| 18 | glib-2.0 \ | ||
| 19 | glib-2.0-native \ | ||
| 20 | libxml2 \ | ||
| 21 | ${@'python3-sphinx-native' if d.getVar('GIDOCGEN_ENABLED') == 'True' else ''} \ | ||
| 22 | " | ||
| 17 | 23 | ||
| 18 | # For backwards compatibility | 24 | # For backwards compatibility |
| 19 | PROVIDES += "atk at-spi2-atk" | 25 | PROVIDES += "atk at-spi2-atk" |
| 20 | RPROVIDES:${PN} += "atk at-spi2-atk" | 26 | RPROVIDES:${PN} += "atk at-spi2-atk" |
| 21 | 27 | ||
| 22 | inherit meson gtk-doc gettext systemd pkgconfig upstream-version-is-even gobject-introspection | 28 | inherit meson gi-docgen gettext systemd pkgconfig upstream-version-is-even gobject-introspection |
| 23 | 29 | ||
| 24 | EXTRA_OEMESON = " -Dsystemd_user_dir=${systemd_user_unitdir} \ | 30 | EXTRA_OEMESON = " -Dsystemd_user_dir=${systemd_user_unitdir} \ |
| 25 | -Ddbus_daemon=${bindir}/dbus-daemon" | 31 | -Ddbus_daemon=${bindir}/dbus-daemon" |
| 26 | 32 | ||
| 27 | PACKAGECONFIG ??= "${@bb.utils.filter('DISTRO_FEATURES', 'x11', d)}" | 33 | PACKAGECONFIG ??= "${@bb.utils.filter('DISTRO_FEATURES', 'x11', d)}" |
| 28 | PACKAGECONFIG[x11] = "-Dx11=yes,-Dx11=no,virtual/libx11 libxi libxtst" | 34 | PACKAGECONFIG[x11] = "-Dx11=enabled,-Dx11=disabled,virtual/libx11 libxi libxtst" |
| 29 | |||
| 30 | GTKDOC_MESON_OPTION = "docs" | ||
| 31 | # The documentation doesn't build if X11 is disabled. Appears to be fixed post 2.46.0. | ||
| 32 | EXTRA_OEMESON += "${@bb.utils.contains("DISTRO_FEATURES", "x11", "", "-Ddocs=false", d)}" | ||
| 33 | 35 | ||
| 36 | GIDOCGEN_MESON_OPTION = "docs" | ||
| 34 | GIR_MESON_OPTION = 'introspection' | 37 | GIR_MESON_OPTION = 'introspection' |
| 35 | GIR_MESON_ENABLE_FLAG = 'yes' | 38 | GIR_MESON_ENABLE_FLAG = 'enabled' |
| 36 | GIR_MESON_DISABLE_FLAG = 'no' | 39 | GIR_MESON_DISABLE_FLAG = 'disabled' |
| 37 | 40 | ||
| 38 | FILES:${PN} += "${libdir}/gnome-settings-daemon-3.0/gtk-modules/at-spi2-atk.desktop \ | 41 | FILES:${PN} += "${libdir}/gnome-settings-daemon-3.0/gtk-modules/at-spi2-atk.desktop \ |
| 39 | ${libdir}/gtk-2.0/modules/libatk-bridge.so \ | 42 | ${libdir}/gtk-2.0/modules/libatk-bridge.so \ |
