| 1 | # Copyright 2005 Gentoo Foundation |
1 | # Copyright 2005 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/Attic/qt4.eclass,v 1.23 2007/08/02 20:04:40 carlo Exp $ |
3 | # $Header: /var/cvsroot/gentoo-x86/eclass/Attic/qt4.eclass,v 1.24 2007/08/03 23:36:53 carlo Exp $ |
| 4 | # |
4 | # |
| 5 | # Author Caleb Tennis <caleb@gentoo.org> |
5 | # Author Caleb Tennis <caleb@gentoo.org> |
| 6 | # |
6 | # |
| 7 | # This eclass is simple. Inherit it, and in your depend, do something like this: |
7 | # This eclass is simple. Inherit it, and in your depend, do something like this: |
| 8 | # |
8 | # |
| … | |
… | |
| 17 | |
17 | |
| 18 | IUSE="${IUSE}" |
18 | IUSE="${IUSE}" |
| 19 | |
19 | |
| 20 | QTPKG="x11-libs/qt-" |
20 | QTPKG="x11-libs/qt-" |
| 21 | QT4MAJORVERSIONS="4.3 4.2 4.1 4.0" |
21 | QT4MAJORVERSIONS="4.3 4.2 4.1 4.0" |
| 22 | QT4VERSIONS="4.3.0-r1 4.3.0 4.3.0_rc1 4.3.0_beta1 4.2.3-r1 4.2.3 4.2.2 4.2.1 4.2.0-r2 4.2.0-r1 4.2.0 4.1.4-r2 4.1.4-r1 4.1.4 4.1.3 4.1.2 4.1.1 4.1.0 4.0.1 4.0.0" |
22 | QT4VERSIONS="4.3.0-r2 4.3.0-r1 4.3.0 4.3.0_rc1 4.3.0_beta1 4.2.3-r1 4.2.3 4.2.2 4.2.1 4.2.0-r2 4.2.0-r1 4.2.0 4.1.4-r2 4.1.4-r1 4.1.4 4.1.3 4.1.2 4.1.1 4.1.0 4.0.1 4.0.0" |
| 23 | |
23 | |
| 24 | qt4_min_version() { |
24 | qt4_min_version() { |
| 25 | echo "|| (" |
25 | echo "|| (" |
| 26 | qt4_min_version_list "$@" |
26 | qt4_min_version_list "$@" |
| 27 | echo ")" |
27 | echo ")" |