1 |
commit: eab801ffe3289e8f3c245169e0d7d4cc98d17738 |
2 |
Author: Davide Pesavento <pesa <AT> gentoo <DOT> org> |
3 |
AuthorDate: Wed Aug 27 00:09:50 2014 +0000 |
4 |
Commit: Davide Pesavento <pesa <AT> gentoo <DOT> org> |
5 |
CommitDate: Wed Aug 27 00:09:50 2014 +0000 |
6 |
URL: http://sources.gentoo.org/gitweb/?p=proj/qt.git;a=commit;h=eab801ff |
7 |
|
8 |
[qt5-build.eclass] Update HOMEPAGE and LICENSE. |
9 |
|
10 |
--- |
11 |
eclass/qt5-build.eclass | 11 +++++++++-- |
12 |
1 file changed, 9 insertions(+), 2 deletions(-) |
13 |
|
14 |
diff --git a/eclass/qt5-build.eclass b/eclass/qt5-build.eclass |
15 |
index 4c81dea..6602383 100644 |
16 |
--- a/eclass/qt5-build.eclass |
17 |
+++ b/eclass/qt5-build.eclass |
18 |
@@ -19,8 +19,15 @@ esac |
19 |
|
20 |
inherit eutils flag-o-matic multilib toolchain-funcs virtualx |
21 |
|
22 |
-HOMEPAGE="http://qt-project.org/ http://qt.digia.com/" |
23 |
-LICENSE="|| ( LGPL-2.1 GPL-3 )" |
24 |
+QT5_MINOR_VERSION=${PV#*.} |
25 |
+QT5_MINOR_VERSION=${QT5_MINOR_VERSION%%.*} |
26 |
+ |
27 |
+HOMEPAGE="https://qt-project.org/" |
28 |
+if [[ ${QT5_MINOR_VERSION} -ge 4 ]]; then |
29 |
+ LICENSE="|| ( LGPL-2.1 LGPL-3 )" |
30 |
+else |
31 |
+ LICENSE="|| ( LGPL-2.1 GPL-3 )" |
32 |
+fi |
33 |
SLOT="5" |
34 |
|
35 |
# @ECLASS-VARIABLE: QT5_MODULE |