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.34 2011/03/16 20:57:43 mgorny Exp $ |
3 | # $Header: /var/cvsroot/gentoo-x86/eclass/xorg-2.eclass,v 1.35 2011/03/17 22:40:20 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. |
… | |
… | |
112 | >=sys-devel/libtool-2.2.6a |
112 | >=sys-devel/libtool-2.2.6a |
113 | sys-devel/m4" |
113 | sys-devel/m4" |
114 | if [[ ${PN} != util-macros ]] ; then |
114 | if [[ ${PN} != util-macros ]] ; then |
115 | EAUTORECONF_DEPEND+=" >=x11-misc/util-macros-1.12.0" |
115 | EAUTORECONF_DEPEND+=" >=x11-misc/util-macros-1.12.0" |
116 | # Required even by xorg-server |
116 | # Required even by xorg-server |
117 | [[ ${PN} == "font-util" ]] || EAUTORECONF_DEPEND+=" >=media-fonts/font-util-1.1.1-r1" |
117 | [[ ${PN} == "font-util" ]] || EAUTORECONF_DEPEND+=" >=media-fonts/font-util-1.2.0" |
118 | fi |
118 | fi |
119 | WANT_AUTOCONF="latest" |
119 | WANT_AUTOCONF="latest" |
120 | WANT_AUTOMAKE="latest" |
120 | WANT_AUTOMAKE="latest" |
121 | for arch in ${XORG_EAUTORECONF_ARCHES}; do |
121 | for arch in ${XORG_EAUTORECONF_ARCHES}; do |
122 | EAUTORECONF_DEPENDS+=" ${arch}? ( ${EAUTORECONF_DEPEND} )" |
122 | EAUTORECONF_DEPENDS+=" ${arch}? ( ${EAUTORECONF_DEPEND} )" |
… | |
… | |
129 | if [[ ${FONT} == yes ]]; then |
129 | if [[ ${FONT} == yes ]]; then |
130 | RDEPEND+=" media-fonts/encodings |
130 | RDEPEND+=" media-fonts/encodings |
131 | x11-apps/mkfontscale |
131 | x11-apps/mkfontscale |
132 | x11-apps/mkfontdir" |
132 | x11-apps/mkfontdir" |
133 | PDEPEND+=" media-fonts/font-alias" |
133 | PDEPEND+=" media-fonts/font-alias" |
134 | DEPEND+=" >=media-fonts/font-util-1.1.1-r1" |
134 | DEPEND+=" >=media-fonts/font-util-1.2.0" |
135 | |
135 | |
136 | # @ECLASS-VARIABLE: FONT_DIR |
136 | # @ECLASS-VARIABLE: FONT_DIR |
137 | # @DESCRIPTION: |
137 | # @DESCRIPTION: |
138 | # If you're creating a font package and the suffix of PN is not equal to |
138 | # If you're creating a font package and the suffix of PN is not equal to |
139 | # the subdirectory of /usr/share/fonts/ it should install into, set |
139 | # the subdirectory of /usr/share/fonts/ it should install into, set |