public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-commits] gentoo-x86 commit in eclass: qt4-r2.eclass
@ 2011-03-19 16:34 Tomas Chvatal (scarabeus)
  0 siblings, 0 replies; 14+ messages in thread
From: Tomas Chvatal (scarabeus) @ 2011-03-19 16:34 UTC (permalink / raw
  To: gentoo-commits

scarabeus    11/03/19 16:34:40

  Modified:             qt4-r2.eclass
  Log:
  Support eapi4. No new code required.

Revision  Changes    Path
1.11                 eclass/qt4-r2.eclass

file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/eclass/qt4-r2.eclass?rev=1.11&view=markup
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/eclass/qt4-r2.eclass?rev=1.11&content-type=text/plain
diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/eclass/qt4-r2.eclass?r1=1.10&r2=1.11

Index: qt4-r2.eclass
===================================================================
RCS file: /var/cvsroot/gentoo-x86/eclass/qt4-r2.eclass,v
retrieving revision 1.10
retrieving revision 1.11
diff -u -r1.10 -r1.11
--- qt4-r2.eclass	19 Mar 2011 15:02:47 -0000	1.10
+++ qt4-r2.eclass	19 Mar 2011 16:34:39 -0000	1.11
@@ -1,6 +1,6 @@
 # Copyright 1999-2010 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/eclass/qt4-r2.eclass,v 1.10 2011/03/19 15:02:47 scarabeus Exp $
+# $Header: /var/cvsroot/gentoo-x86/eclass/qt4-r2.eclass,v 1.11 2011/03/19 16:34:39 scarabeus Exp $
 
 # @ECLASS: qt4-r2.eclass
 # @MAINTAINER:
@@ -14,7 +14,7 @@
 # dealing with packages using Qt4 libraries. Requires EAPI=2.
 
 case ${EAPI} in
-	2|3) : ;;
+	2|3|4) : ;;
 	*) die "EAPI=${EAPI} is not supported" ;;
 esac
 






^ permalink raw reply	[flat|nested] 14+ messages in thread
* [gentoo-commits] gentoo-x86 commit in eclass: qt4-r2.eclass
@ 2014-11-01 23:48 Davide Pesavento (pesa)
  0 siblings, 0 replies; 14+ messages in thread
