/[gentoo-x86]/eclass/kde4-base.eclass
Gentoo

Diff of /eclass/kde4-base.eclass

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

Revision 1.88 Revision 1.89
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/kde4-base.eclass,v 1.88 2011/04/21 20:01:23 dilfridge Exp $ 3# $Header: /var/cvsroot/gentoo-x86/eclass/kde4-base.eclass,v 1.89 2011/04/22 11:18:34 scarabeus Exp $
4 4
5# @ECLASS: kde4-base.eclass 5# @ECLASS: kde4-base.eclass
6# @MAINTAINER: 6# @MAINTAINER:
7# kde@gentoo.org 7# kde@gentoo.org
8# @BLURB: This eclass provides functions for kde 4.X ebuilds 8# @BLURB: This eclass provides functions for kde 4.X ebuilds
376 kderdepend+=" $(add_kdebase_dep oxygen-icons)" 376 kderdepend+=" $(add_kdebase_dep oxygen-icons)"
377fi 377fi
378 378
379# add a dependency over kde-l10n if EAPI4 is around 379# add a dependency over kde-l10n if EAPI4 is around
380if [[ ${KDEBASE} != "kde-base" ]] && [[ -n ${KDE_LINGUAS} ]] && has "${EAPI:-0}" 4; then 380if [[ ${KDEBASE} != "kde-base" ]] && [[ -n ${KDE_LINGUAS} ]] && has "${EAPI:-0}" 4; then
381 usedep=''
382 for _lingua in ${KDE_LINGUAS}; do 381 for _lingua in ${KDE_LINGUAS}; do
383 [[ -n ${usedep} ]] && usedep+="," 382 # if our package has lignuas, pull in kde-l10n with selected lingua enabled,
384 usedep+="linguas_${_lingua}(+)?" 383 # but only for selected ones.
384 # this can't be done on one line because if user doesn't use any localisation
385 # then he is probably not interested in kde-l10n at all.
386 kderdepend+="
387 linguas_${_lingua}? ( $(add_kdebase_dep kde-l10n linguas_${_lingua}(+)?) )
388 "
385 done 389 done
386 # if our package has lignuas pull in kde-l10n with selected lingua
387 kderdepend+=" $(add_kdebase_dep kde-l10n ${usedep})"
388 unset usedep _lingua 390 unset _lingua
389fi 391fi
390 392
391kdehandbookdepend=" 393kdehandbookdepend="
392 app-text/docbook-xml-dtd:4.2 394 app-text/docbook-xml-dtd:4.2
393 app-text/docbook-xsl-stylesheets 395 app-text/docbook-xsl-stylesheets

Legend:
Removed from v.1.88  
changed lines
  Added in v.1.89

  ViewVC Help
Powered by ViewVC 1.1.20