easyblock = 'ConfigureMake'

name = 'GTK+'
version = '3.24.7'
versionsuffix = '-Python-%(pyver)s'

homepage = 'https://developer.gnome.org/gtk3/stable/'
description = """
  The GTK+ 3 package contains libraries used for creating graphical user interfaces for applications.
"""

toolchain = {'name': 'foss', 'version': '2018b'}

source_urls = [FTPGNOME_SOURCE]
sources = [SOURCELOWER_TAR_XZ]
checksums = ['378d327eeb24580fcbc941003de547b9']

builddependencies = [
    ('GObject-Introspection', '1.54.1', versionsuffix),
    ('pkg-config', '0.29.2'),
]
dependencies = [
    ('Python', '3.6.6'),
    ('at-spi2-atk', '2.26.3'),
    ('Gdk-Pixbuf', '2.36.12', versionsuffix),
    ('Pango', '1.42.4', versionsuffix),
    ('libepoxy', '1.5.2'),
    ('FriBidi', '1.0.5'),
]

configopts = "--disable-silent-rules --disable-glibtest --enable-introspection=yes --disable-visibility "

moduleclass = 'vis'
