/[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.31 Revision 1.34
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.31 2011/03/16 16:10:21 scarabeus Exp $ 3# $Header: /var/cvsroot/gentoo-x86/eclass/xorg-2.eclass,v 1.34 2011/03/16 20:57:43 mgorny 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.
91# For git checkout the git repository might differ from package name. 91# For git checkout the git repository might differ from package name.
92# This variable can be used for proper directory specification 92# This variable can be used for proper directory specification
93: ${XORG_PACKAGE_NAME:=${PN}} 93: ${XORG_PACKAGE_NAME:=${PN}}
94 94
95if [[ -n ${GIT_ECLASS} ]]; then 95if [[ -n ${GIT_ECLASS} ]]; then
96 EGIT_REPO_URI="git://anongit.freedesktop.org/git/xorg/${XORG_MODULE}${PACKAGE_NAME}" 96 EGIT_REPO_URI="git://anongit.freedesktop.org/git/xorg/${XORG_MODULE}${XORG_PACKAGE_NAME}"
97elif [[ -n ${XORG_BASE_INDIVIDUAL_URI} ]]; then 97elif [[ -n ${XORG_BASE_INDIVIDUAL_URI} ]]; then
98 SRC_URI="${XORG_BASE_INDIVIDUAL_URI}/${XORG_MODULE}${P}.tar.bz2" 98 SRC_URI="${XORG_BASE_INDIVIDUAL_URI}/${XORG_MODULE}${P}.tar.bz2"
99fi 99fi
100 100
101: ${SLOT:=0} 101: ${SLOT:=0}
245DOC_DEPEND=" 245DOC_DEPEND="
246 doc? ( 246 doc? (
247 app-text/asciidoc 247 app-text/asciidoc
248 app-text/xmlto 248 app-text/xmlto
249 app-doc/doxygen 249 app-doc/doxygen
250 app-text/docbook-xml-dtd:4.1 250 app-text/docbook-xml-dtd:4.1.2
251 app-text/docbook-xml-dtd:4.2 251 app-text/docbook-xml-dtd:4.2
252 app-text/docbook-xml-dtd:4.3 252 app-text/docbook-xml-dtd:4.3
253 ) 253 )
254" 254"
255case ${XORG_DOC} in 255case ${XORG_DOC} in
256 no) 256 no)
257 ;; 257 ;;
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

Legend:
Removed from v.1.31  
changed lines
  Added in v.1.34

  ViewVC Help
Powered by ViewVC 1.1.20