easyblock = 'MesonNinja'

name = 'at-spi2-core'
version = '2.32.0'

homepage = 'https://www.freedesktop.org/wiki/Accessibility/AT-SPI2/'
description = "At-Spi2 is a protocol over DBus, toolkit widgets use it to provide their content to screen readers such as Orca."

toolchain = {'name': 'foss', 'version': '2018b'}

source_urls = [FTPGNOME_SOURCE]
sources = [SOURCELOWER_TAR_XZ]
checksums = ['57269004541646c4c5cf0bcb7c99bb5b']

builddependencies = [
    ('GObject-Introspection', '1.54.1', '-Python-3.6.6'),
    ('Meson', '0.48.1', '-Python-3.6.6'),
    ('Ninja', '1.8.2'),
]

dependencies = [
    ('X11', '20180604'),
    ('DBus', '1.13.6'),
    ('GLib', '2.54.3'),
]

#configopts = '-Dglx=yes -Degl=no'

sanity_check_paths = {
    'files': ['lib64/libatspi.so'],
    'dirs': ['include/at-spi-2.0'],
}

moduleclass = 'lib'
