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

Diff of /eclass/kde4-functions.eclass

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

Revision 1.60 Revision 1.61
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/kde4-functions.eclass,v 1.60 2012/08/01 19:38:52 johu Exp $ 3# $Header: /var/cvsroot/gentoo-x86/eclass/kde4-functions.eclass,v 1.61 2012/08/19 11:12:35 johu Exp $
4 4
5inherit versionator 5inherit versionator
6 6
7# @ECLASS: kde4-functions.eclass 7# @ECLASS: kde4-functions.eclass
8# @MAINTAINER: 8# @MAINTAINER:
30# Warning- may lead to general instability and kill your pet targh. 30# Warning- may lead to general instability and kill your pet targh.
31 31
32# @ECLASS-VARIABLE: KDEBASE 32# @ECLASS-VARIABLE: KDEBASE
33# @DESCRIPTION: 33# @DESCRIPTION:
34# This gets set to a non-zero value when a package is considered a kde or 34# This gets set to a non-zero value when a package is considered a kde or
35# koffice ebuild. 35# kdevelop ebuild.
36if [[ ${CATEGORY} = kde-base ]]; then 36if [[ ${CATEGORY} = kde-base ]]; then
37 debug-print "${ECLASS}: KDEBASE ebuild recognized" 37 debug-print "${ECLASS}: KDEBASE ebuild recognized"
38 KDEBASE=kde-base 38 KDEBASE=kde-base
39elif [[ ${KMNAME-${PN}} = koffice ]]; then
40 debug-print "${ECLASS}: KOFFICE ebuild recognized"
41 KDEBASE=koffice
42elif [[ ${KMNAME-${PN}} = kdevelop ]]; then 39elif [[ ${KMNAME-${PN}} = kdevelop ]]; then
43 debug-print "${ECLASS}: KDEVELOP ebuild recognized" 40 debug-print "${ECLASS}: KDEVELOP ebuild recognized"
44 KDEBASE=kdevelop 41 KDEBASE=kdevelop
45fi 42fi
46 43
90# These translations are automatically added to IUSE. Therefore ebuilds must set 87# These translations are automatically added to IUSE. Therefore ebuilds must set
91# this variable before inheriting any eclasses. To enable only selected 88# this variable before inheriting any eclasses. To enable only selected
92# translations, ebuilds must call enable_selected_linguas(). kde4-{base,meta}.eclass does 89# translations, ebuilds must call enable_selected_linguas(). kde4-{base,meta}.eclass does
93# this for you. 90# this for you.
94# 91#
95# Example: KDE_LINGUAS="en_GB de nl" 92# Example: KDE_LINGUAS="de en_GB nl"
96if [[ ${KDE_BUILD_TYPE} != live || -n ${KDE_LINGUAS_LIVE_OVERRIDE} ]]; then 93if [[ ${KDE_BUILD_TYPE} != live || -n ${KDE_LINGUAS_LIVE_OVERRIDE} ]]; then
97 for _lingua in ${KDE_LINGUAS}; do 94 for _lingua in ${KDE_LINGUAS}; do
98 IUSE="${IUSE} linguas_${_lingua}" 95 IUSE="${IUSE} linguas_${_lingua}"
99 done 96 done
100fi 97fi

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

  ViewVC Help
Powered by ViewVC 1.1.20