commit:     0b87664bd7a24f3b07117ec6cc059898b6a33aac
Author:     Davide Pesavento <pesa <AT> gentoo <DOT> org>
AuthorDate: Tue Feb 23 01:13:52 2016 +0000
Commit:     Davide Pesavento <pesa <AT> gentoo <DOT> org>
CommitDate: Tue Feb 23 01:13:52 2016 +0000
URL:        https://gitweb.gentoo.org/proj/qt.git/commit/?id=0b87664b

qt5-build.eclass: update licensing options for Qt 5.7

http://blog.qt.io/blog/2016/01/13/new-agreement-with-the-kde-free-qt-foundation/

 eclass/qt5-build.eclass | 9 +++++++--
 1 file changed, 7 insertions(+), 2 deletions(-)

diff --git a/eclass/qt5-build.eclass b/eclass/qt5-build.eclass
index c5eb32b..40f7424 100644
--- a/eclass/qt5-build.eclass
+++ b/eclass/qt5-build.eclass
@@ -1,4 +1,4 @@
-# Copyright 1999-2015 Gentoo Foundation
+# Copyright 1999-2016 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
 # $Id$
 
@@ -52,11 +52,16 @@ esac
 inherit eutils flag-o-matic toolchain-funcs versionator virtualx
 
 HOMEPAGE="https://www.qt.io/";
-LICENSE="|| ( LGPL-2.1 LGPL-3 ) FDL-1.3"
 
 QT5_MINOR_VERSION=$(get_version_component_range 2)
 readonly QT5_MINOR_VERSION
 
+if [[ ${QT5_MINOR_VERSION} -ge 7 ]]; then
+       LICENSE="|| ( GPL-2 GPL-3 LGPL-3 ) FDL-1.3"
+else
+       LICENSE="|| ( LGPL-2.1 LGPL-3 ) FDL-1.3"
+fi
+
 if [[ ${QT5_MINOR_VERSION} -ge 6 ]]; then
        SLOT=5/$(get_version_component_range 1-2)
 else

Reply via email to