Gentoo Archives: gentoo-commits

From: Davide Pesavento <pesa@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: eclass/
Date: Tue, 02 Feb 2016 18:35:38
Message-Id: 1454438097.2098e9c2ea0756766cb1b4769c73592100655c62.pesa@gentoo
1 commit: 2098e9c2ea0756766cb1b4769c73592100655c62
2 Author: Davide Pesavento <pesa <AT> gentoo <DOT> org>
3 AuthorDate: Tue Feb 2 18:04:21 2016 +0000
4 Commit: Davide Pesavento <pesa <AT> gentoo <DOT> org>
5 CommitDate: Tue Feb 2 18:34:57 2016 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=2098e9c2
7
8 qt5-build.eclass: declare some variables readonly
9
10 eclass/qt5-build.eclass | 6 ++++++
11 1 file changed, 6 insertions(+)
12
13 diff --git a/eclass/qt5-build.eclass b/eclass/qt5-build.eclass
14 index 8665f3b..5315f6b 100644
15 --- a/eclass/qt5-build.eclass
16 +++ b/eclass/qt5-build.eclass
17 @@ -31,6 +31,7 @@ HOMEPAGE="https://www.qt.io/"
18 LICENSE="|| ( LGPL-2.1 LGPL-3 ) FDL-1.3"
19
20 QT5_MINOR_VERSION=$(get_version_component_range 2)
21 +readonly QT5_MINOR_VERSION
22
23 SLOT="5"
24
25 @@ -66,6 +67,7 @@ case ${PV} in
26 S=${WORKDIR}/${MY_P}
27 ;;
28 esac
29 +readonly QT5_BUILD_TYPE
30
31 EGIT_REPO_URI=(
32 "git://code.qt.io/qt/${QT5_MODULE}.git"
33 @@ -405,6 +407,10 @@ qt5_prepare_env() {
34 QT5_EXAMPLESDIR=${QT5_DATADIR}/examples
35 QT5_TESTSDIR=${QT5_DATADIR}/tests
36 QT5_SYSCONFDIR=${EPREFIX}/etc/xdg
37 + readonly QT5_PREFIX QT5_HEADERDIR QT5_LIBDIR QT5_ARCHDATADIR \
38 + QT5_BINDIR QT5_PLUGINDIR QT5_LIBEXECDIR QT5_IMPORTDIR \
39 + QT5_QMLDIR QT5_DATADIR QT5_DOCDIR QT5_TRANSLATIONDIR \
40 + QT5_EXAMPLESDIR QT5_TESTSDIR QT5_SYSCONFDIR
41
42 if [[ ${QT5_MODULE} == qtbase ]]; then
43 # see mkspecs/features/qt_config.prf