Gentoo Archives: gentoo-commits

From: Davide Pesavento <pesa@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] proj/qt:master commit in: eclass/
Date: Wed, 04 Jun 2014 02:08:35
Message-Id: 1401847690.8bab5b6b3a2e6c87d048f43ad9264bcbc2883681.pesa@gentoo
1 commit: 8bab5b6b3a2e6c87d048f43ad9264bcbc2883681
2 Author: Davide Pesavento <pesa <AT> gentoo <DOT> org>
3 AuthorDate: Wed Jun 4 02:08:10 2014 +0000
4 Commit: Davide Pesavento <pesa <AT> gentoo <DOT> org>
5 CommitDate: Wed Jun 4 02:08:10 2014 +0000
6 URL: http://git.overlays.gentoo.org/gitweb/?p=proj/qt.git;a=commit;h=8bab5b6b
7
8 [qt4-build-multilib.eclass] Move eclass variables doc to the beginning.
9
10 ---
11 eclass/qt4-build-multilib.eclass | 58 +++++++++++++++++++++-------------------
12 1 file changed, 30 insertions(+), 28 deletions(-)
13
14 diff --git a/eclass/qt4-build-multilib.eclass b/eclass/qt4-build-multilib.eclass
15 index f674af6..5de1d45 100644
16 --- a/eclass/qt4-build-multilib.eclass
17 +++ b/eclass/qt4-build-multilib.eclass
18 @@ -53,6 +53,21 @@ DEPEND="
19
20 EXPORT_FUNCTIONS src_unpack src_prepare src_configure src_compile src_test src_install pkg_postinst pkg_postrm
21
22 +# @ECLASS-VARIABLE: PATCHES
23 +# @DEFAULT_UNSET
24 +# @DESCRIPTION:
25 +# Array variable containing all the patches to be applied. This variable
26 +# is expected to be defined in the global scope of ebuilds. Make sure to
27 +# specify the full path. This variable is used in src_prepare phase.
28 +#
29 +# Example:
30 +# @CODE
31 +# PATCHES=(
32 +# "${FILESDIR}/mypatch.patch"
33 +# "${FILESDIR}/mypatch2.patch"
34 +# )
35 +# @CODE
36 +
37 # @ECLASS-VARIABLE: QT4_TARGET_DIRECTORIES
38 # @DEFAULT_UNSET
39 # @DESCRIPTION:
40 @@ -64,6 +79,21 @@ EXPORT_FUNCTIONS src_unpack src_prepare src_configure src_compile src_test src_i
41 # Set to false to reduce build output during compilation.
42 : ${QT4_VERBOSE_BUILD:=true}
43
44 +# @ECLASS-VARIABLE: QCONFIG_ADD
45 +# @DEFAULT_UNSET
46 +# @DESCRIPTION:
47 +# List of options that must be added to QT_CONFIG in qconfig.pri
48 +
49 +# @ECLASS-VARIABLE: QCONFIG_REMOVE
50 +# @DEFAULT_UNSET
51 +# @DESCRIPTION:
52 +# List of options that must be removed from QT_CONFIG in qconfig.pri
53 +
54 +# @ECLASS-VARIABLE: QCONFIG_DEFINE
55 +# @DEFAULT_UNSET
56 +# @DESCRIPTION:
57 +# List of macros that must be defined in QtCore/qconfig.h
58 +
59 # @FUNCTION: qt4-build-multilib_src_unpack
60 # @DESCRIPTION:
61 # Unpacks the sources.
62 @@ -93,19 +123,6 @@ qt4-build-multilib_src_unpack() {
63 esac
64 }
65
66 -# @ECLASS-VARIABLE: PATCHES
67 -# @DEFAULT_UNSET
68 -# @DESCRIPTION:
69 -# PATCHES array variable containing all various patches to be applied.
70 -# This variable is expected to be defined in global scope of ebuild.
71 -# Make sure to specify the full path. This variable is utilised in
72 -# src_prepare() phase.
73 -#
74 -# @CODE
75 -# PATCHES=( "${FILESDIR}/mypatch.patch"
76 -# "${FILESDIR}/patches_folder/" )
77 -# @CODE
78 -
79 # @FUNCTION: qt4-build-multilib_src_prepare
80 # @DESCRIPTION:
81 # Prepare the sources before the configure phase. Strip CFLAGS if necessary, and fix
82 @@ -521,21 +538,6 @@ qt4_qmake() {
83 || die "qmake failed (${projectdir})"
84 }
85
86 -# @ECLASS-VARIABLE: QCONFIG_ADD
87 -# @DESCRIPTION:
88 -# List options that need to be added to QT_CONFIG in qconfig.pri
89 -: ${QCONFIG_ADD:=}
90 -
91 -# @ECLASS-VARIABLE: QCONFIG_REMOVE
92 -# @DESCRIPTION:
93 -# List options that need to be removed from QT_CONFIG in qconfig.pri
94 -: ${QCONFIG_REMOVE:=}
95 -
96 -# @ECLASS-VARIABLE: QCONFIG_DEFINE
97 -# @DESCRIPTION:
98 -# List variables that should be defined at the top of QtCore/qconfig.h
99 -: ${QCONFIG_DEFINE:=}
100 -
101 # @FUNCTION: install_qconfigs
102 # @INTERNAL
103 # @DESCRIPTION: