/[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.59 Revision 1.60
1# Copyright 1999-2012 Gentoo Foundation 1# Copyright 1999-2013 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.59 2012/09/27 16:35:42 axs Exp $ 3# $Header: /var/cvsroot/gentoo-x86/eclass/xorg-2.eclass,v 1.60 2013/01/31 14:12:12 chithanh 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# @AUTHOR: 8# @AUTHOR:
268 IUSE+=" ${XORG_DOC}" 268 IUSE+=" ${XORG_DOC}"
269 ;; 269 ;;
270esac 270esac
271unset DOC_DEPEND 271unset DOC_DEPEND
272 272
273# @ECLASS-VARIABLE: XORG_MODULE_REBUILD
274# @DESCRIPTION:
275# Describes whether a package contains modules that need to be rebuilt on
276# xorg-server upgrade. This has an effect only since EAPI=5.
277# Possible values are "yes" or "no". Default value is "yes" for packages which
278# are recognized as DRIVER by this eclass and "no" for all other packages.
279if [[ "${DRIVER}" == yes ]]; then
280 : ${XORG_MODULE_REBUILD:="yes"}
281else
282 : ${XORG_MODULE_REBUILD:="no"}
283fi
284
285if [[ ${XORG_MODULE_REBUILD} == yes ]]; then
286 case ${EAPI} in
287 3|4)
288 ;;
289 *)
290 RDEPEND+=" x11-base/xorg-server:="
291 ;;
292 esac
293fi
294
273DEPEND+=" ${COMMON_DEPEND}" 295DEPEND+=" ${COMMON_DEPEND}"
274RDEPEND+=" ${COMMON_DEPEND}" 296RDEPEND+=" ${COMMON_DEPEND}"
275unset COMMON_DEPEND 297unset COMMON_DEPEND
276 298
277debug-print "${LINENO} ${ECLASS} ${FUNCNAME}: DEPEND=${DEPEND}" 299debug-print "${LINENO} ${ECLASS} ${FUNCNAME}: DEPEND=${DEPEND}"

Legend:
Removed from v.1.59  
changed lines
  Added in v.1.60

  ViewVC Help
Powered by ViewVC 1.1.20