# JH 2020

easyblock = 'MesonNinja'

name = 'ATK'
version = '2.34.1'

homepage = 'https://developer.gnome.org/ATK/stable/'
description = """
 ATK provides the set of accessibility interfaces that are implemented by other
 toolkits and applications. Using the ATK interfaces, accessibility tools have
 full access to view and control running applications.
"""

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

source_urls = [FTPGNOME_SOURCE]
sources = [SOURCELOWER_TAR_XZ]


builddependencies = [
    ('Meson', '0.53.0', '-Py-3.7', True),
    ('Ninja', '1.9.0', '', True),
    ('pkg-config', '0.29.2'),
    ('GObject-Introspection', '1.63.1', '-Py-3.7'),
]

dependencies = [
    ('GLib', '2.64.0'),
]

configopts = "--buildtype=release --default-library=both "
configopts += "-Dintrospection=true "

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

moduleclass = 'vis'
