| 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.13 2005/09/12 21:44:16 spyderous Exp $ |
3 | # $Header: /var/cvsroot/gentoo-x86/eclass/x-modular.eclass,v 1.14 2005/10/20 00:35:21 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. |
| … | |
… | |
| 17 | # Directory prefix to use for everything |
17 | # Directory prefix to use for everything |
| 18 | XDIR="/usr" |
18 | XDIR="/usr" |
| 19 | |
19 | |
| 20 | IUSE="" |
20 | IUSE="" |
| 21 | HOMEPAGE="http://xorg.freedesktop.org/" |
21 | HOMEPAGE="http://xorg.freedesktop.org/" |
| 22 | SRC_URI="http://xorg.freedesktop.org/X11R7.0-RC0/everything/${P}.tar.bz2" |
22 | SRC_URI="http://xorg.freedesktop.org/releases/X11R7.0-RC1/everything/${P}.tar.bz2 |
|
|
23 | http://xorg.freedesktop.org/releases/X11R7.0-RC0/everything/${P}.tar.bz2" |
| 23 | LICENSE="X11" |
24 | LICENSE="X11" |
| 24 | SLOT="0" |
25 | SLOT="0" |
| 25 | |
26 | |
| 26 | # Set up shared dependencies |
27 | # Set up shared dependencies |
| 27 | if [ -n "${SNAPSHOT}" ]; then |
28 | if [ -n "${SNAPSHOT}" ]; then |
| … | |
… | |
| 32 | >=sys-devel/libtool-1.5 |
33 | >=sys-devel/libtool-1.5 |
| 33 | >=sys-devel/m4-1.4" |
34 | >=sys-devel/m4-1.4" |
| 34 | fi |
35 | fi |
| 35 | |
36 | |
| 36 | # If we're a font package, but not the font.alias one |
37 | # If we're a font package, but not the font.alias one |
| 37 | if [[ "${PN/#font}" != "${PN}" ]] && [[ "${PN}" != "font-alias" ]]; then |
38 | if [[ "${PN/#font-}" != "${PN}" ]] && [[ "${PN}" != "font-alias" ]]; then |
| 38 | # Activate font code in the rest of the eclass |
39 | # Activate font code in the rest of the eclass |
| 39 | FONT="yes" |
40 | FONT="yes" |
| 40 | |
41 | |
| 41 | RDEPEND="${RDEPEND} |
42 | RDEPEND="${RDEPEND} |
| 42 | media-fonts/encodings" |
43 | media-fonts/encodings" |