/[gentoo-x86]/eclass/xorg-2.eclass
Gentoo

Diff of /eclass/xorg-2.eclass

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

Revision 1.37 Revision 1.40
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.37 2011/03/18 18:31:23 scarabeus Exp $ 3# $Header: /var/cvsroot/gentoo-x86/eclass/xorg-2.eclass,v 1.40 2011/04/17 20:46:05 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.
41 ${FONT_ECLASS} ${GIT_ECLASS} 41 ${FONT_ECLASS} ${GIT_ECLASS}
42 42
43EXPORTED_FUNCTIONS="src_unpack src_compile src_install pkg_postinst pkg_postrm" 43EXPORTED_FUNCTIONS="src_unpack src_compile src_install pkg_postinst pkg_postrm"
44case "${EAPI:-0}" in 44case "${EAPI:-0}" in
45 3|4) EXPORTED_FUNCTIONS="${EXPORTED_FUNCTIONS} src_prepare src_configure" ;; 45 3|4) EXPORTED_FUNCTIONS="${EXPORTED_FUNCTIONS} src_prepare src_configure" ;;
46 *) die "EAPI-UNSUPPORTED" ;; 46 *) die "EAPI=${EAPI} is not supported" ;;
47esac 47esac
48 48
49# exports must be ALWAYS after inherit 49# exports must be ALWAYS after inherit
50EXPORT_FUNCTIONS ${EXPORTED_FUNCTIONS} 50EXPORT_FUNCTIONS ${EXPORTED_FUNCTIONS}
51 51
110XORG_EAUTORECONF_ARCHES="x86-interix ppc-aix x86-winnt" 110XORG_EAUTORECONF_ARCHES="x86-interix ppc-aix x86-winnt"
111EAUTORECONF_DEPEND+=" 111EAUTORECONF_DEPEND+="
112 >=sys-devel/libtool-2.2.6a 112 >=sys-devel/libtool-2.2.6a
113 sys-devel/m4" 113 sys-devel/m4"
114if [[ ${PN} != util-macros ]] ; then 114if [[ ${PN} != util-macros ]] ; then
115 EAUTORECONF_DEPEND+=" >=x11-misc/util-macros-1.12.0" 115 EAUTORECONF_DEPEND+=" >=x11-misc/util-macros-1.13.0"
116 # Required even by xorg-server 116 # Required even by xorg-server
117 [[ ${PN} == "font-util" ]] || EAUTORECONF_DEPEND+=" >=media-fonts/font-util-1.2.0" 117 [[ ${PN} == "font-util" ]] || EAUTORECONF_DEPEND+=" >=media-fonts/font-util-1.2.0"
118fi 118fi
119WANT_AUTOCONF="latest" 119WANT_AUTOCONF="latest"
120WANT_AUTOMAKE="latest" 120WANT_AUTOMAKE="latest"
205 DEPEND+=" ${DRI_DEPEND}" 205 DEPEND+=" ${DRI_DEPEND}"
206 ;; 206 ;;
207 *) 207 *)
208 COMMON_DEPEND+=" ${XORG_DRI}? ( ${DRI_COMMON_DEPEND} )" 208 COMMON_DEPEND+=" ${XORG_DRI}? ( ${DRI_COMMON_DEPEND} )"
209 DEPEND+=" ${XORG_DRI}? ( ${DRI_DEPEND} )" 209 DEPEND+=" ${XORG_DRI}? ( ${DRI_DEPEND} )"
210 IUSE="${XORG_DRI}" 210 IUSE+=" ${XORG_DRI}"
211 ;; 211 ;;
212esac 212esac
213unset DRI_DEPEND 213unset DRI_DEPEND
214unset DRI_COMMONDEPEND 214unset DRI_COMMONDEPEND
215 215
258 always) 258 always)
259 DEPEND+=" ${DOC_DEPEND}" 259 DEPEND+=" ${DOC_DEPEND}"
260 ;; 260 ;;
261 *) 261 *)
262 DEPEND+=" ${XORG_DOC}? ( ${DOC_DEPEND} )" 262 DEPEND+=" ${XORG_DOC}? ( ${DOC_DEPEND} )"
263 IUSE="${XORG_DOC}" 263 IUSE+=" ${XORG_DOC}"
264 ;; 264 ;;
265esac 265esac
266unset DOC_DEPEND 266unset DOC_DEPEND
267 267
268DEPEND+=" ${COMMON_DEPEND}" 268DEPEND+=" ${COMMON_DEPEND}"

Legend:
Removed from v.1.37  
changed lines
  Added in v.1.40

  ViewVC Help
Powered by ViewVC 1.1.20