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

Diff of /eclass/qt4-build.eclass

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

Revision 1.25 Revision 1.26
1# Copyright 2007-2009 Gentoo Foundation 1# Copyright 2007-2009 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/qt4-build.eclass,v 1.25 2009/03/04 20:37:08 yngwin Exp $ 3# $Header: /var/cvsroot/gentoo-x86/eclass/qt4-build.eclass,v 1.26 2009/03/05 09:25:01 hwoarang Exp $
4 4
5# @ECLASS: qt4-build.eclass 5# @ECLASS: qt4-build.eclass
6# @MAINTAINER: 6# @MAINTAINER:
7# Ben de Groot <yngwin@gentoo.org>, 7# Ben de Groot <yngwin@gentoo.org>,
8# Markos Chandras <hwoarang@gentoo.org>, 8# Markos Chandras <hwoarang@gentoo.org>,
90 fi 90 fi
91 91
92} 92}
93 93
94qt4-build_src_unpack() { 94qt4-build_src_unpack() {
95 local target targets 95 local target targets licenses
96 if version_is_at_least 4.5 ${PV} ; then
97 licenses="LICENSE.GPL3 LICENSE.LGPL"
98 else
99 licenses="LICENSE.GPL2 LICENSE.GPL3"
100 fi
96 for target in configure LICENSE.{GPL2,GPL3} projects.pro \ 101 for target in configure ${licenses} projects.pro \
97 src/{qbase,qt_targets,qt_install}.pri bin config.tests mkspecs qmake \ 102 src/{qbase,qt_targets,qt_install}.pri bin config.tests mkspecs qmake \
98 ${QT4_EXTRACT_DIRECTORIES}; do 103 ${QT4_EXTRACT_DIRECTORIES}; do
99 targets="${targets} ${MY_P}/${target}" 104 targets="${targets} ${MY_P}/${target}"
100 done 105 done
101 106

Legend:
Removed from v.1.25  
changed lines
  Added in v.1.26

  ViewVC Help
Powered by ViewVC 1.1.20