# IT4Innovations
# LK 2025

easyblock = 'ConfigureMake'

name = 'fontconfig'
version = '2.15.0'

homepage = 'https://www.freedesktop.org/wiki/Software/fontconfig/'

description = """
 Fontconfig is a library designed to provide system-wide font configuration,
 customization and application access.
"""

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

source_urls = ['https://www.freedesktop.org/software/fontconfig/release/']
sources = [SOURCE_TAR_GZ]
checksums = ['f5f359d6332861bd497570848fcb42520964a9e83d5e3abe397b6b6db9bcaaf4']

builddependencies = [
    ('binutils', '2.42'),
    ('gperf', '3.1'),
    ('pkgconf', '2.3.0'),
    ('Python', '3.13.1'),
]

dependencies = [
    ('expat', '2.6.4'),
    ('freetype', '2.13.2'),
    ('util-linux', '2.40'),
]

configopts = '--disable-docs '

sanity_check_paths = {
    'files': ['include/fontconfig/fontconfig.h', 'lib/libfontconfig.%s' % SHLIB_EXT],
    'dirs': []
}

moduleclass = 'vis'
