easyblock = 'MesonNinja'

name = 'GLibmm'
version = '2.80.1'

homepage = 'https://www.gtk.org/'
description = """C++ bindings for Glib"""

toolchain = {'name': 'GCCcore', 'version': '13.3.0'}
toolchainopts = {'pic': True}

source_urls = ['https://ftp.gnome.org/pub/gnome/sources/glibmm/%(version_major_minor)s/']
sources = ['%(namelower)s-%(version)s.tar.xz']
checksums = ['f1a0c0ec514e3774bf993396f17f72106b40912c7d7cc9d10da31ba15517e3f5']

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

dependencies = [
    ('GLib', '2.80.4'),
    ('libsigc++', '3.6.0'),
]

sanity_check_paths = {
    'files': ['lib/libglibmm-2.68.%s' % SHLIB_EXT, 'lib/libgiomm-2.68.%s' % SHLIB_EXT,
              'include/glibmm-2.68/glibmm.h', 'include/giomm-2.68/giomm.h'],
    'dirs': ['lib/pkgconfig'],
}

moduleclass = 'vis'
