/[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.14 Revision 1.17
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.14 2008/10/04 14:51:02 jmbsvicetto Exp $ 3# $Header: /var/cvsroot/gentoo-x86/eclass/kde4-base.eclass,v 1.17 2008/11/21 17:06:03 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
49 ;; 49 ;;
50 esac 50 esac
51 51
52 # split qt 52 # split qt
53 qtdepend=" 53 qtdepend="
54 !x11-libs/qt-phonon
54 x11-libs/qt-core:4${qtcore} 55 x11-libs/qt-core:4${qtcore}
55 x11-libs/qt-gui:4${qtgui} 56 x11-libs/qt-gui:4${qtgui}
56 x11-libs/qt-qt3support:4${qt3support} 57 x11-libs/qt-qt3support:4${qt3support}
57 x11-libs/qt-script:4 58 x11-libs/qt-script:4
58 x11-libs/qt-svg:4 59 x11-libs/qt-svg:4
386 KDEDIR="/usr" 387 KDEDIR="/usr"
387 KDEDIRS="/usr:/usr/local" 388 KDEDIRS="/usr:/usr/local"
388 ;; 389 ;;
389 esac 390 esac
390 fi 391 fi
391 392
392 if [[ -n ${KDEBASE} ]]; then 393 # Set the prefix based on KDEDIR
394 # Make it a consequence of kdeprefix
393 PREFIX=${KDEDIR} 395 PREFIX=${KDEDIR}
394 else
395 # if PREFIX is not defined we set it to the default value of /usr
396 PREFIX="${PREFIX:-/usr}"
397 fi
398 396
399 unset _kdedir 397 unset _kdedir
400 398
401 case "${EAPI}" in 399 case "${EAPI}" in
402 2 | 2_pre3 | 2_pre2 | 2_pre1) 400 2 | 2_pre3 | 2_pre2 | 2_pre1)
502 if [[ -z $* ]]; then 500 if [[ -z $* ]]; then
503 # Unpack first and deal with KDE patches after examing possible patch sets. 501 # Unpack first and deal with KDE patches after examing possible patch sets.
504 # To be picked up, patches need to conform to the guidelines stated before. 502 # To be picked up, patches need to conform to the guidelines stated before.
505 # Monolithic ebuilds will use the split ebuild patches. 503 # Monolithic ebuilds will use the split ebuild patches.
506 [[ -d "${KDE_S}" ]] || unpack ${A} 504 [[ -d "${KDE_S}" ]] || unpack ${A}
507 kde4-base_apply_patches 505 base_src_unpack $*
508 else 506 else
509 # Call base_src_unpack, which unpacks and patches 507 # Call base_src_unpack, which unpacks and patches
510 # step by step transparently as defined in the ebuild. 508 # step by step transparently as defined in the ebuild.
511 base_src_unpack $* 509 base_src_unpack $*
512 fi 510 fi

Legend:
Removed from v.1.14  
changed lines
  Added in v.1.17

  ViewVC Help
Powered by ViewVC 1.1.20