| 1 | # Copyright 1999-2012 Gentoo Foundation |
1 | # Copyright 1999-2012 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.129 2012/05/20 17:12:34 pesa Exp $ |
3 | # $Header: /var/cvsroot/gentoo-x86/eclass/qt4-build.eclass,v 1.130 2012/05/22 13:41:59 pesa Exp $ |
| 4 | |
4 | |
| 5 | # @ECLASS: qt4-build.eclass |
5 | # @ECLASS: qt4-build.eclass |
| 6 | # @MAINTAINER: |
6 | # @MAINTAINER: |
| 7 | # Qt herd <qt@gentoo.org> |
7 | # Qt herd <qt@gentoo.org> |
| 8 | # @BLURB: Eclass for Qt4 split ebuilds. |
8 | # @BLURB: Eclass for Qt4 split ebuilds. |
| … | |
… | |
| 34 | EGIT_REPO_URI="git://gitorious.org/qt/qt.git |
34 | EGIT_REPO_URI="git://gitorious.org/qt/qt.git |
| 35 | https://git.gitorious.org/qt/qt.git" |
35 | https://git.gitorious.org/qt/qt.git" |
| 36 | EGIT_BRANCH="${PV%.9999}" |
36 | EGIT_BRANCH="${PV%.9999}" |
| 37 | ;; |
37 | ;; |
| 38 | release) |
38 | release) |
|
|
39 | if version_is_at_least 4.8.1; then |
|
|
40 | SRC_URI="http://releases.qt-project.org/qt4/source/${MY_P}.tar.gz" |
|
|
41 | else |
| 39 | SRC_URI="http://get.qt.nokia.com/qt/source/${MY_P}.tar.gz" |
42 | SRC_URI="http://get.qt.nokia.com/qt/source/${MY_P}.tar.gz" |
|
|
43 | fi |
| 40 | ;; |
44 | ;; |
| 41 | esac |
45 | esac |
| 42 | |
46 | |
| 43 | IUSE="aqua debug pch" |
47 | IUSE="aqua debug pch" |
| 44 | if [[ ${CATEGORY}/${PN} != x11-libs/qt-xmlpatterns ]]; then |
48 | if [[ ${CATEGORY}/${PN} != x11-libs/qt-xmlpatterns ]]; then |