/[gentoo-x86]/eclass/kde4-meta.eclass
Gentoo

Diff of /eclass/kde4-meta.eclass

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

Revision 1.28 Revision 1.29
1# Copyright 1999-2009 Gentoo Foundation 1# Copyright 1999-2009 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-meta.eclass,v 1.28 2009/12/01 10:56:17 scarabeus Exp $ 3# $Header: /var/cvsroot/gentoo-x86/eclass/kde4-meta.eclass,v 1.29 2009/12/02 17:07:05 abcd Exp $
4# 4#
5# @ECLASS: kde4-meta.eclass 5# @ECLASS: kde4-meta.eclass
6# @MAINTAINER: 6# @MAINTAINER:
7# kde@gentoo.org 7# kde@gentoo.org
8# @BLURB: Eclass for writing "split" KDE packages. 8# @BLURB: Eclass for writing "split" KDE packages.
16 16
17EXPORT_FUNCTIONS pkg_setup src_unpack src_prepare src_configure src_compile src_test src_install pkg_postinst pkg_postrm 17EXPORT_FUNCTIONS pkg_setup src_unpack src_prepare src_configure src_compile src_test src_install pkg_postinst pkg_postrm
18 18
19if [[ -z ${KMNAME} ]]; then 19if [[ -z ${KMNAME} ]]; then
20 die "kde4-meta.eclass inherited but KMNAME not defined - broken ebuild" 20 die "kde4-meta.eclass inherited but KMNAME not defined - broken ebuild"
21fi
22
23# Add khelpcenter dependency when installing handbooks
24if [[ ${PN} != khelpcenter ]] && has handbook ${IUSE//+}; then
25 RDEPEND+=" handbook? ( $(add_kdebase_dep khelpcenter) )"
21fi 26fi
22 27
23# Add dependencies that all packages in a certain module share. 28# Add dependencies that all packages in a certain module share.
24case ${KMNAME} in 29case ${KMNAME} in
25 kdebase|kdebase-apps|kdebase-workspace|kdebase-runtime|kdegraphics) 30 kdebase|kdebase-apps|kdebase-workspace|kdebase-runtime|kdegraphics)
206 "${S}"/CMakeLists.txt || die "Sed to exclude bin/kde4 failed" 211 "${S}"/CMakeLists.txt || die "Sed to exclude bin/kde4 failed"
207 fi 212 fi
208 else 213 else
209 local abort tarball tarfile f extractlist moduleprefix postfix 214 local abort tarball tarfile f extractlist moduleprefix postfix
210 case ${PV} in 215 case ${PV} in
211 4.3.85 | 4.3.9[0568]) 216 4.3.8[05] | 4.3.9[0568])
212 # block for normally packed upstream unstable snapshots 217 # block for normally packed upstream unstable snapshots
213 KMTARPARAMS+=" --bzip2" # bz2 218 KMTARPARAMS+=" --bzip2" # bz2
214 postfix="bz2" 219 postfix="bz2"
215 ;; 220 ;;
216 4.3.[6-9]*) 221 4.3.[6-9]*)

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

  ViewVC Help
Powered by ViewVC 1.1.20