From bdaf198d398664a4a82275575dd96209ac95518c Mon Sep 17 00:00:00 2001 From: Ben de Groot Date: Wed, 4 Mar 2009 20:37:08 +0000 Subject: Updating qt4-build.eclass for 4.5.0 release --- eclass/qt4-build.eclass | 12 ++++++++---- 1 file changed, 8 insertions(+), 4 deletions(-) (limited to 'eclass') diff --git a/eclass/qt4-build.eclass b/eclass/qt4-build.eclass index c82386c8d3d3..086dcd430194 100644 --- a/eclass/qt4-build.eclass +++ b/eclass/qt4-build.eclass @@ -1,11 +1,11 @@ # Copyright 2007-2009 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/eclass/qt4-build.eclass,v 1.24 2009/02/15 00:11:50 hwoarang Exp $ +# $Header: /var/cvsroot/gentoo-x86/eclass/qt4-build.eclass,v 1.25 2009/03/04 20:37:08 yngwin Exp $ # @ECLASS: qt4-build.eclass # @MAINTAINER: -# Ben de Groot -# Markos Chandras +# Ben de Groot , +# Markos Chandras , # Caleb Tennis # @BLURB: Eclass for Qt4 split ebuilds. # @DESCRIPTION: @@ -29,13 +29,17 @@ MY_P=qt-x11-${SRCTYPE}-${MY_PV} S=${WORKDIR}/${MY_P} HOMEPAGE="http://www.qtsoftware.com/" -SRC_URI="ftp://ftp.trolltech.com/qt/source/${MY_P}.tar.bz2" +SRC_URI="http://download.qtsoftware.com/qt/source/${MY_P}.tar.bz2" case "${PV}" in 4.4.?) SRC_URI="${SRC_URI} mirror://gentoo/${MY_P}-headers.tar.bz2" ;; *) ;; esac +if version_is_at_least 4.5 ${PV} ; then + LICENSE="|| ( LGPL-2.1 GPL-3 )" +fi + qt4-build_pkg_setup() { # EAPI=2 ebuilds set use-deps, others need this: if [[ $EAPI != 2 ]]; then -- cgit v1.2.3-65-gdbad