| 1 | # Copyright 1999-2011 Gentoo Foundation |
1 | # Copyright 1999-2011 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.100 2011/11/19 20:31:12 pesa Exp $ |
3 | # $Header: /var/cvsroot/gentoo-x86/eclass/qt4-build.eclass,v 1.102 2011/12/08 17:21:45 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. |
| … | |
… | |
| 12 | inherit base eutils multilib toolchain-funcs flag-o-matic versionator |
12 | inherit base eutils multilib toolchain-funcs flag-o-matic versionator |
| 13 | |
13 | |
| 14 | MY_PV=${PV/_/-} |
14 | MY_PV=${PV/_/-} |
| 15 | MY_P=qt-everywhere-opensource-src-${MY_PV} |
15 | MY_P=qt-everywhere-opensource-src-${MY_PV} |
| 16 | |
16 | |
| 17 | HOMEPAGE="http://qt.nokia.com/" |
17 | HOMEPAGE="http://qt.nokia.com/ http://qt-project.org/" |
| 18 | SRC_URI="http://get.qt.nokia.com/qt/source/${MY_P}.tar.gz" |
18 | SRC_URI="http://get.qt.nokia.com/qt/source/${MY_P}.tar.gz" |
| 19 | LICENSE="|| ( LGPL-2.1 GPL-3 )" |
19 | LICENSE="|| ( LGPL-2.1 GPL-3 )" |
| 20 | |
20 | |
| 21 | IUSE="aqua debug pch" |
21 | IUSE="aqua debug pch" |
| 22 | |
22 | |
| … | |
… | |
| 26 | |
26 | |
| 27 | if version_is_at_least 4.7.99999999; then |
27 | if version_is_at_least 4.7.99999999; then |
| 28 | IUSE+=" c++0x qpa" |
28 | IUSE+=" c++0x qpa" |
| 29 | fi |
29 | fi |
| 30 | |
30 | |
|
|
31 | DEPEND="dev-util/pkgconfig" |
| 31 | RDEPEND=" |
32 | RDEPEND=" |
| 32 | !<x11-libs/qt-assistant-${PV} |
33 | !<x11-libs/qt-assistant-${PV} |
| 33 | !>x11-libs/qt-assistant-${PV}-r9999 |
34 | !>x11-libs/qt-assistant-${PV}-r9999 |
| 34 | !<x11-libs/qt-core-${PV} |
35 | !<x11-libs/qt-core-${PV} |
| 35 | !>x11-libs/qt-core-${PV}-r9999 |
36 | !>x11-libs/qt-core-${PV}-r9999 |