diff options
author | Davide Pesavento <pesa@gentoo.org> | 2012-05-22 13:41:59 +0000 |
---|---|---|
committer | Davide Pesavento <pesa@gentoo.org> | 2012-05-22 13:41:59 +0000 |
commit | 0311a3c61d396191baae18cbb0c62c5e161a371f (patch) | |
tree | e2e007570cd616ad04c67e3426417916ea984ac8 /eclass/qt4-build.eclass | |
parent | add ~amd64-fbsd (diff) | |
download | historical-0311a3c61d396191baae18cbb0c62c5e161a371f.tar.gz historical-0311a3c61d396191baae18cbb0c62c5e161a371f.tar.bz2 historical-0311a3c61d396191baae18cbb0c62c5e161a371f.zip |
Update SRC_URI for Qt 4.8.1 and later.
Diffstat (limited to 'eclass/qt4-build.eclass')
-rw-r--r-- | eclass/qt4-build.eclass | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/eclass/qt4-build.eclass b/eclass/qt4-build.eclass index 73b4f9439ff8..2a7dcdb335d2 100644 --- a/eclass/qt4-build.eclass +++ b/eclass/qt4-build.eclass @@ -1,6 +1,6 @@ # Copyright 1999-2012 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/eclass/qt4-build.eclass,v 1.129 2012/05/20 17:12:34 pesa Exp $ +# $Header: /var/cvsroot/gentoo-x86/eclass/qt4-build.eclass,v 1.130 2012/05/22 13:41:59 pesa Exp $ # @ECLASS: qt4-build.eclass # @MAINTAINER: @@ -36,7 +36,11 @@ case ${QT4_BUILD_TYPE} in EGIT_BRANCH="${PV%.9999}" ;; release) - SRC_URI="http://get.qt.nokia.com/qt/source/${MY_P}.tar.gz" + if version_is_at_least 4.8.1; then + SRC_URI="http://releases.qt-project.org/qt4/source/${MY_P}.tar.gz" + else + SRC_URI="http://get.qt.nokia.com/qt/source/${MY_P}.tar.gz" + fi ;; esac |