name = 'Qt'
version = '4.8.7'
glib = 'GLib'
glibver = '2.48.2'
glibsuffix = '-%s-%s' % (glib, glibver)
python = 'Python'
pyver = '2.7.11'
pysuffix = '-%s-%s' % (python, pyver)
versionsuffix = '%s%s' % (glibsuffix, pysuffix)

homepage = 'http://qt.io/'
description = "Qt is a comprehensive cross-platform C++ application framework."

toolchain = {'name': 'foss', 'version': '2015a'}

source_urls = [
    'http://download.qt.io/official_releases/qt/%(version_major_minor)s/%(version)s/',
    'http://download.qt.io/archive/qt/%(version_major_minor)s/%(version)s/'
]
sources = ['%(namelower)s-everywhere-opensource-src-%(version)s.tar.gz']

patches = ['Qt-%(version)s_phonon-export.patch']

dependencies = [
    ('GLib', '2.48.2'),
    ('X11', '20160819'),
]

moduleclass = 'devel'
