/[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.59 Revision 1.60
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.59 2012/05/08 22:00:49 dilfridge Exp $ 3# $Header: /var/cvsroot/gentoo-x86/eclass/kde4-functions.eclass,v 1.60 2012/08/01 19:38:52 johu Exp $
4 4
5inherit versionator 5inherit versionator
6 6
7# @ECLASS: kde4-functions.eclass 7# @ECLASS: kde4-functions.eclass
8# @MAINTAINER: 8# @MAINTAINER:
44 KDEBASE=kdevelop 44 KDEBASE=kdevelop
45fi 45fi
46 46
47# determine the build type 47# determine the build type
48if [[ ${PV} = *9999* ]]; then 48if [[ ${PV} = *9999* ]]; then
49 BUILD_TYPE="live" 49 KDE_BUILD_TYPE="live"
50else 50else
51 BUILD_TYPE="release" 51 KDE_BUILD_TYPE="release"
52fi 52fi
53export BUILD_TYPE 53export KDE_BUILD_TYPE
54 54
55# Set reponame and SCM for moduleses that have fully migrated to git 55# Set reponame and SCM for modules that have fully migrated to git
56# (hack - it's here because it needs to be before SCM inherits from kde4-base) 56# (hack - it's here because it needs to be before SCM inherits from kde4-base)
57if [[ ${BUILD_TYPE} == live ]]; then 57if [[ ${KDE_BUILD_TYPE} == live ]]; then
58 case "${KMNAME}" in 58 case "${KMNAME}" in
59 kdebase-workspace) 59 kdebase-workspace)
60 KDE_SCM="git" 60 KDE_SCM="git"
61 EGIT_REPONAME=${EGIT_REPONAME:=kde-workspace} 61 EGIT_REPONAME=${EGIT_REPONAME:=kde-workspace}
62 ;; 62 ;;
91# this variable before inheriting any eclasses. To enable only selected 91# this variable before inheriting any eclasses. To enable only selected
92# translations, ebuilds must call enable_selected_linguas(). kde4-{base,meta}.eclass does 92# translations, ebuilds must call enable_selected_linguas(). kde4-{base,meta}.eclass does
93# this for you. 93# this for you.
94# 94#
95# Example: KDE_LINGUAS="en_GB de nl" 95# Example: KDE_LINGUAS="en_GB de nl"
96if [[ ${BUILD_TYPE} != live || -n ${KDE_LINGUAS_LIVE_OVERRIDE} ]]; then 96if [[ ${KDE_BUILD_TYPE} != live || -n ${KDE_LINGUAS_LIVE_OVERRIDE} ]]; then
97 for _lingua in ${KDE_LINGUAS}; do 97 for _lingua in ${KDE_LINGUAS}; do
98 IUSE="${IUSE} linguas_${_lingua}" 98 IUSE="${IUSE} linguas_${_lingua}"
99 done 99 done
100fi 100fi
101 101

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

  ViewVC Help
Powered by ViewVC 1.1.20