| 1 | # Copyright 1999-2010 Gentoo Foundation |
1 | # Copyright 1999-2010 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/xorg-2.eclass,v 1.24 2011/02/28 18:16:40 mgorny Exp $ |
3 | # $Header: /var/cvsroot/gentoo-x86/eclass/xorg-2.eclass,v 1.27 2011/03/08 11:31:42 scarabeus Exp $ |
| 4 | # |
4 | # |
| 5 | # @ECLASS: xorg-2.eclass |
5 | # @ECLASS: xorg-2.eclass |
| 6 | # @MAINTAINER: |
6 | # @MAINTAINER: |
| 7 | # x11@gentoo.org |
7 | # x11@gentoo.org |
| 8 | # @BLURB: Reduces code duplication in the modularized X11 ebuilds. |
8 | # @BLURB: Reduces code duplication in the modularized X11 ebuilds. |
| … | |
… | |
| 187 | )" |
187 | )" |
| 188 | fi |
188 | fi |
| 189 | if [[ -n "${DRIVER}" ]]; then |
189 | if [[ -n "${DRIVER}" ]]; then |
| 190 | COMMON_DEPEND+=" |
190 | COMMON_DEPEND+=" |
| 191 | x11-base/xorg-server[xorg] |
191 | x11-base/xorg-server[xorg] |
|
|
192 | " |
|
|
193 | fi |
|
|
194 | if [[ -n "${DRIVER}" && ${PN} == xf86-video-* ]]; then |
|
|
195 | COMMON_DEPEND+=" |
| 192 | x11-libs/libpciaccess |
196 | x11-libs/libpciaccess |
| 193 | " |
197 | " |
| 194 | # we also needs some protos and libs in all cases |
198 | # we also needs some protos and libs in all cases |
| 195 | DEPEND+=" |
199 | DEPEND+=" |
| 196 | x11-proto/fontsproto |
200 | x11-proto/fontsproto |
| … | |
… | |
| 208 | if has doc ${IUSE//+}; then |
212 | if has doc ${IUSE//+}; then |
| 209 | DEPEND+=" |
213 | DEPEND+=" |
| 210 | doc? ( |
214 | doc? ( |
| 211 | app-text/xmlto |
215 | app-text/xmlto |
| 212 | app-doc/doxygen |
216 | app-doc/doxygen |
|
|
217 | app-text/docbook-xml-dtd:4.1 |
| 213 | app-text/docbook-xml-dtd:4.2 |
218 | app-text/docbook-xml-dtd:4.2 |
| 214 | app-text/docbook-xml-dtd:4.3 |
219 | app-text/docbook-xml-dtd:4.3 |
| 215 | ) |
220 | ) |
| 216 | " |
221 | " |
| 217 | fi |
222 | fi |