easyblock = 'MesonNinja'

name = 'mm-common'
version = '1.0.6'

homepage = 'https://gitlab.gnome.org/GNOME/mm-common'
description = """The mm-common module provides the build infrastructure and
utilities shared among the GNOME C++ binding libraries."""

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

source_urls = [FTPGNOME_SOURCE]
sources = [SOURCELOWER_TAR_XZ]
checksums = ['b55c46037dbcdabc5cee3b389ea11cc3910adb68ebe883e9477847aa660862e7']

builddependencies = [
    ('binutils', '2.42'),
    ('Meson', '1.4.0'),
    ('Ninja', '1.12.1'),
]

dependencies = [
    ('Python', '3.12.3'),
]

sanity_check_paths = {
    'files': ['bin/mm-common-get', 'bin/mm-common-prepare', 'share/pkgconfig/mm-common-util.pc'],
    'dirs': ['share/man/man1'],
}

sanity_check_commands = ["mm-common-prepare --help"]

moduleclass = 'devel'
