Andrew Geissler | 517393d | 2023-01-13 08:55:19 -0600 | [diff] [blame] | 1 | SUMMARY = "Assistive Technology Service Provider Interface (dbus core)" |
| 2 | |
| 3 | DESCRIPTION = "It provides a Service Provider Interface for the Assistive Technologies available on the GNOME platform and a library against which applications can be linked." |
| 4 | |
| 5 | HOMEPAGE = "https://wiki.linuxfoundation.org/accessibility/d-bus" |
| 6 | BUGTRACKER = "http://bugzilla.gnome.org/" |
| 7 | LICENSE = "LGPL-2.1-or-later" |
| 8 | LIC_FILES_CHKSUM = "file://COPYING;md5=4fbd65380cdd255951079008b364516c" |
| 9 | |
| 10 | MAJ_VER = "${@oe.utils.trim_version("${PV}", 2)}" |
| 11 | |
| 12 | SRC_URI = "${GNOME_MIRROR}/${BPN}/${MAJ_VER}/${BPN}-${PV}.tar.xz" |
| 13 | |
Patrick Williams | 8e7b46e | 2023-05-01 14:19:06 -0500 | [diff] [blame^] | 14 | SRC_URI[sha256sum] = "905a5b6f1790b68ee803bffa9f5fab4ceb591fb4fae0b2f8c612c54f1d4e8a30" |
Andrew Geissler | 517393d | 2023-01-13 08:55:19 -0600 | [diff] [blame] | 15 | |
Patrick Williams | 8e7b46e | 2023-05-01 14:19:06 -0500 | [diff] [blame^] | 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 | " |
Andrew Geissler | 517393d | 2023-01-13 08:55:19 -0600 | [diff] [blame] | 23 | |
| 24 | # For backwards compatibility |
| 25 | PROVIDES += "atk at-spi2-atk" |
| 26 | RPROVIDES:${PN} += "atk at-spi2-atk" |
| 27 | |
Patrick Williams | 8e7b46e | 2023-05-01 14:19:06 -0500 | [diff] [blame^] | 28 | inherit meson gi-docgen gettext systemd pkgconfig upstream-version-is-even gobject-introspection |
Andrew Geissler | 517393d | 2023-01-13 08:55:19 -0600 | [diff] [blame] | 29 | |
| 30 | EXTRA_OEMESON = " -Dsystemd_user_dir=${systemd_user_unitdir} \ |
| 31 | -Ddbus_daemon=${bindir}/dbus-daemon" |
| 32 | |
| 33 | PACKAGECONFIG ??= "${@bb.utils.filter('DISTRO_FEATURES', 'x11', d)}" |
Patrick Williams | 8e7b46e | 2023-05-01 14:19:06 -0500 | [diff] [blame^] | 34 | PACKAGECONFIG[x11] = "-Dx11=enabled,-Dx11=disabled,virtual/libx11 libxi libxtst" |
Andrew Geissler | 517393d | 2023-01-13 08:55:19 -0600 | [diff] [blame] | 35 | |
Patrick Williams | 8e7b46e | 2023-05-01 14:19:06 -0500 | [diff] [blame^] | 36 | GIDOCGEN_MESON_OPTION = "docs" |
Andrew Geissler | 517393d | 2023-01-13 08:55:19 -0600 | [diff] [blame] | 37 | GIR_MESON_OPTION = 'introspection' |
Patrick Williams | 8e7b46e | 2023-05-01 14:19:06 -0500 | [diff] [blame^] | 38 | GIR_MESON_ENABLE_FLAG = 'enabled' |
| 39 | GIR_MESON_DISABLE_FLAG = 'disabled' |
Andrew Geissler | 517393d | 2023-01-13 08:55:19 -0600 | [diff] [blame] | 40 | |
| 41 | FILES:${PN} += "${libdir}/gnome-settings-daemon-3.0/gtk-modules/at-spi2-atk.desktop \ |
| 42 | ${libdir}/gtk-2.0/modules/libatk-bridge.so \ |
| 43 | ${datadir}/dbus-1/services/*.service \ |
| 44 | ${datadir}/dbus-1/accessibility-services/*.service \ |
| 45 | ${datadir}/defaults/at-spi2 \ |
| 46 | ${systemd_user_unitdir}/at-spi-dbus-bus.serviceĀ \ |
| 47 | " |
| 48 | BBCLASSEXTEND = "native nativesdk" |