/[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.18 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.18 2008/11/22 01:23:31 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
289 fi 289 fi
290 done 290 done
291 ;; 291 ;;
292 esac 292 esac
293 293
294 # Adding kdelibs, kdepimlibs and kdebase-data deps to all other packages.
294 # 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"
295 if [[ ${PN} != "kdelibs" ]]; then 296 if [[ ${PN} != "kdelibs" ]]; then
296 case "${EAPI}" in 297 case "${EAPI}" in
297 2 | 2_pre3 | 2_pre2 | 2_pre1) 298 2 | 2_pre3 | 2_pre2 | 2_pre1)
298 DEPEND="${DEPEND} ${_operator}kde-base/kdelibs${_pv}[kdeprefix=]" 299 DEPEND="${DEPEND} ${_operator}kde-base/kdelibs${_pv}[kdeprefix=]"
310 RDEPEND="${RDEPEND} ${_operator}kde-base/kdepimlibs${_pv}[kdeprefix=]" 311 RDEPEND="${RDEPEND} ${_operator}kde-base/kdepimlibs${_pv}[kdeprefix=]"
311 ;; 312 ;;
312 *) 313 *)
313 DEPEND="${DEPEND} ${_operator}kde-base/kdepimlibs${_pv}" 314 DEPEND="${DEPEND} ${_operator}kde-base/kdepimlibs${_pv}"
314 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 ;;
315 esac 325 esac
326 fi
316 fi 327 fi
317 fi 328 fi
318 329
319 unset _operator _pv 330 unset _operator _pv
320fi 331fi

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

  ViewVC Help
Powered by ViewVC 1.1.20