| 1 | # Copyright 1999-2005 Gentoo Foundation |
1 | # Copyright 1999-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/x-modular.eclass,v 1.2 2005/08/11 06:19:16 spyderous Exp $ |
3 | # $Header: /var/cvsroot/gentoo-x86/eclass/x-modular.eclass,v 1.3 2005/08/14 23:04:02 spyderous Exp $ |
| 4 | # |
4 | # |
| 5 | # Author: Donnie Berkholz <spyderous@gentoo.org> |
5 | # Author: Donnie Berkholz <spyderous@gentoo.org> |
| 6 | # |
6 | # |
| 7 | # This eclass is designed to reduce code duplication in the modularized X11 |
7 | # This eclass is designed to reduce code duplication in the modularized X11 |
| 8 | # ebuilds. |
8 | # ebuilds. |
| … | |
… | |
| 30 | DEPEND="${DEPEND} |
30 | DEPEND="${DEPEND} |
| 31 | >=sys-devel/autoconf-2.57 |
31 | >=sys-devel/autoconf-2.57 |
| 32 | >=sys-devel/automake-1.7 |
32 | >=sys-devel/automake-1.7 |
| 33 | >=sys-devel/libtool-1.5 |
33 | >=sys-devel/libtool-1.5 |
| 34 | >=sys-devel/m4-1.4" |
34 | >=sys-devel/m4-1.4" |
|
|
35 | fi |
|
|
36 | |
|
|
37 | # If we're a font package, but not the font.alias one |
|
|
38 | if [[ "${PN/#font}" != "${PN}" ]] && [[ "${PN}" != "font-alias" ]]; then |
|
|
39 | RDEPEND="${RDEPEND} |
|
|
40 | media-fonts/encodings" |
|
|
41 | PDEPEND="${PDEPEND} |
|
|
42 | media-fonts/font-alias" |
| 35 | fi |
43 | fi |
| 36 | |
44 | |
| 37 | DEPEND="${DEPEND} |
45 | DEPEND="${DEPEND} |
| 38 | dev-util/pkgconfig |
46 | dev-util/pkgconfig |
| 39 | x11-misc/util-macros" |
47 | x11-misc/util-macros" |