| 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.28 2011/03/14 17:09:41 flameeyes Exp $ |
3 | # $Header: /var/cvsroot/gentoo-x86/eclass/xorg-2.eclass,v 1.30 2011/03/16 09:29: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. |
| … | |
… | |
| 107 | XORG_EAUTORECONF_ARCHES="x86-interix ppc-aix x86-winnt" |
107 | XORG_EAUTORECONF_ARCHES="x86-interix ppc-aix x86-winnt" |
| 108 | EAUTORECONF_DEPEND+=" |
108 | EAUTORECONF_DEPEND+=" |
| 109 | >=sys-devel/libtool-2.2.6a |
109 | >=sys-devel/libtool-2.2.6a |
| 110 | sys-devel/m4" |
110 | sys-devel/m4" |
| 111 | if [[ ${PN} != util-macros ]] ; then |
111 | if [[ ${PN} != util-macros ]] ; then |
| 112 | EAUTORECONF_DEPEND+=" >=x11-misc/util-macros-1.11.0" |
112 | EAUTORECONF_DEPEND+=" >=x11-misc/util-macros-1.12.0" |
| 113 | # Required even by xorg-server |
113 | # Required even by xorg-server |
| 114 | [[ ${PN} == "font-util" ]] || EAUTORECONF_DEPEND+=" >=media-fonts/font-util-1.1.1-r1" |
114 | [[ ${PN} == "font-util" ]] || EAUTORECONF_DEPEND+=" >=media-fonts/font-util-1.1.1-r1" |
| 115 | fi |
115 | fi |
| 116 | WANT_AUTOCONF="latest" |
116 | WANT_AUTOCONF="latest" |
| 117 | WANT_AUTOMAKE="latest" |
117 | WANT_AUTOMAKE="latest" |
| … | |
… | |
| 213 | # Add deps on documentation |
213 | # Add deps on documentation |
| 214 | # Most docbooks use dtd version 4.2 and 4.3 add more when found |
214 | # Most docbooks use dtd version 4.2 and 4.3 add more when found |
| 215 | if has doc ${IUSE//+}; then |
215 | if has doc ${IUSE//+}; then |
| 216 | DEPEND+=" |
216 | DEPEND+=" |
| 217 | doc? ( |
217 | doc? ( |
|
|
218 | app-text/asciidoc |
| 218 | app-text/xmlto |
219 | app-text/xmlto |
| 219 | app-doc/doxygen |
220 | app-doc/doxygen |
| 220 | app-text/docbook-xml-dtd:4.1 |
221 | app-text/docbook-xml-dtd:4.1 |
| 221 | app-text/docbook-xml-dtd:4.2 |
222 | app-text/docbook-xml-dtd:4.2 |
| 222 | app-text/docbook-xml-dtd:4.3 |
223 | app-text/docbook-xml-dtd:4.3 |