/[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.28 Revision 1.29
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.28 2009/02/02 21:35:08 scarabeus Exp $ 3# $Header: /var/cvsroot/gentoo-x86/eclass/kde4-base.eclass,v 1.29 2009/02/10 20:07:24 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
437 # Don't set KDEHOME during compile, it will cause access violations 437 # Don't set KDEHOME during compile, it will cause access violations
438 unset KDEHOME 438 unset KDEHOME
439 439
440 # Search for best suitable kde installation for misc kde package. 440 # Search for best suitable kde installation for misc kde package.
441 # Computation based on NEED_KDE and KDE_MINIMAL 441 # Computation based on NEED_KDE and KDE_MINIMAL
442 get_latest_kdedir 442 [[ ${NEED_KDE} = latest || ${NEED_KDE} = none ]] && get_latest_kdedir
443 443
444 if [[ $NEED_KDE != none ]]; then
445 # Set PREFIX 444 # Set PREFIX
446 if use kdeprefix; then 445 if use kdeprefix; then
447 KDEDIR="/usr/kde/${_kdedir}" 446 KDEDIR="/usr/kde/${_kdedir}"
448 KDEDIRS="/usr/local/:/usr:${KDEDIR}" 447 KDEDIRS="/usr/local/:/usr:${KDEDIR}"
449 else 448 else
450 KDEDIR="/usr" 449 KDEDIR="/usr"
451 KDEDIRS="/usr/local/:/usr" 450 KDEDIRS="/usr/local/:/usr"
452 fi
453 fi 451 fi
454 # Set the prefix based on KDEDIR 452 # Set the prefix based on KDEDIR
455 # Make it a consequence of kdeprefix 453 # Make it a consequence of kdeprefix
456 PREFIX=$KDEDIR 454 PREFIX=$KDEDIR
457 455

Legend:
Removed from v.1.28  
changed lines
  Added in v.1.29

  ViewVC Help
Powered by ViewVC 1.1.20