From: Davide Pesavento (pesa) @ 2014-11-01 23:48 UTC (permalink / raw
  To: gentoo-commits

pesa        14/11/01 23:48:16

  Modified:             qt4-r2.eclass
  Log:
  Fix indentation.

Revision  Changes    Path
1.31                 eclass/qt4-r2.eclass

file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/eclass/qt4-r2.eclass?rev=1.31&view=markup
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/eclass/qt4-r2.eclass?rev=1.31&content-type=text/plain
diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/eclass/qt4-r2.eclass?r1=1.30&r2=1.31

Index: qt4-r2.eclass
===================================================================
RCS file: /var/cvsroot/gentoo-x86/eclass/qt4-r2.eclass,v
retrieving revision 1.30
retrieving revision 1.31
diff -u -r1.30 -r1.31
--- qt4-r2.eclass	23 Jun 2014 08:53:48 -0000	1.30
+++ qt4-r2.eclass	1 Nov 2014 23:48:16 -0000	1.31
@@ -1,6 +1,6 @@
 # Copyright 1999-2014 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/eclass/qt4-r2.eclass,v 1.30 2014/06/23 08:53:48 pinkbyte Exp $
+# $Header: /var/cvsroot/gentoo-x86/eclass/qt4-r2.eclass,v 1.31 2014/11/01 23:48:16 pesa Exp $
 
 # @ECLASS: qt4-r2.eclass
 # @MAINTAINER:
@@ -69,10 +69,10 @@
 #
 # Example:
 # @CODE
-#   PATCHES=(
-#       "${FILESDIR}/mypatch.patch"
-#       "${FILESDIR}/mypatch2.patch"
-#   )
+# PATCHES=(
+# 	"${FILESDIR}/mypatch.patch"
+# 	"${FILESDIR}/mypatch2.patch"
+# )
 # @CODE
 
 # @FUNCTION: qt4-r2_src_unpack





^ permalink raw reply	[flat|nested] 14+ messages in thread
* [gentoo-commits] gentoo-x86 commit in eclass: qt4-r2.eclass
@ 2013-06-03  8:41 Davide Pesavento (pesa)
  0 siblings, 0 replies; 14+ messages in thread
From: Davide Pesavento (pesa) @ 2013-06-03  8:41 UTC (permalink / raw
  To: gentoo-commits

pesa        13/06/03 08:41:19

  Modified:             qt4-r2.eclass
  Log:
  Trivial sync with qt overlay.

Revision  Changes    Path
1.28                 eclass/qt4-r2.eclass

file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/eclass/qt4-r2.eclass?rev=1.28&view=markup
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/eclass/qt4-r2.eclass?rev=1.28&content-type=text/plain
diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/eclass/qt4-r2.eclass?r1=1.27&r2=1.28

Index: qt4-r2.eclass
===================================================================
RCS file: /var/cvsroot/gentoo-x86/eclass/qt4-r2.eclass,v
retrieving revision 1.27
retrieving revision 1.28
diff -u -r1.27 -r1.28
--- qt4-r2.eclass	3 Jun 2013 06:35:30 -0000	1.27
+++ qt4-r2.eclass	3 Jun 2013 08:41:19 -0000	1.28
@@ -1,6 +1,6 @@
 # Copyright 1999-2013 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/eclass/qt4-r2.eclass,v 1.27 2013/06/03 06:35:30 pesa Exp $
+# $Header: /var/cvsroot/gentoo-x86/eclass/qt4-r2.eclass,v 1.28 2013/06/03 08:41:19 pesa Exp $
 
 # @ECLASS: qt4-r2.eclass
 # @MAINTAINER:
@@ -158,13 +158,16 @@
 # than one project file are found, then ${PN}.pro is processed, provided
 # that it exists. Otherwise eqmake4 fails.
 #
-# All other arguments are appended unmodified to qmake command line. For
-# recursive build systems, i.e. those based on the subdirs template, you
-# should run eqmake4 on the top-level project file only, unless you have
-# strong reasons to do things differently. During the building, qmake
-# will be automatically re-invoked with the right arguments on every
-# directory specified inside the top-level project file.
+# All other arguments are appended unmodified to qmake command line.
+#
+# For recursive build systems, i.e. those based on the subdirs template,
+# you should run eqmake4 on the top-level project file only, unless you
+# have a valid reason to do otherwise. During the building, qmake will
+# be automatically re-invoked with the right arguments on every directory
+# specified inside the top-level project file.
 eqmake4() {
+	debug-print-function ${FUNCNAME} "$@"
+
 	[[ ${EAPI} == 2 ]] && use !prefix && EPREFIX=
 
 	ebegin "Running qmake"
@@ -179,7 +182,7 @@
 		if [[ -z ${project_file} ]]; then
 			echo
 			eerror "No project files found in '${PWD}'!"
-			eerror "This shouldn't happen - please send a bug report to http://bugs.gentoo.org/"
+			eerror "This shouldn't happen - please send a bug report to https://bugs.gentoo.org/"
 			echo
 			die "eqmake4 failed"
 		fi
@@ -276,7 +279,7 @@
 	if ! eend $? ; then
 		echo
 		eerror "Running qmake has failed! (see above for details)"
-		eerror "This shouldn't happen - please send a bug report to http://bugs.gentoo.org/"
+		eerror "This shouldn't happen - please send a bug report to https://bugs.gentoo.org/"
 		echo
 		die "eqmake4 failed"
 	fi





^ permalink raw reply	[flat|nested] 14+ messages in thread
* [gentoo-commits] gentoo-x86 commit in eclass: qt4-r2.eclass
@ 2013-06-03  6:35 Davide Pesavento (pesa)
  0 siblings, 0 replies; 14+ messages in thread
From: Davide Pesavento (pesa) @ 2013-06-03  6:35 UTC (permalink / raw
  To: gentoo-commits

pesa        13/06/03 06:35:30

  Modified:             qt4-r2.eclass
  Log:
  Clarify that only CONFIG processing is skipped.

Revision  Changes    Path
1.27                 eclass/qt4-r2.eclass

file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/eclass/qt4-r2.eclass?rev=1.27&view=markup
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/eclass/qt4-r2.eclass?rev=1.27&content-type=text/plain
diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/eclass/qt4-r2.eclass?r1=1.26&r2=1.27

Index: qt4-r2.eclass
===================================================================
RCS file: /var/cvsroot/gentoo-x86/eclass/qt4-r2.eclass,v
retrieving revision 1.26
retrieving revision 1.27
diff -u -r1.26 -r1.27
--- qt4-r2.eclass	3 Jun 2013 06:20:53 -0000	1.26
+++ qt4-r2.eclass	3 Jun 2013 06:35:30 -0000	1.27
@@ -1,6 +1,6 @@
 # Copyright 1999-2013 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/eclass/qt4-r2.eclass,v 1.26 2013/06/03 06:20:53 pesa Exp $
+# $Header: /var/cvsroot/gentoo-x86/eclass/qt4-r2.eclass,v 1.27 2013/06/03 06:35:30 pesa Exp $
 
 # @ECLASS: qt4-r2.eclass
 # @MAINTAINER:
@@ -145,7 +145,7 @@
 # @VARIABLE: EQMAKE4_EXCLUDE
 # @DEFAULT_UNSET
 # @DESCRIPTION:
-# List of files to be excluded from eqmake4 processing.
+# List of files to be excluded from eqmake4 CONFIG processing.
 # Paths are relative to the current working directory (usually ${S}).
 #
 # Example: EQMAKE4_EXCLUDE="ignore/me.pro foo/*"





^ permalink raw reply	[flat|nested] 14+ messages in thread
* [gentoo-commits] gentoo-x86 commit in eclass: qt4-r2.eclass
@ 2011-12-28 10:57 Davide Pesavento (pesa)
  0 siblings, 0 replies; 14+ messages in thread
From: Davide Pesavento (pesa) @ 2011-12-28 10:57 UTC (permalink / raw
  To: gentoo-commits

pesa        11/12/28 10:57:38

  Modified:             qt4-r2.eclass
  Log:
  Fix regression with DOCS and non-default ${S}, bug #396227.

Revision  Changes    Path
1.16                 eclass/qt4-r2.eclass

file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/eclass/qt4-r2.eclass?rev=1.16&view=markup
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/eclass/qt4-r2.eclass?rev=1.16&content-type=text/plain
diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/eclass/qt4-r2.eclass?r1=1.15&r2=1.16

Index: qt4-r2.eclass
===================================================================
RCS file: /var/cvsroot/gentoo-x86/eclass/qt4-r2.eclass,v
retrieving revision 1.15
retrieving revision 1.16
diff -u -r1.15 -r1.16
--- qt4-r2.eclass	26 Dec 2011 11:47:47 -0000	1.15
+++ qt4-r2.eclass	28 Dec 2011 10:57:38 -0000	1.16
@@ -1,6 +1,6 @@
 # Copyright 1999-2011 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/eclass/qt4-r2.eclass,v 1.15 2011/12/26 11:47:47 pesa Exp $
+# $Header: /var/cvsroot/gentoo-x86/eclass/qt4-r2.eclass,v 1.16 2011/12/28 10:57:38 pesa Exp $
 
 # @ECLASS: qt4-r2.eclass
 # @MAINTAINER:
@@ -128,7 +128,6 @@
 # @ECLASS-VARIABLE: DOCSDIR
 # @DESCRIPTION:
 # Directory containing documentation, defaults to ${S}.
-DOCSDIR="${DOCSDIR:-${S}}"
 
 # @FUNCTION: qt4-r2_src_install
 # @DESCRIPTION:
@@ -140,9 +139,9 @@
 	emake INSTALL_ROOT="${D}" DESTDIR="${D}" install || die "emake install failed"
 
 	# install documentation
-	local doc
+	local doc dir="${DOCSDIR:-${S}}"
 	for doc in ${DOCS}; do
-		dodoc "${DOCSDIR}/${doc}" || die "dodoc failed"
+		dodoc "${dir}/${doc}" || die "dodoc failed"
 	done
 }
 






^ permalink raw reply	[flat|nested] 14+ messages in thread
* [gentoo-commits] gentoo-x86 commit in eclass: qt4-r2.eclass
@ 2011-12-26 11:47 Davide Pesavento (pesa)
  0 siblings, 0 replies; 14+ messages in thread
From: Davide Pesavento (pesa) @ 2011-12-26 11:47 UTC (permalink / raw
  To: gentoo-commits

pesa        11/12/26 11:47:47

  Modified:             qt4-r2.eclass
  Log:
  Improve eclass doc.

Revision  Changes    Path
1.15                 eclass/qt4-r2.eclass

file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/eclass/qt4-r2.eclass?rev=1.15&view=markup
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/eclass/qt4-r2.eclass?rev=1.15&content-type=text/plain
diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/eclass/qt4-r2.eclass?r1=1.14&r2=1.15

Index: qt4-r2.eclass
===================================================================
RCS file: /var/cvsroot/gentoo-x86/eclass/qt4-r2.eclass,v
retrieving revision 1.14
retrieving revision 1.15
diff -u -r1.14 -r1.15
--- qt4-r2.eclass	12 Nov 2011 20:46:39 -0000	1.14
+++ qt4-r2.eclass	26 Dec 2011 11:47:47 -0000	1.15
@@ -1,6 +1,6 @@
 # Copyright 1999-2011 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/eclass/qt4-r2.eclass,v 1.14 2011/11/12 20:46:39 pesa Exp $
+# $Header: /var/cvsroot/gentoo-x86/eclass/qt4-r2.eclass,v 1.15 2011/12/26 11:47:47 pesa Exp $
 
 # @ECLASS: qt4-r2.eclass
 # @MAINTAINER:
@@ -11,8 +11,8 @@
 # dealing with packages using Qt4 libraries. Requires EAPI=2 or later.
 
 case ${EAPI} in
-	2|3|4) : ;;
-	*) die "EAPI=${EAPI} is not supported by ${ECLASS} eclass." ;;
+	2|3|4)	: ;;
+	*)	die "EAPI=${EAPI} is not supported by ${ECLASS} eclass." ;;
 esac
 
 inherit base eutils multilib toolchain-funcs
@@ -20,19 +20,24 @@
 export XDG_CONFIG_HOME="${T}"
 
 # @ECLASS-VARIABLE: LANGS
+# @DEFAULT_UNSET
 # @DESCRIPTION:
 # In case your Qt4 application provides various translations, use this variable
 # to specify them in order to populate "linguas_*" IUSE automatically. Make sure
-# that you set this variable BEFORE inheriting qt4-r2 eclass.
-# example: LANGS="en el de"
+# that you set this variable before inheriting qt4-r2 eclass.
+# Example:
+# @CODE
+#   LANGS="en el de"
+# @CODE
 for x in ${LANGS}; do
 	IUSE="${IUSE} linguas_${x}"
 done
 
 # @ECLASS-VARIABLE: LANGSLONG
+# @DEFAULT_UNSET
 # @DESCRIPTION:
 # Same as above, but this variable is for LINGUAS that must be in long format.
-# Remember to set this variable BEFORE inheriting qt4-r2 eclass.
+# Remember to set this variable before inheriting qt4-r2 eclass.
 # Look at ${PORTDIR}/profiles/desc/linguas.desc for details.
 for x in ${LANGSLONG}; do
 	IUSE="${IUSE} linguas_${x%_*}"
@@ -63,12 +68,15 @@
 }
 
 # @ECLASS-VARIABLE: PATCHES
