/[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.1 Revision 1.3
1# Copyright 2007-2008 Gentoo Foundation 1# Copyright 2007-2008 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.1 2008/01/16 22:50:46 ingmar Exp $ 3# $Header: /var/cvsroot/gentoo-x86/eclass/kde4-base.eclass,v 1.3 2008/02/18 17:00:32 ingmar 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.0 ebuilds 8# @BLURB: This eclass provides functions for kde 4.0 ebuilds
86 _pv="-${NEED_KDE}" 86 _pv="-${NEED_KDE}"
87 export NEED_KDE="svn" 87 export NEED_KDE="svn"
88 ;; 88 ;;
89 # The ebuild handles dependencies, KDEDIR, SLOT. 89 # The ebuild handles dependencies, KDEDIR, SLOT.
90 none) 90 none)
91 # This shouldn't be used for kde-base ebuilds. 91 :
92 if [[ -n ${KDEBASE} ]]; then
93 die 'Ebuilds part of kde-base ebuilds should not use NEED_KDE="none".'
94 fi
95 ;; 92 ;;
96 # NEED_KDE=":${SLOT}" 93 # NEED_KDE=":${SLOT}"
97 :kde-4) 94 :kde-4)
98 _kdedir="4.0" 95 _kdedir="4.0"
99 _pv="${NEED_KDE}" 96 _pv="${NEED_KDE}"
207# errors and die if any required flags listed in $QT4_BUILT_WITH_USE_CHECK or 204# errors and die if any required flags listed in $QT4_BUILT_WITH_USE_CHECK or
208# $KDE4_BUILT_WITH_USE_CHECK are missing. 205# $KDE4_BUILT_WITH_USE_CHECK are missing.
209kde4-base_pkg_setup() { 206kde4-base_pkg_setup() {
210 debug-print-function $FUNCNAME "$@" 207 debug-print-function $FUNCNAME "$@"
211 208
212 # KDE4 applications require qt4 compiled with USE="accessibility dbus jpeg png qt3support ssl zlib". 209 # KDE4 applications require qt4 compiled with USE="accessibility dbus gif jpeg png qt3support ssl zlib".
213 QT4_BUILT_WITH_USE_CHECK="${QT4_BUILT_WITH_USE_CHECK} accessibility dbus jpeg png qt3support ssl zlib" 210 QT4_BUILT_WITH_USE_CHECK="${QT4_BUILT_WITH_USE_CHECK} accessibility dbus gif jpeg png qt3support ssl zlib"
214 211
215 if has debug ${IUSE//+} && use debug; then 212 if has debug ${IUSE//+} && use debug; then
216 QT4_BUILT_WITH_USE_CHECK="${QT4_BUILT_WITH_USE_CHECK} debug" 213 QT4_BUILT_WITH_USE_CHECK="${QT4_BUILT_WITH_USE_CHECK} debug"
217 fi 214 fi
218 215

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

  ViewVC Help
Powered by ViewVC 1.1.20