/[gentoo-x86]/eclass/mozlinguas.eclass
Gentoo

Diff of /eclass/mozlinguas.eclass

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

Revision 1.2 Revision 1.3
1# Copyright 1999-2012 Gentoo Foundation 1# Copyright 1999-2012 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/mozlinguas.eclass,v 1.2 2012/02/07 15:17:47 polynomial-c Exp $ 3# $Header: /var/cvsroot/gentoo-x86/eclass/mozlinguas.eclass,v 1.3 2012/02/07 15:19:22 polynomial-c Exp $
4 4
5# @ECLASS: mozlinguas.eclass 5# @ECLASS: mozlinguas.eclass
6# @MAINTAINER: 6# @MAINTAINER:
7# mozilla@gentoo.org 7# mozilla@gentoo.org
8# @AUTHOR: 8# @AUTHOR:
67# Defaults to '.xpi' 67# Defaults to '.xpi'
68: ${MOZ_LANGPACK_SUFFIX:=".xpi"} 68: ${MOZ_LANGPACK_SUFFIX:=".xpi"}
69 69
70# Add linguas_* to IUSE according to available language packs 70# Add linguas_* to IUSE according to available language packs
71# No language packs for alphas and betas 71# No language packs for alphas and betas
72if ! [[ ${PV} =~ alpha|beta ]]|| { [[ ${PN} == seamonkey ]] && ! [[ ${PV} =~ alpha ]] ; } ; then 72if ! [[ ${PV} =~ alpha|beta ]] || { [[ ${PN} == seamonkey ]] && ! [[ ${PV} =~ alpha ]] ; } ; then
73 for x in "${MOZ_LANGS[@]}" ; do 73 for x in "${MOZ_LANGS[@]}" ; do
74 # en and en_US are handled internally 74 # en and en_US are handled internally
75 if [[ ${x} == en ]] || [[ ${x} == en-US ]]; then 75 if [[ ${x} == en ]] || [[ ${x} == en-US ]]; then
76 continue 76 continue
77 fi 77 fi

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

  ViewVC Help
Powered by ViewVC 1.1.20