# IT4Innovation 2018

easyblock = 'EB_Qt'

name = 'Qt5'
version = '5.11.1'

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

toolchain = SYSTEM

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

patches = ['Qt5-5.11.1.patch']

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

# qtgamepad needs recent kernel/libevdev (fails on RHEL 6.x)
#configopts = '-sbkip qtgamepad'
platform = 'linux-g++-64'

dependencies = [
    ('GLib', '2.57.1'),
    ('libpng', '1.6.34'),
    ('X11', '20170314'),
    ('libGLU', '9.0.0'),
    ('Mesa', '18.3.1'),
]

moduleclass = 'devel'
