easyblock = 'MesonNinja'

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

homepage = 'https://wiki.gnome.org/Accessibility'
description = """
 AT-SPI 2 toolkit bridge
"""

toolchain = {'name': 'GCCcore', 'version': '8.2.0'}

source_urls = [FTPGNOME_SOURCE]
sources = [SOURCELOWER_TAR_XZ]
checksums = ['0b51e6d339fa2bcca3a3e3159ccea574c67b107f1ac8b00047fa60e34ce7a45c']

builddependencies = [
    ('binutils', '2.31.1'),
    ('Meson', '0.50.0', '-Python-3.7.2'),
    ('Ninja', '1.9.0'),
]

dependencies = [
    ('GLib', '2.60.1'),
    ('DBus', '1.13.8'),
    ('at-spi2-core', '2.32.0'),
    ('libxml2', '2.9.8'),
    ('ATK', '2.32.0'),
]

configopts = "--libdir lib "

sanity_check_paths = {
    'files': ['lib/libatk-bridge-2.0.%s' % SHLIB_EXT],
    'dirs': [],
}

moduleclass = 'vis'