+# @DEFAULT_UNSET
 # @DESCRIPTION:
-# In case you have patches to apply, specify them in PATCHES variable. Make sure
-# to specify the full path. This variable is used in src_prepare phase.
-# example:
-# PATCHES=( "${FILESDIR}"/mypatch.patch
-# 	"${FILESDIR}"/mypatch2.patch )
+# In case you have patches to apply, specify them here. 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
 
 # @FUNCTION: qt4-r2_src_prepare
 # @DESCRIPTION:
@@ -109,32 +117,33 @@
 }
 
 # @ECLASS-VARIABLE: DOCS
+# @DEFAULT_UNSET
 # @DESCRIPTION:
 # Use this variable if you want to install any documentation.
-# example: DOCS="README AUTHORS"
+# Example:
+# @CODE
+#   DOCS="README AUTHORS"
+# @CODE
 
 # @ECLASS-VARIABLE: DOCSDIR
 # @DESCRIPTION:
-# Directory containing documentation. If not specified, ${S} will be used
-# instead.
+# Directory containing documentation, defaults to ${S}.
+DOCSDIR="${DOCSDIR:-${S}}"
 
 # @FUNCTION: qt4-r2_src_install
 # @DESCRIPTION:
-# Default src_install function for qt4-based packages. Installs compiled code,
-# documentation (via DOCS variable) and translations (via LANGS and
-# LANGSLONG variables).
+# Default src_install function for qt4-based packages. Installs compiled code
+# and misc documentation (via DOCS variable).
 qt4-r2_src_install() {
 	debug-print-function $FUNCNAME "$@"
 
 	emake INSTALL_ROOT="${D}" DESTDIR="${D}" install || die "emake install failed"
 
 	# install documentation
-	if [[ -n ${DOCS} ]]; then
-		local dir=${DOCSDIR:-${S}}
-		for doc in ${DOCS}; do
-			dodoc "${dir}/${doc}" || die "dodoc failed"
-		done
-	fi
+	local doc
+	for doc in ${DOCS}; do
+		dodoc "${DOCSDIR}/${doc}" || die "dodoc failed"
+	done
 }
 
 # Internal function, used by eqmake4 and qt4-r2_src_configure
