| 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.32 2008/01/05 18:44:38 caleb Exp $ |
3 | # $Header: /var/cvsroot/gentoo-x86/eclass/Attic/qt4.eclass,v 1.33 2008/01/05 20:24:32 swegener Exp $ |
| 4 | |
4 | |
| 5 | # @ECLASS: qt4.eclass |
5 | # @ECLASS: qt4.eclass |
| 6 | # @MAINTAINER: |
6 | # @MAINTAINER: |
| 7 | # Caleb Tennis <caleb@gentoo.org> |
7 | # Caleb Tennis <caleb@gentoo.org> |
| 8 | # @BLURB: |
8 | # @BLURB: |
| … | |
… | |
| 107 | die "Install x1-libs/qt-core with USE=\"ssl\"" |
107 | die "Install x1-libs/qt-core with USE=\"ssl\"" |
| 108 | fi |
108 | fi |
| 109 | elif [[ ${x} == sqlite3 ]]; then |
109 | elif [[ ${x} == sqlite3 ]]; then |
| 110 | if ! has_version x11-libs/qt-sql || ! built_with_use x11-libs/qt-sql sqlite; then |
110 | if ! has_version x11-libs/qt-sql || ! built_with_use x11-libs/qt-sql sqlite; then |
| 111 | eerror "You must first install the x11-libs/qt-sql package with the sqlite flag enabled." |
111 | eerror "You must first install the x11-libs/qt-sql package with the sqlite flag enabled." |
| 112 | die "Install x11-libs/qt-sql with USE="\sqlite\"" |
112 | die "Install x11-libs/qt-sql with USE=\"sqlite\"" |
| 113 | fi |
113 | fi |
| 114 | fi |
114 | fi |
| 115 | elif ! built_with_use =x11-libs/qt-4* ${x}; then |
115 | elif ! built_with_use =x11-libs/qt-4* ${x}; then |
| 116 | requiredflags="${requiredflags} ${x}" |
116 | requiredflags="${requiredflags} ${x}" |
| 117 | fi |
117 | fi |