From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) by finch.gentoo.org (Postfix) with ESMTP id D902A1381FA for ; Wed, 4 Jun 2014 02:08:35 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 98E87E0BCC; Wed, 4 Jun 2014 02:08:32 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id D5309E0BCC for ; Wed, 4 Jun 2014 02:08:31 +0000 (UTC) Received: from spoonbill.gentoo.org (spoonbill.gentoo.org [81.93.255.5]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id A7BE533FDD0 for ; Wed, 4 Jun 2014 02:08:30 +0000 (UTC) Received: from localhost.localdomain (localhost [127.0.0.1]) by spoonbill.gentoo.org (Postfix) with ESMTP id 52D3C182D5 for ; Wed, 4 Jun 2014 02:08:29 +0000 (UTC) From: "Davide Pesavento" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Davide Pesavento" Message-ID: <1401847690.8bab5b6b3a2e6c87d048f43ad9264bcbc2883681.pesa@gentoo> Subject: [gentoo-commits] proj/qt:master commit in: eclass/ X-VCS-Repository: proj/qt X-VCS-Files: eclass/qt4-build-multilib.eclass X-VCS-Directories: eclass/ X-VCS-Committer: pesa X-VCS-Committer-Name: Davide Pesavento X-VCS-Revision: 8bab5b6b3a2e6c87d048f43ad9264bcbc2883681 X-VCS-Branch: master Date: Wed, 4 Jun 2014 02:08:29 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Archives-Salt: 7d385fd8-6d45-4be0-b19b-0c03d9a786e8 X-Archives-Hash: 990ea3ba6592524cd9b2ab9998ee2ce8 commit: 8bab5b6b3a2e6c87d048f43ad9264bcbc2883681 Author: Davide Pesavento gentoo org> AuthorDate: Wed Jun 4 02:08:10 2014 +0000 Commit: Davide Pesavento gentoo org> CommitDate: Wed Jun 4 02:08:10 2014 +0000 URL: http://git.overlays.gentoo.org/gitweb/?p=proj/qt.git;a=commit;h=8bab5b6b [qt4-build-multilib.eclass] Move eclass variables doc to the beginning. --- eclass/qt4-build-multilib.eclass | 58 +++++++++++++++++++++------------------- 1 file changed, 30 insertions(+), 28 deletions(-) diff --git a/eclass/qt4-build-multilib.eclass b/eclass/qt4-build-multilib.eclass index f674af6..5de1d45 100644 --- a/eclass/qt4-build-multilib.eclass +++ b/eclass/qt4-build-multilib.eclass @@ -53,6 +53,21 @@ DEPEND=" EXPORT_FUNCTIONS src_unpack src_prepare src_configure src_compile src_test src_install pkg_postinst pkg_postrm +# @ECLASS-VARIABLE: PATCHES +# @DEFAULT_UNSET +# @DESCRIPTION: +# Array variable containing all the patches to be applied. This variable +# is expected to be defined in the global scope of ebuilds. Make sure to +# specify the full path. This variable is used in src_prepare phase. +# +# Example: +# @CODE +# PATCHES=( +# "${FILESDIR}/mypatch.patch" +# "${FILESDIR}/mypatch2.patch" +# ) +# @CODE + # @ECLASS-VARIABLE: QT4_TARGET_DIRECTORIES # @DEFAULT_UNSET # @DESCRIPTION: @@ -64,6 +79,21 @@ EXPORT_FUNCTIONS src_unpack src_prepare src_configure src_compile src_test src_i # Set to false to reduce build output during compilation. : ${QT4_VERBOSE_BUILD:=true} +# @ECLASS-VARIABLE: QCONFIG_ADD +# @DEFAULT_UNSET +# @DESCRIPTION: +# List of options that must be added to QT_CONFIG in qconfig.pri + +# @ECLASS-VARIABLE: QCONFIG_REMOVE +# @DEFAULT_UNSET +# @DESCRIPTION: +# List of options that must be removed from QT_CONFIG in qconfig.pri + +# @ECLASS-VARIABLE: QCONFIG_DEFINE +# @DEFAULT_UNSET +# @DESCRIPTION: +# List of macros that must be defined in QtCore/qconfig.h + # @FUNCTION: qt4-build-multilib_src_unpack # @DESCRIPTION: # Unpacks the sources. @@ -93,19 +123,6 @@ qt4-build-multilib_src_unpack() { esac } -# @ECLASS-VARIABLE: PATCHES -# @DEFAULT_UNSET -# @DESCRIPTION: -# PATCHES array variable containing all various patches to be applied. -# This variable is expected to be defined in global scope of ebuild. -# Make sure to specify the full path. This variable is utilised in -# src_prepare() phase. -# -# @CODE -# PATCHES=( "${FILESDIR}/mypatch.patch" -# "${FILESDIR}/patches_folder/" ) -# @CODE - # @FUNCTION: qt4-build-multilib_src_prepare # @DESCRIPTION: # Prepare the sources before the configure phase. Strip CFLAGS if necessary, and fix @@ -521,21 +538,6 @@ qt4_qmake() { || die "qmake failed (${projectdir})" } -# @ECLASS-VARIABLE: QCONFIG_ADD -# @DESCRIPTION: -# List options that need to be added to QT_CONFIG in qconfig.pri -: ${QCONFIG_ADD:=} - -# @ECLASS-VARIABLE: QCONFIG_REMOVE -# @DESCRIPTION: -# List options that need to be removed from QT_CONFIG in qconfig.pri -: ${QCONFIG_REMOVE:=} - -# @ECLASS-VARIABLE: QCONFIG_DEFINE -# @DESCRIPTION: -# List variables that should be defined at the top of QtCore/qconfig.h -: ${QCONFIG_DEFINE:=} - # @FUNCTION: install_qconfigs # @INTERNAL # @DESCRIPTION: