easyblock = 'ConfigureMake'

name = 'Pango'
version = '1.40.3'

homepage = 'http://www.pango.org/'
description = """Pango is a library for laying out and rendering of text, with an emphasis on internationalization.
Pango can be used anywhere that text layout is needed, though most of the work on Pango so far has been done in the
context of the GTK+ widget toolkit. Pango forms the core of text and font handling for GTK+-2.x."""

toolchain = {'name': 'dummy', 'version': ''}

source_urls = [FTPGNOME_SOURCE]
sources = [SOURCELOWER_TAR_XZ]

dependencies = [
    ('X11', '20160819'),
    ('GLib', '2.40.0'),
    ('cairo', '1.12.18'),
    ('HarfBuzz', '1.3.1'),
]

builddependencies = [('GObject-Introspection', '1.49.1')]

configopts = "--disable-silent-rules --enable-introspection=yes --enable-static --enable-shared "

modextrapaths = {
    'XDG_DATA_DIRS': 'share',
}

moduleclass = 'vis'
