/[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.17 Revision 1.19
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.17 2008/11/21 17:06:03 jmbsvicetto Exp $ 3# $Header: /var/cvsroot/gentoo-x86/eclass/kde4-base.eclass,v 1.19 2008/12/07 11:39:32 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
55 x11-libs/qt-core:4${qtcore} 54 x11-libs/qt-core:4${qtcore}
56 x11-libs/qt-gui:4${qtgui} 55 x11-libs/qt-gui:4${qtgui}
57 x11-libs/qt-qt3support:4${qt3support} 56 x11-libs/qt-qt3support:4${qt3support}
58 x11-libs/qt-script:4 57 x11-libs/qt-script:4
59 x11-libs/qt-svg:4 58 x11-libs/qt-svg:4
83 *) 82 *)
84 OPENGL_REQUIRED="never" 83 OPENGL_REQUIRED="never"
85 ;; 84 ;;
86 esac 85 esac
87 86
88 COMMONDEPEND="${COMMONDEPEND} ${qtdepend}" 87 COMMONDEPEND="${COMMONDEPEND} ${qtdepend} !x11-libs/qt-phonon"
89} 88}
90kde4-base_set_qt_dependencies 89kde4-base_set_qt_dependencies
91 90
92# Set the cmake dependencies 91# Set the cmake dependencies
93case "${PV}" in 92case "${PV}" in
290 fi 289 fi
291 done 290 done
292 ;; 291 ;;
293 esac 292 esac
294 293
294 # Adding kdelibs, kdepimlibs and kdebase-data deps to all other packages.
295 # We only need to add the dependencies if ${PN} is not "kdelibs" or "kdepimlibs" 295 # We only need to add the dependencies if ${PN} is not "kdelibs" or "kdepimlibs"
296 if [[ ${PN} != "kdelibs" ]]; then 296 if [[ ${PN} != "kdelibs" ]]; then
297 case "${EAPI}" in 297 case "${EAPI}" in
298 2 | 2_pre3 | 2_pre2 | 2_pre1) 298 2 | 2_pre3 | 2_pre2 | 2_pre1)
299 DEPEND="${DEPEND} ${_operator}kde-base/kdelibs${_pv}[kdeprefix=]" 299 DEPEND="${DEPEND} ${_operator}kde-base/kdelibs${_pv}[kdeprefix=]"
311 RDEPEND="${RDEPEND} ${_operator}kde-base/kdepimlibs${_pv}[kdeprefix=]" 311 RDEPEND="${RDEPEND} ${_operator}kde-base/kdepimlibs${_pv}[kdeprefix=]"
312 ;; 312 ;;
313 *) 313 *)
314 DEPEND="${DEPEND} ${_operator}kde-base/kdepimlibs${_pv}" 314 DEPEND="${DEPEND} ${_operator}kde-base/kdepimlibs${_pv}"
315 RDEPEND="${RDEPEND} ${_operator}kde-base/kdepimlibs${_pv}" 315 RDEPEND="${RDEPEND} ${_operator}kde-base/kdepimlibs${_pv}"
316 esac
317 if [[ ${PN} != "kdebase-data" ]]; then
318 case "${EAPI}" in
319 2)
320 RDEPEND="${RDEPEND} ${_operator}kde-base/kdebase-data${_pv}[kdeprefix=]"
321 ;;
322 *)
323 RDEPEND="${RDEPEND} ${_operator}kde-base/kdebase-data${_pv}"
324 ;;
316 esac 325 esac
326 fi
317 fi 327 fi
318 fi 328 fi
319 329
320 unset _operator _pv 330 unset _operator _pv
321fi 331fi

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

  ViewVC Help
Powered by ViewVC 1.1.20