/[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.13 Revision 1.15
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.13 2008/10/02 06:49:02 jmbsvicetto Exp $ 3# $Header: /var/cvsroot/gentoo-x86/eclass/kde4-base.eclass,v 1.15 2008/10/11 03:05:37 jmbsvicetto 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
99esac 99esac
100 100
101# Set the common dependencies 101# Set the common dependencies
102DEPEND="${DEPEND} ${COMMONDEPEND} ${CMAKEDEPEND} 102DEPEND="${DEPEND} ${COMMONDEPEND} ${CMAKEDEPEND}
103 dev-util/pkgconfig 103 dev-util/pkgconfig
104 kde-base/automoc
104 x11-libs/libXt 105 x11-libs/libXt
105 x11-proto/xf86vidmodeproto" 106 x11-proto/xf86vidmodeproto"
106RDEPEND="${RDEPEND} ${COMMONDEPEND}" 107RDEPEND="${RDEPEND} ${COMMONDEPEND}"
107 108
108# Add the kdeprefix use flag 109# Add the kdeprefix use flag
385 KDEDIR="/usr" 386 KDEDIR="/usr"
386 KDEDIRS="/usr:/usr/local" 387 KDEDIRS="/usr:/usr/local"
387 ;; 388 ;;
388 esac 389 esac
389 fi 390 fi
390 391
391 if [[ -n ${KDEBASE} ]]; then 392 # Set the prefix based on KDEDIR
393 # Make it a consequence of kdeprefix
392 PREFIX=${KDEDIR} 394 PREFIX=${KDEDIR}
393 else
394 # if PREFIX is not defined we set it to the default value of /usr
395 PREFIX="${PREFIX:-/usr}"
396 fi
397 395
398 unset _kdedir 396 unset _kdedir
399 397
400 case "${EAPI}" in 398 case "${EAPI}" in
401 2 | 2_pre3 | 2_pre2 | 2_pre1) 399 2 | 2_pre3 | 2_pre2 | 2_pre1)

Legend:
Removed from v.1.13  
changed lines
  Added in v.1.15

  ViewVC Help
Powered by ViewVC 1.1.20