fontconfig/2.13.94-cpeGNU-21.08 (fontconfig-2.13.94-cpeGNU-21.08.eb)
This software is archived in the LUMI-SoftwareStack GitHub repository as easybuild/easyconfigs/__archive__/f/fontconfig/fontconfig-2.13.94-cpeGNU-21.08.eb. The corresponding module would be fontconfig/2.13.94-cpeGNU-21.08.
easyblock = 'ConfigureMake'
local_expat_version = '2.4.1' # https://github.com/libexpat/libexpat/releases
local_util_version = '2.37.1' # https://mirrors.edge.kernel.org/pub/linux/utils/util-linux/
local_freetype_version = '2.10.4' # https://download.savannah.gnu.org/releases/freetype/
local_fontconfig_version = '2.13.94' # https://www.freedesktop.org/software/fontconfig/release/
name = 'fontconfig'
version = local_fontconfig_version
homepage = 'http://www.freedesktop.org/software/fontconfig'
whatis = [
'Description: A library for system-wide font configuration',
'The module contains a number of command line tools and a shared library',
]
description = """
Fontconfig is a library designed to provide system-wide font configuration,
customization and application access.
The module contains a number of command line tools and a shared library.
"""
toolchain = {'name': 'cpeGNU', 'version': '21.08'}
toolchainopts = {'pic': True}
source_urls = ['http://www.freedesktop.org/software/fontconfig/release/']
sources = [SOURCE_TAR_GZ]
checksums = ['246d1640a7e54fba697b28e4445f4d9eb63dda1b511d19986249368ee7191882']
builddependencies = [ # Create a reproducible build environment.
('buildtools', '%(toolchain_version)s', '', True), # for gperf
]
dependencies = [
('expat', local_expat_version),
('util-linux', local_util_version),
('freetype', local_freetype_version),
]
configopts = '--disable-docs '
sanity_check_paths = {
'files': ['lib/libfontconfig.%s' % x for x in ['la', SHLIB_EXT]] +
['include/fontconfig/%s.h'% x for x in ['fcfreetype', 'fcprivate', 'fontconfig']] +
['bin/fc-%s' % x for x in ['cache', 'cat', 'conflist', 'list', 'match', 'pattern', 'query', 'scan', 'validate']] +
[ 'lib/pkgconfig/fontconfig.pc'],
'dirs': []
}
sanity_check_commands = [
'pkg-config --libs fontconfig',
] + [
'fc-%s -V' % x for x in ['cache', 'cat', 'conflist', 'list', 'match', 'pattern', 'query', 'scan', 'validate']
]
moduleclass = 'vis'