1 |
commit: 0ecb7506f40d391f77911befc04a402a361b342d |
2 |
Author: Davide Pesavento <davidepesa <AT> gmail <DOT> com> |
3 |
AuthorDate: Thu Jun 5 09:44:54 2014 +0000 |
4 |
Commit: Davide Pesavento <pesa <AT> gentoo <DOT> org> |
5 |
CommitDate: Thu Jun 5 09:44:54 2014 +0000 |
6 |
URL: http://git.overlays.gentoo.org/gitweb/?p=proj/qt.git;a=commit;h=0ecb7506 |
7 |
|
8 |
[qt5-build.eclass] Remove unnecessary quoting. |
9 |
|
10 |
--- |
11 |
eclass/qt5-build.eclass | 22 +++++++++++----------- |
12 |
1 file changed, 11 insertions(+), 11 deletions(-) |
13 |
|
14 |
diff --git a/eclass/qt5-build.eclass b/eclass/qt5-build.eclass |
15 |
index 988eea1..0eeb787 100644 |
16 |
--- a/eclass/qt5-build.eclass |
17 |
+++ b/eclass/qt5-build.eclass |
18 |
@@ -61,7 +61,7 @@ EGIT_REPO_URI=( |
19 |
"git://gitorious.org/qt/${QT5_MODULE}.git" |
20 |
"https://git.gitorious.org/qt/${QT5_MODULE}.git" |
21 |
) |
22 |
-[[ ${QT5_BUILD_TYPE} == "live" ]] && inherit git-r3 |
23 |
+[[ ${QT5_BUILD_TYPE} == live ]] && inherit git-r3 |
24 |
|
25 |
IUSE="debug test" |
26 |
|
27 |
@@ -69,8 +69,8 @@ DEPEND=" |
28 |
>=dev-lang/perl-5.14 |
29 |
virtual/pkgconfig |
30 |
" |
31 |
-if [[ ${PN} != "qttest" ]]; then |
32 |
- if [[ ${QT5_MODULE} == "qtbase" ]]; then |
33 |
+if [[ ${PN} != qttest ]]; then |
34 |
+ if [[ ${QT5_MODULE} == qtbase ]]; then |
35 |
DEPEND+=" test? ( ~dev-qt/qttest-${PV}[debug=] )" |
36 |
else |
37 |
DEPEND+=" test? ( >=dev-qt/qttest-${PV}:5[debug=] )" |
38 |
@@ -158,7 +158,7 @@ qt5-build_src_unpack() { |
39 |
ewarn |
40 |
fi |
41 |
|
42 |
- if [[ ${PN} == "qtwebkit" ]]; then |
43 |
+ if [[ ${PN} == qtwebkit ]]; then |
44 |
eshopts_push -s extglob |
45 |
if is-flagq '-g?(gdb)?([1-9])'; then |
46 |
ewarn |
47 |
@@ -183,7 +183,7 @@ qt5-build_src_unpack() { |
48 |
qt5-build_src_prepare() { |
49 |
qt5_prepare_env |
50 |
|
51 |
- if [[ ${QT5_MODULE} == "qtbase" ]]; then |
52 |
+ if [[ ${QT5_MODULE} == qtbase ]]; then |
53 |
# Avoid unnecessary qmake recompilations |
54 |
sed -i -re "s|^if true;.*(\[ '\!').*(\"\\\$outpath/bin/qmake\".*)|if \1 -e \2 then|" \ |
55 |
configure || die "sed failed (skip qmake bootstrap)" |
56 |
@@ -220,7 +220,7 @@ qt5-build_src_prepare() { |
57 |
|| die "sed failed (config.tests)" |
58 |
fi |
59 |
|
60 |
- if [[ ${PN} != "qtcore" ]]; then |
61 |
+ if [[ ${PN} != qtcore ]]; then |
62 |
qt5_symlink_tools_to_buildtree |
63 |
fi |
64 |
|
65 |
@@ -241,7 +241,7 @@ qt5-build_src_configure() { |
66 |
mkdir -p "${QT5_BUILD_DIR}" || die |
67 |
pushd "${QT5_BUILD_DIR}" > /dev/null || die |
68 |
|
69 |
- if [[ ${QT5_MODULE} == "qtbase" ]]; then |
70 |
+ if [[ ${QT5_MODULE} == qtbase ]]; then |
71 |
qt5_base_configure |
72 |
fi |
73 |
|
74 |
@@ -294,7 +294,7 @@ qt5-build_src_test() { |
75 |
qt5-build_src_install() { |
76 |
qt5_foreach_target_subdir emake INSTALL_ROOT="${D}" install |
77 |
|
78 |
- if [[ ${PN} == "qtcore" ]]; then |
79 |
+ if [[ ${PN} == qtcore ]]; then |
80 |
pushd "${QT5_BUILD_DIR}" > /dev/null || die |
81 |
einfo "Running emake INSTALL_ROOT=${D} install_{mkspecs,qmake,syncqt}" |
82 |
emake INSTALL_ROOT="${D}" install_{mkspecs,qmake,syncqt} |
83 |
@@ -328,7 +328,7 @@ qt5-build_pkg_postinst() { |
84 |
# @DESCRIPTION: |
85 |
# Regenerate configuration when the package is completely removed. |
86 |
qt5-build_pkg_postrm() { |
87 |
- if [[ -z ${REPLACED_BY_VERSION} && ${PN} != "qtcore" ]]; then |
88 |
+ if [[ -z ${REPLACED_BY_VERSION} && ${PN} != qtcore ]]; then |
89 |
qt5_regenerate_global_qconfigs |
90 |
fi |
91 |
} |
92 |
@@ -392,7 +392,7 @@ qt5_prepare_env() { |
93 |
QT5_TESTSDIR=${QT5_DATADIR}/tests |
94 |
QT5_SYSCONFDIR=${EPREFIX}/etc/qt5 |
95 |
|
96 |
- if [[ ${QT5_MODULE} == "qtbase" ]]; then |
97 |
+ if [[ ${QT5_MODULE} == qtbase ]]; then |
98 |
# see mkspecs/features/qt_config.prf |
99 |
export QMAKEMODULES="${QT5_BUILD_DIR}/mkspecs/modules:${S}/mkspecs/modules:${QT5_ARCHDATADIR}/mkspecs/modules" |
100 |
fi |
101 |
@@ -524,7 +524,7 @@ qt5_foreach_target_subdir() { |
102 |
|
103 |
local subdir |
104 |
for subdir in "${QT5_TARGET_SUBDIRS[@]}"; do |
105 |
- if [[ ${EBUILD_PHASE} == "test" ]]; then |
106 |
+ if [[ ${EBUILD_PHASE} == test ]]; then |
107 |
subdir=tests/auto${subdir#src} |
108 |
[[ -d ${S}/${subdir} ]] || continue |
109 |
fi |