name = 'Qt'
version = '4.8.7'

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

toolchain = {'name': 'intel', 'version': '2017.02'}
toolchainopts = {'cstd': 'gnu++98'}

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']

builddependencies = [
    ('pkg-config', '0.29.1'),
]

dependencies = [
    ('GLib', '2.52.0'),
    ('libpng', '1.6.29'),
    ('X11', '20170314'),
    ('libGLU', '9.0.0'),
]

moduleclass = 'devel'
