# -*- coding: utf-8; mode: tcl; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- vim:fenc=utf-8:ft=tcl:et:sw=4:ts=4:sts=4
maintainers {mcalhoun @MarcusCalhoun-Lopez} openmaintainer
# for OpenSSLException, see source and header files in src/network/ssl of qtbase
license {LGPL-3 GPL-3 OpenSSLException}
set middle_name everywhere
if { ${subport} eq "${name}-qtwebkit" ||
${subport} eq "${name}-qtwebkit-examples" ||
${subport} eq "${name}-qtwebkit-docs" } {
set middle_name opensource
set just_want_qt5_variables yes
unset just_want_qt5_variables
# get Qt's version numbers
set branch [join [lrange [split ${version} .] 0 1] .]
set qt_major [lindex [split ${version} .] 0]
# see https://wiki.qt.io/New_Features_in_Qt_5.7
http://download.qt.io/official_releases/qt/${branch}/${version}/submodules
# file sizes are significantly smaller using xz
if { ${subport} ne ${name} && ${subport} ne "${name}-docs" } {
# conflict with all other version of qt5
foreach {qt_test_name qt_test_info} [array get available_qt_versions] {
if {${name} ne ${qt_test_name}} {
conflicts-append [lindex ${qt_test_info} 0]
############################################################################### Modules Not Considered
# No qtactiveqt (Windows Only)
# No qtandroidextras (Android Only)
# No qtwayland (Linux Only)
# No qtx11extras (X11 Only)
# No qtwinextras (Windows Only)
###############################################################################
############################################################################### Finding Dependencies