/[gentoo-x86]/eclass/office-ext-r1.eclass
Gentoo

Diff of /eclass/office-ext-r1.eclass

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

Revision 1.2 Revision 1.3
1# Copyright 1999-2013 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/office-ext-r1.eclass,v 1.2 2013/03/23 10:19:39 scarabeus Exp $ 3# $Header: /var/cvsroot/gentoo-x86/eclass/office-ext-r1.eclass,v 1.3 2013/03/23 10:24:42 scarabeus Exp $
4 4
5# @ECLASS: office-ext-r1.eclass 5# @ECLASS: office-ext-r1.eclass
6# @MAINTAINER: 6# @MAINTAINER:
7# The office team <openoffice@gentoo.org> 7# The office team <openoffice@gentoo.org>
8# @AUTHOR: 8# @AUTHOR:
59 59
60IUSE="" 60IUSE=""
61RDEPEND="" 61RDEPEND=""
62 62
63for i in ${OFFICE_IMPLEMENTATIONS[@]}; do 63for i in ${OFFICE_IMPLEMENTATIONS[@]}; do
64 # Set default on for the libreoffice implementation.
65 # Or if we have just one impl set it also on enabled.
66 if [[ ${i} == libreoffice || ${#OFFICE_IMPLEMENTATIONS[@]} == 1 ]]; then
67 IUSE+=" +office_implementation_${i}"
68 else
69 IUSE+=" office_implementation_${i}" 64 IUSE+=" office_implementation_${i}"
70 fi
71 RDEPEND+=" 65 RDEPEND+="
72 office_implementation_${i}? ( 66 office_implementation_${i}? (
73 || ( 67 || (
74 app-office/${i}${OFFICE_REQ_USE} 68 app-office/${i}${OFFICE_REQ_USE}
75 app-office/${i}-bin${OFFICE_REQ_USE} 69 app-office/${i}-bin${OFFICE_REQ_USE}

Legend:
Removed from v.1.2  
changed lines
  Added in v.1.3

  ViewVC Help
Powered by ViewVC 1.1.20