easyblock = 'ConfigureMake'

name = 'libXft'
version = '2.3.2'

homepage = "http://www.freedesktop.org/wiki/Software/xlibs"
description = """X11 client-side library"""

toolchain = {'name': 'intel', 'version': '2016a'}

sources = [SOURCE_TAR_GZ]
source_urls = [XORG_LIB_SOURCE]

builddependencies = [
    ('inputproto', '2.3.1'),
    ('kbproto', '1.0.7'),
    ('libpthread-stubs', '0.3'),
    ('renderproto', '0.11'),
    ('xcb-proto', '1.11', '', True),
    ('xextproto', '7.3.0'),
    ('xorg-macros', '1.19.0'),
    ('xproto', '7.0.28'),
    ('xtrans', '1.3.5'),
]


dependencies = [
    ('libX11', '1.6.3'),
    ('libXrender', '0.9.9'),
    ('freetype', '2.6.2'),
    ('fontconfig', '2.11.94'),
]

sanity_check_paths = {
    'files': ['lib/libXft.a'],
    'dirs': [],
}

moduleclass = 'vis'
