/[gentoo-x86]/eclass/qt4.eclass
Gentoo

Diff of /eclass/qt4.eclass

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

Revision 1.20 Revision 1.22
1# Copyright 2005 Gentoo Foundation 1# Copyright 2005 Gentoo Foundation
2# Distributed under the terms of the GNU General Public License v2 2# Distributed under the terms of the GNU General Public License v2
3# $Header: /var/cvsroot/gentoo-x86/eclass/Attic/qt4.eclass,v 1.20 2007/07/31 13:39:50 caleb Exp $ 3# $Header: /var/cvsroot/gentoo-x86/eclass/Attic/qt4.eclass,v 1.22 2007/08/02 11:22:40 caleb Exp $
4# 4#
5# Author Caleb Tennis <caleb@gentoo.org> 5# Author Caleb Tennis <caleb@gentoo.org>
6# 6#
7# This eclass is simple. Inherit it, and in your depend, do something like this: 7# This eclass is simple. Inherit it, and in your depend, do something like this:
8# 8#
12# 12#
13# 08.16.06 - Renamed qt_min_* to qt4_min_* to avoid conflicts with the qt3 eclass. 13# 08.16.06 - Renamed qt_min_* to qt4_min_* to avoid conflicts with the qt3 eclass.
14# - Caleb Tennis <caleb@gentoo.org> 14# - Caleb Tennis <caleb@gentoo.org>
15 15
16inherit eutils multilib toolchain-funcs versionator 16inherit eutils multilib toolchain-funcs versionator
17
18IUSE="${IUSE}"
17 19
18QTPKG="x11-libs/qt-" 20QTPKG="x11-libs/qt-"
19QT4MAJORVERSIONS="4.3 4.2 4.1 4.0" 21QT4MAJORVERSIONS="4.3 4.2 4.1 4.0"
20QT4VERSIONS="4.3.0 4.3.0_rc1 4.3.0_beta1 4.2.3-r1 4.2.3 4.2.2 4.2.1 4.2.0-r2 4.2.0-r1 4.2.0 4.1.4-r2 4.1.4-r1 4.1.4 4.1.3 4.1.2 4.1.1 4.1.0 4.0.1 4.0.0" 22QT4VERSIONS="4.3.0 4.3.0_rc1 4.3.0_beta1 4.2.3-r1 4.2.3 4.2.2 4.2.1 4.2.0-r2 4.2.0-r1 4.2.0 4.1.4-r2 4.1.4-r1 4.1.4 4.1.3 4.1.2 4.1.1 4.1.0 4.0.1 4.0.0"
21 23
81 echo >> ${LOGFILE} 83 echo >> ${LOGFILE}
82 echo "****** qmake ${projprofile} ******" >> ${LOGFILE} 84 echo "****** qmake ${projprofile} ******" >> ${LOGFILE}
83 echo >> ${LOGFILE} 85 echo >> ${LOGFILE}
84 86
85 # as a workaround for broken qmake, put everything into file 87 # as a workaround for broken qmake, put everything into file
86 if use debug; then 88 if has debug ${IUSE} && use debug; then
87 echo -e "$CONFIG -= release\nCONFIG += no_fixpath debug" >> ${projprofile} 89 echo -e "$CONFIG -= release\nCONFIG += no_fixpath debug" >> ${projprofile}
88 else 90 else
89 echo -e "$CONFIG -= debug\nCONFIG += no_fixpath release" >> ${projprofile} 91 echo -e "$CONFIG -= debug\nCONFIG += no_fixpath release" >> ${projprofile}
90 fi 92 fi
91 93

Legend:
Removed from v.1.20  
changed lines
  Added in v.1.22

  ViewVC Help
Powered by ViewVC 1.1.20