@@ -167,19 +176,19 @@
 }
 
 # @FUNCTION: eqmake4
-# @USAGE: [project file] [parameters to qmake]
+# @USAGE: [project_file] [parameters to qmake]
 # @DESCRIPTION:
-# Wrapper for Qt4's qmake. If project file isn't specified eqmake4 will
-# look for it in current directory (${S}, non-recursively). If more than
-# one project file is found, the ${PN}.pro is processed, provided that it
-# exists. Otherwise eqmake4 fails.
-# All the arguments are appended unmodified to qmake command line. For
+# Wrapper for Qt4's qmake. If project_file isn't specified, eqmake4 will
+# look for it in the current directory (${S}, non-recursively). If more
+# than one project file are found, then ${PN}.pro is processed, provided
+# that it exists. Otherwise eqmake4 fails.
+#
+# All other arguments are appended unmodified to qmake command line. For
 # recursive build systems, i.e. those based on the subdirs template, you
 # should run eqmake4 on the top-level project file only, unless you have
 # strong reasons to do things differently. During the building, qmake
 # will be automatically re-invoked with the right arguments on every
-# directory specified inside the top-level project file by the SUBDIRS
-# variable.
+# directory specified inside the top-level project file.
 eqmake4() {
 	ebegin "Running qmake"
 






^ permalink raw reply	[flat|nested] 14+ messages in thread
* [gentoo-commits] gentoo-x86 commit in eclass: qt4-r2.eclass
@ 2010-12-30 23:46 Theo Chatzimichos (tampakrap)
  0 siblings, 0 replies; 14+ messages in thread
From: Theo Chatzimichos (tampakrap) @ 2010-12-30 23:46 UTC (permalink / raw
  To: gentoo-commits

tampakrap    10/12/30 23:46:39

  Modified:             qt4-r2.eclass
  Log:
  remove -nocache from qmake invocation because Davide threatened me to do it, actual proof in bug 349805

Revision  Changes    Path
1.9                  eclass/qt4-r2.eclass

file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/eclass/qt4-r2.eclass?rev=1.9&view=markup
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/eclass/qt4-r2.eclass?rev=1.9&content-type=text/plain
diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/eclass/qt4-r2.eclass?r1=1.8&r2=1.9

Index: qt4-r2.eclass
===================================================================
RCS file: /var/cvsroot/gentoo-x86/eclass/qt4-r2.eclass,v
retrieving revision 1.8
retrieving revision 1.9
diff -u -r1.8 -r1.9
--- qt4-r2.eclass	14 Aug 2010 18:00:38 -0000	1.8
+++ qt4-r2.eclass	30 Dec 2010 23:46:39 -0000	1.9
@@ -1,6 +1,6 @@
 # Copyright 1999-2010 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/eclass/qt4-r2.eclass,v 1.8 2010/08/14 18:00:38 hwoarang Exp $
+# $Header: /var/cvsroot/gentoo-x86/eclass/qt4-r2.eclass,v 1.9 2010/12/30 23:46:39 tampakrap Exp $
 
 # @ECLASS: qt4-r2.eclass
 # @MAINTAINER:
@@ -245,7 +245,7 @@
 	[[ ${EAPI} == 2 ]] && use !prefix && EPREFIX=
 
 	"${EPREFIX}"/usr/bin/qmake \
-		-makefile -nocache \
+		-makefile \
 		-config ${CONFIG_ADD} \
 		QTDIR="${EPREFIX}"/usr/$(get_libdir) \
 		QMAKE="${EPREFIX}"/usr/bin/qmake \






^ permalink raw reply	[flat|nested] 14+ messages in thread
* [gentoo-commits] gentoo-x86 commit in eclass: qt4-r2.eclass
@ 2010-07-31 14:40 Markos Chandras (hwoarang)
  0 siblings, 0 replies; 14+ messages in thread
From: Markos Chandras (hwoarang) @ 2010-07-31 14:40 UTC (permalink / raw
  To: gentoo-commits

hwoarang    10/07/31 14:40:15

  Modified:             qt4-r2.eclass
  Log:
  Adding -config option to eqmake4. Bug #328457. Thanks to Davide Pesavento for
  the patch

Revision  Changes    Path
1.7                  eclass/qt4-r2.eclass

file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/eclass/qt4-r2.eclass?rev=1.7&view=markup
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/eclass/qt4-r2.eclass?rev=1.7&content-type=text/plain
diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/eclass/qt4-r2.eclass?r1=1.6&r2=1.7

Index: qt4-r2.eclass
===================================================================
RCS file: /var/cvsroot/gentoo-x86/eclass/qt4-r2.eclass,v
retrieving revision 1.6
retrieving revision 1.7
diff -u -r1.6 -r1.7
--- qt4-r2.eclass	15 Apr 2010 06:51:08 -0000	1.6
+++ qt4-r2.eclass	31 Jul 2010 14:40:14 -0000	1.7
@@ -1,6 +1,6 @@
 # Copyright 1999-2010 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/eclass/qt4-r2.eclass,v 1.6 2010/04/15 06:51:08 abcd Exp $
+# $Header: /var/cvsroot/gentoo-x86/eclass/qt4-r2.eclass,v 1.7 2010/07/31 14:40:14 hwoarang Exp $
 
 # @ECLASS: qt4-r2.eclass
 # @MAINTAINER:
@@ -244,7 +244,9 @@
 
 	[[ ${EAPI} == 2 ]] && use !prefix && EPREFIX=
 
-	"${EPREFIX}"/usr/bin/qmake -makefile -nocache \
+	"${EPREFIX}"/usr/bin/qmake \
+		-makefile -nocache \
+		-config ${CONFIG_ADD} \
 		QTDIR="${EPREFIX}"/usr/$(get_libdir) \
 		QMAKE="${EPREFIX}"/usr/bin/qmake \
 		QMAKE_CC=$(tc-getCC) \






^ permalink raw reply	[flat|nested] 14+ messages in thread
* [gentoo-commits] gentoo-x86 commit in eclass: qt4-r2.eclass
@ 2010-04-15  6:51 Jonathan Callen (abcd)
  0 siblings, 0 replies; 14+ messages in thread
From: Jonathan Callen (abcd) @ 2010-04-15  6:51 UTC (permalink / raw
  To: gentoo-commits

abcd        10/04/15 06:51:08

  Modified:             qt4-r2.eclass
  Log:
  Fix eqmake4 when passed args with spaces

Revision  Changes    Path
1.6                  eclass/qt4-r2.eclass

file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/eclass/qt4-r2.eclass?rev=1.6&view=markup
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/eclass/qt4-r2.eclass?rev=1.6&content-type=text/plain
diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/eclass/qt4-r2.eclass?r1=1.5&r2=1.6

Index: qt4-r2.eclass
===================================================================
RCS file: /var/cvsroot/gentoo-x86/eclass/qt4-r2.eclass,v
retrieving revision 1.5
retrieving revision 1.6
diff -u -r1.5 -r1.6
--- qt4-r2.eclass	18 Mar 2010 11:43:55 -0000	1.5
+++ qt4-r2.eclass	15 Apr 2010 06:51:08 -0000	1.6
@@ -1,6 +1,6 @@
 # Copyright 1999-2010 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/eclass/qt4-r2.eclass,v 1.5 2010/03/18 11:43:55 hwoarang Exp $
+# $Header: /var/cvsroot/gentoo-x86/eclass/qt4-r2.eclass,v 1.6 2010/04/15 06:51:08 abcd Exp $
 
 # @ECLASS: qt4-r2.eclass
 # @MAINTAINER:
@@ -180,7 +180,7 @@
 eqmake4() {
 	ebegin "Running qmake"
 
-	local qmake_args="$@"
+	local qmake_args=("$@")
 
 	# check if project file was passed as a first argument
 	# if not, then search for it
@@ -194,7 +194,7 @@
 			echo
 			die "eqmake4 failed"
 		fi
-		qmake_args="${qmake_args} ${project_file}"
+		qmake_args+=("${project_file}")
 	fi
 
 	# make sure CONFIG variable is correctly set for both release and debug builds
@@ -260,7 +260,7 @@
 		QMAKE_LIBDIR_X11="${EPREFIX}"/usr/$(get_libdir) \
 		QMAKE_LIBDIR_OPENGL="${EPREFIX}"/usr/$(get_libdir) \
 		QMAKE_STRIP= \
-		${qmake_args}
+		"${qmake_args[@]}"
 
 	# was qmake successful?
 	if ! eend $? ; then






^ permalink raw reply	[flat|nested] 14+ messages in thread
* [gentoo-commits] gentoo-x86 commit in eclass: qt4-r2.eclass
@ 2010-03-18 11:43 Markos Chandras (hwoarang)
  0 siblings, 0 replies; 14+ messages in thread
From: Markos Chandras (hwoarang) @ 2010-03-18 11:43 UTC (permalink / raw
  To: gentoo-commits

hwoarang    10/03/18 11:43:55

  Modified:             qt4-r2.eclass
  Log:
  Define QMAKE_LIBDIR variables. Fixes bug #304975

Revision  Changes    Path
1.5                  eclass/qt4-r2.eclass

file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/eclass/qt4-r2.eclass?rev=1.5&view=markup
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/eclass/qt4-r2.eclass?rev=1.5&content-type=text/plain
diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/eclass/qt4-r2.eclass?r1=1.4&r2=1.5

Index: qt4-r2.eclass
===================================================================
RCS file: /var/cvsroot/gentoo-x86/eclass/qt4-r2.eclass,v
retrieving revision 1.4
retrieving revision 1.5
diff -u -r1.4 -r1.5
--- qt4-r2.eclass	19 Feb 2010 20:54:05 -0000	1.4
+++ qt4-r2.eclass	18 Mar 2010 11:43:55 -0000	1.5
@@ -1,6 +1,6 @@
 # Copyright 1999-2010 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/eclass/qt4-r2.eclass,v 1.4 2010/02/19 20:54:05 ayoy Exp $
+# $Header: /var/cvsroot/gentoo-x86/eclass/qt4-r2.eclass,v 1.5 2010/03/18 11:43:55 hwoarang Exp $
 
 # @ECLASS: qt4-r2.eclass
 # @MAINTAINER:
@@ -256,6 +256,9 @@
 		QMAKE_CXXFLAGS_DEBUG="${CXXFLAGS}" \
 		QMAKE_LFLAGS_RELEASE="${LDFLAGS}" \
 		QMAKE_LFLAGS_DEBUG="${LDFLAGS}" \
+		QMAKE_LIBDIR_QT="${EPREFIX}"/usr/$(get_libdir)/qt4 \
+		QMAKE_LIBDIR_X11="${EPREFIX}"/usr/$(get_libdir) \
+		QMAKE_LIBDIR_OPENGL="${EPREFIX}"/usr/$(get_libdir) \
 		QMAKE_STRIP= \
 		${qmake_args}
 






^ permalink raw reply	[flat|nested] 14+ messages in thread
* [gentoo-commits] gentoo-x86 commit in eclass: qt4-r2.eclass
@ 2010-02-19 20:54 Dominik Kapusta (ayoy)
  0 siblings, 0 replies; 14+ messages in thread
From: Dominik Kapusta (ayoy) @ 2010-02-19 20:54 UTC (permalink / raw
  To: gentoo-commits

ayoy        10/02/19 20:54:05

  Modified:             qt4-r2.eclass
  Log:
  Don't reset QMAKE_RPATH by default in eqmake4

Revision  Changes    Path
1.4                  eclass/qt4-r2.eclass

file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/eclass/qt4-r2.eclass?rev=1.4&view=markup
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/eclass/qt4-r2.eclass?rev=1.4&content-type=text/plain
diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/eclass/qt4-r2.eclass?r1=1.3&r2=1.4

Index: qt4-r2.eclass
===================================================================
RCS file: /var/cvsroot/gentoo-x86/eclass/qt4-r2.eclass,v
retrieving revision 1.3
retrieving revision 1.4
diff -u -r1.3 -r1.4
--- qt4-r2.eclass	21 Jan 2010 19:11:31 -0000	1.3
+++ qt4-r2.eclass	19 Feb 2010 20:54:05 -0000	1.4
@@ -1,6 +1,6 @@
 # Copyright 1999-2010 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/eclass/qt4-r2.eclass,v 1.3 2010/01/21 19:11:31 spatz Exp $
+# $Header: /var/cvsroot/gentoo-x86/eclass/qt4-r2.eclass,v 1.4 2010/02/19 20:54:05 ayoy Exp $
 
 # @ECLASS: qt4-r2.eclass
 # @MAINTAINER:
@@ -256,7 +256,6 @@
 		QMAKE_CXXFLAGS_DEBUG="${CXXFLAGS}" \
 		QMAKE_LFLAGS_RELEASE="${LDFLAGS}" \
 		QMAKE_LFLAGS_DEBUG="${LDFLAGS}" \
-		QMAKE_RPATH= \
 		QMAKE_STRIP= \
 		${qmake_args}
 






^ permalink raw reply	[flat|nested] 14+ messages in thread
* [gentoo-commits] gentoo-x86 commit in eclass: qt4-r2.eclass
@ 2010-01-21 19:11 Dror Levin (spatz)
  0 siblings, 0 replies; 14+ messages in thread
From: Dror Levin (spatz) @ 2010-01-21 19:11 UTC (permalink / raw
  To: gentoo-commits

spatz       10/01/21 19:11:31

  Modified:             qt4-r2.eclass
  Log:
  Support EAPI3 in qt4-r2.eclass

Revision  Changes    Path
1.3                  eclass/qt4-r2.eclass

file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/eclass/qt4-r2.eclass?rev=1.3&view=markup
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/eclass/qt4-r2.eclass?rev=1.3&content-type=text/plain
diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/eclass/qt4-r2.eclass?r1=1.2&r2=1.3

Index: qt4-r2.eclass
===================================================================
RCS file: /var/cvsroot/gentoo-x86/eclass/qt4-r2.eclass,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -r1.2 -r1.3
--- qt4-r2.eclass	14 Jan 2010 21:25:17 -0000	1.2
+++ qt4-r2.eclass	21 Jan 2010 19:11:31 -0000	1.3
@@ -1,6 +1,6 @@
 # Copyright 1999-2010 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/eclass/qt4-r2.eclass,v 1.2 2010/01/14 21:25:17 abcd Exp $
+# $Header: /var/cvsroot/gentoo-x86/eclass/qt4-r2.eclass,v 1.3 2010/01/21 19:11:31 spatz Exp $
 
 # @ECLASS: qt4-r2.eclass
 # @MAINTAINER:
@@ -14,7 +14,7 @@
 # dealing with packages using Qt4 libraries. Requires EAPI=2.
 
 case ${EAPI} in
-	2) : ;;
+	2|3) : ;;
 	*) DEPEND="EAPI-INCOMPATIBLE" ;;
 esac
 






^ permalink raw reply	[flat|nested] 14+ messages in thread
* [gentoo-commits] gentoo-x86 commit in eclass: qt4-r2.eclass
@ 2010-01-14 21:25 Jonathan Callen (abcd)
  0 siblings, 0 replies; 14+ messages in thread
From: Jonathan Callen (abcd) @ 2010-01-14 21:25 UTC (permalink / raw
  To: gentoo-commits

abcd        10/01/14 21:25:17

  Modified:             qt4-r2.eclass
  Log:
  Add prefix support to qt4-r2.eclass

Revision  Changes    Path
1.2                  eclass/qt4-r2.eclass

file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/eclass/qt4-r2.eclass?rev=1.2&view=markup
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/eclass/qt4-r2.eclass?rev=1.2&content-type=text/plain
diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/eclass/qt4-r2.eclass?r1=1.1&r2=1.2

Index: qt4-r2.eclass
===================================================================
RCS file: /var/cvsroot/gentoo-x86/eclass/qt4-r2.eclass,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- qt4-r2.eclass	15 Dec 2009 16:32:43 -0000	1.1
+++ qt4-r2.eclass	14 Jan 2010 21:25:17 -0000	1.2
@@ -1,6 +1,6 @@
-# Copyright 2009 Gentoo Foundation
+# Copyright 1999-2010 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/eclass/qt4-r2.eclass,v 1.1 2009/12/15 16:32:43 ayoy Exp $
+# $Header: /var/cvsroot/gentoo-x86/eclass/qt4-r2.eclass,v 1.2 2010/01/14 21:25:17 abcd Exp $
 
 # @ECLASS: qt4-r2.eclass
 # @MAINTAINER:
@@ -242,9 +242,11 @@
 		fi
 	done < <(find . -type f -name "*.pr[io]" -printf '%P\n' 2>/dev/null)
 
-	/usr/bin/qmake -makefile -nocache \
-		QTDIR=/usr/$(get_libdir) \
-		QMAKE=/usr/bin/qmake \
+	[[ ${EAPI} == 2 ]] && use !prefix && EPREFIX=
+
+	"${EPREFIX}"/usr/bin/qmake -makefile -nocache \
+		QTDIR="${EPREFIX}"/usr/$(get_libdir) \
+		QMAKE="${EPREFIX}"/usr/bin/qmake \
 		QMAKE_CC=$(tc-getCC) \
 		QMAKE_CXX=$(tc-getCXX) \
 		QMAKE_LINK=$(tc-getCXX) \






^ permalink raw reply	[flat|nested] 14+ messages in thread
* [gentoo-commits] gentoo-x86 commit in eclass: qt4-r2.eclass
@ 2009-12-15 16:32 Dominik Kapusta (ayoy)
  0 siblings, 0 replies; 14+ messages in thread
From: Dominik Kapusta (ayoy) @ 2009-12-15 16:32 UTC (permalink / raw
  To: gentoo-commits

ayoy        09/12/15 16:32:43

  Added:                qt4-r2.eclass
  Log:
  Initial commit of qt4-r2.eclass

Revision  Changes    Path
1.1                  eclass/qt4-r2.eclass

file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/eclass/qt4-r2.eclass?rev=1.1&view=markup
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/eclass/qt4-r2.eclass?rev=1.1&content-type=text/plain

Index: qt4-r2.eclass
===================================================================
# Copyright 2009 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/eclass/qt4-r2.eclass,v 1.1 2009/12/15 16:32:43 ayoy Exp $

# @ECLASS: qt4-r2.eclass
# @MAINTAINER:
# Ben de Groot <yngwin@gentoo.org>,
# Markos Chandras <hwoarang@gentoo.org>,
# Davide Pesavento <davidepesa@gmail.com>,
# Dominik Kapusta <ayoy@gentoo.org>
# @BLURB: Eclass for Qt4 packages, second edition
# @DESCRIPTION:
# This eclass contains various functions that may be useful when
# dealing with packages using Qt4 libraries. Requires EAPI=2.

case ${EAPI} in
	2) : ;;
	*) DEPEND="EAPI-INCOMPATIBLE" ;;
esac

inherit base eutils multilib toolchain-funcs

export XDG_CONFIG_HOME="${T}"

# @ECLASS-VARIABLE: LANGS
# @DESCRIPTION:
# In case your Qt4 application provides various translations, use this variable
# to specify them in order to populate "linguas_*" IUSE automatically. Make sure
# that you set this variable BEFORE inheriting qt4-r2 eclass.
# example: LANGS="en el de"
for x in ${LANGS}; do
	IUSE="${IUSE} linguas_${x}"
done

# @ECLASS-VARIABLE: LANGSLONG
# @DESCRIPTION:
# Same as above, but this variable is for LINGUAS that must be in long format.
# Remember to set this variable BEFORE inheriting qt4-r2 eclass.
# Look at ${PORTDIR}/profiles/desc/linguas.desc for details.
for x in ${LANGSLONG}; do
	IUSE="${IUSE} linguas_${x%_*}"
done

# @FUNCTION: qt4-r2_src_unpack
# @DESCRIPTION:
# Default src_unpack function for packages that depend on qt4. If you have to
# override src_unpack in your ebuild (probably you don't need to), call
# qt4-r2_src_unpack in it.
qt4-r2_src_unpack() {
	debug-print-function $FUNCNAME "$@"
	base_src_unpack "$@"

	# Fallback to ${WORKDIR}/${MY_P} when ${WORKDIR}/${P} doesn't exist.
	# Feel free to re-implement this
	if [[ "${S}" == "${WORKDIR}/${P}" && ! -d ${S} && -d ${WORKDIR}/${MY_P} ]]; then
		ewarn "Falling back to '${WORKDIR}/${MY_P}'"
		S="${WORKDIR}/${MY_P}"
	fi
}

# @ECLASS-VARIABLE: PATCHES
# @DESCRIPTION:
# In case you have patches to apply, specify them in PATCHES variable. Make sure
# to specify the full path. This variable is used in src_prepare phase.
# example:
# PATCHES=( "${FILESDIR}"/mypatch.patch
# 	"${FILESDIR}"/mypatch2.patch )
#
# @FUNCTION: qt4-r2_src_prepare
# @DESCRIPTION:
# Default src_prepare function for packages that depend on qt4. If you have to
# override src_prepare in your ebuild, you should call qt4-r2_src_prepare in it,
# otherwise autopatcher will not work!
qt4-r2_src_prepare() {
	debug-print-function $FUNCNAME "$@"

	base_src_prepare "$@"
}

# @FUNCTION: qt4-r2_src_configure
# @DESCRIPTION:
# Default src_configure function for packages that depend on qt4. If you have to
# override src_configure in your ebuild, call qt4-r2_src_configure in it.
qt4-r2_src_configure() {
	debug-print-function $FUNCNAME "$@"

	local project_file="$(_find_project_file)"

	if [[ -n ${project_file} ]]; then
		eqmake4 ${project_file}
	else
		base_src_configure "$@"
	fi
}

# @FUNCTION: qt4-r2_src_compile
# @DESCRIPTION:
# Default src_compile function for packages that depend on qt4. If you have to
# override src_compile in your ebuild (probably you don't need to), call
# qt4-r2_src_compile in it.
qt4-r2_src_compile() {
	debug-print-function $FUNCNAME "$@"

	base_src_compile "$@"
}

# @ECLASS-VARIABLE: DOCS
# @DESCRIPTION:
# Use this variable if you want to install any documentation.
# example: DOCS="README AUTHORS"
#
# @ECLASS-VARIABLE: DOCSDIR
# @DESCRIPTION:
# Directory containing documentation. If not specified, ${S} will be used
# instead.
#
# @FUNCTION: qt4-r2_src_install
# @DESCRIPTION:
# Default src_install function for qt4-based packages. Installs compiled code,
# documentation (via DOCS variable) and translations (via LANGS and
# LANGSLONG variables).
qt4-r2_src_install() {
	debug-print-function $FUNCNAME "$@"

	emake INSTALL_ROOT="${D}" DESTDIR="${D}" install || die "emake install failed"

	# install documentation
	if [[ -n "${DOCS}" ]]; then
		local dir=${DOCSDIR:-${S}}
		for doc in ${DOCS}; do
			dodoc "${dir}/${doc}" || die "dodoc failed"
		done
	fi
}

# Internal function, used by eqmake4 and qt4-r2_src_configure
# Look for project files:
#   0 *.pro files found - output null string
#   1 *.pro file found - output its name
#   2 or more *.pro files found - if ${PN}.pro or $(basename ${S}).pro
#     are there, output any of them
# Outputs a project file argument used by eqmake4. Sets nullglob locally
# to avoid expanding *.pro as "*.pro" when there are no matching files.
_find_project_file() {
	shopt -s nullglob
	local pro_files=(*.pro)
	shopt -u nullglob
	local dir_name="$(basename ${S})"

	case ${#pro_files[@]} in
	1)
		echo "${pro_files[0]}"
		;;
	*)
		for pro_file in "${pro_files[@]}"; do
			if [[ "${pro_file}" == "${dir_name}" ||
				  "${pro_file}" == "${PN}.pro" ]]; then
				echo "${pro_file}"
				break
			fi
		done
		;;
	esac
}

# @FUNCTION: eqmake4
# @USAGE: [project file] [parameters to qmake]
# @DESCRIPTION:
# Wrapper for Qt4's qmake. If project file isn't specified eqmake4 will
# look for it in current directory (${S}, non-recursively). If more than
# one project file is found, the ${PN}.pro is processed, provided that it
# exists. Otherwise eqmake4 fails.
# All the arguments are appended unmodified to qmake command line. For
# recursive build systems, i.e. those based on the subdirs template, you
# should run eqmake4 on the top-level project file only, unless you have
# strong reasons to do things differently. During the building, qmake
# will be automatically re-invoked with the right arguments on every
# directory specified inside the top-level project file by the SUBDIRS
# variable.
eqmake4() {
	ebegin "Running qmake"

	local qmake_args="$@"

	# check if project file was passed as a first argument
	# if not, then search for it
	local regexp='.*\.pro'
	if ! [[ "${1}" =~ ${regexp} ]]; then
		local project_file="$(_find_project_file)"
		if [[ -z "${project_file}" ]]; then
			echo
			eerror "No project file found in ${S}!"
			eerror "This shouldn't happen - please send a bug report to http://bugs.gentoo.org/"
			echo
			die "eqmake4 failed"
		fi
		qmake_args="${qmake_args} ${project_file}"
	fi

	# make sure CONFIG variable is correctly set for both release and debug builds
	local CONFIG_ADD="release"
	local CONFIG_REMOVE="debug"
	if has debug ${IUSE} && use debug; then
		CONFIG_ADD="debug"
		CONFIG_REMOVE="release"
	fi
	local awkscript='BEGIN {
				printf "### eqmake4 was here ###\n" > file;
				fixed=0;
			}
			/^[[:blank:]]*CONFIG[[:blank:]]*[\+\*]?=/ {
				for (i=1; i <= NF; i++) {
					if ($i ~ rem || $i ~ /debug_and_release/)
						{ $i=add; fixed=1; }
				}
			}
			/^[[:blank:]]*CONFIG[[:blank:]]*-=/ {
				for (i=1; i <= NF; i++) {
					if ($i ~ add) { $i=rem; fixed=1; }
				}
			}
			{
				print >> file;
			}
			END {
				printf "\nCONFIG -= debug_and_release %s\n", rem >> file;
				printf "CONFIG += %s\n", add >> file;
				print fixed;
			}'
	local file=
	while read file; do
		grep -q '^### eqmake4 was here ###$' "${file}" && continue
		local retval=$({
				rm -f "${file}" || echo "FAILED"
				awk -v file="${file}" -- "${awkscript}" add=${CONFIG_ADD} rem=${CONFIG_REMOVE} || echo "FAILED"
				} < "${file}")
		if [[ ${retval} == 1 ]]; then
			einfo " - fixed CONFIG in ${file}"
		elif [[ ${retval} != 0 ]]; then
			eerror "An error occurred while processing ${file}"
			die "eqmake4 failed to process '${file}'"
		fi
	done < <(find . -type f -name "*.pr[io]" -printf '%P\n' 2>/dev/null)

	/usr/bin/qmake -makefile -nocache \
		QTDIR=/usr/$(get_libdir) \
		QMAKE=/usr/bin/qmake \
		QMAKE_CC=$(tc-getCC) \
		QMAKE_CXX=$(tc-getCXX) \
		QMAKE_LINK=$(tc-getCXX) \
		QMAKE_CFLAGS_RELEASE="${CFLAGS}" \
		QMAKE_CFLAGS_DEBUG="${CFLAGS}" \
		QMAKE_CXXFLAGS_RELEASE="${CXXFLAGS}" \
		QMAKE_CXXFLAGS_DEBUG="${CXXFLAGS}" \
		QMAKE_LFLAGS_RELEASE="${LDFLAGS}" \
		QMAKE_LFLAGS_DEBUG="${LDFLAGS}" \
		QMAKE_RPATH= \
		QMAKE_STRIP= \
		${qmake_args}

	# was qmake successful?
	if ! eend $? ; then
		echo
		eerror "Running qmake has failed! (see above for details)"
		eerror "This shouldn't happen - please send a bug report to http://bugs.gentoo.org/"
		echo
		die "eqmake4 failed"
	fi

	return 0
}

EXPORT_FUNCTIONS src_unpack src_prepare src_configure src_compile src_install






^ permalink raw reply	[flat|nested] 14+ messages in thread

end of thread, other threads:[~2014-11-01 23:48 UTC | newest]

Thread overview: 14+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-03-19 16:34 [gentoo-commits] gentoo-x86 commit in eclass: qt4-r2.eclass Tomas Chvatal (scarabeus)
  -- strict thread matches above, loose matches on Subject: below --
2014-11-01 23:48 Davide Pesavento (pesa)
2013-06-03  8:41 Davide Pesavento (pesa)
2013-06-03  6:35 Davide Pesavento (pesa)
2011-12-28 10:57 Davide Pesavento (pesa)
2011-12-26 11:47 Davide Pesavento (pesa)
2010-12-30 23:46 Theo Chatzimichos (tampakrap)
2010-07-31 14:40 Markos Chandras (hwoarang)
2010-04-15  6:51 Jonathan Callen (abcd)
2010-03-18 11:43 Markos Chandras (hwoarang)
2010-02-19 20:54 Dominik Kapusta (ayoy)
2010-01-21 19:11 Dror Levin (spatz)
2010-01-14 21:25 Jonathan Callen (abcd)
2009-12-15 16:32 Dominik Kapusta (ayoy)

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox