/[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.1 Revision 1.3
1# Copyright 1999-2008 Gentoo Foundation 1# Copyright 1999-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-meta.eclass,v 1.1 2008/01/16 22:51:47 ingmar Exp $ 3# $Header: /var/cvsroot/gentoo-x86/eclass/kde4-meta.eclass,v 1.3 2008/02/24 21:45:39 keytoaster 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.
231 ;; 231 ;;
232 esac 232 esac
233 # Don't install cmake modules for split ebuilds to avoid collisions. 233 # Don't install cmake modules for split ebuilds to avoid collisions.
234 case ${KMNAME} in 234 case ${KMNAME} in
235 kdebase-workspace|kdebase-runtime|kdepim|kdegames) 235 kdebase-workspace|kdebase-runtime|kdepim|kdegames)
236 if [[ ${PN} != "libkdegames" ]]; then
236 KMCOMPILEONLY="${KMCOMPILEONLY} 237 KMCOMPILEONLY="${KMCOMPILEONLY}
237 cmake/modules/" 238 cmake/modules/"
239 else
240 KMEXTRA="${KMEXTRA}
241 cmake/modules/"
242 fi
238 ;; 243 ;;
239 esac 244 esac
240 245
241 debug-print "line ${LINENO} ${ECLASS} ${FUNCNAME}: KMEXTRACTONLY ${KMEXTRACTONLY}" 246 debug-print "line ${LINENO} ${ECLASS} ${FUNCNAME}: KMEXTRACTONLY ${KMEXTRACTONLY}"
242} 247}
400 die "${LINENO}: sed died in the kdebase-startkde collision prevention section" 405 die "${LINENO}: sed died in the kdebase-startkde collision prevention section"
401 ;; 406 ;;
402 esac 407 esac
403 fi 408 fi
404 ;; 409 ;;
410 # This is sort of a hack to avoid patching 16 kdeutils packages with
411 # r775410 from upstream trunk which makes blitz optional so superkaramba
412 # only gets compiled when it is found. Bug #209324. Remove this no later
413 # than 4.1.
414 kdeutils)
415 if [[ ${PN} != superkaramba && ${SLOT} == kde-4 ]]; then
416 sed -i -e '/find_package(Blitz REQUIRED)/d' "${S}"/CMakeLists.txt \
417 || die "${LINENO}: sed to remove dependency on Blitz failed."
418 fi
419 ;;
405 koffice) 420 koffice)
406 if [[ ${PN} != koffice-libs ]]; then 421 if [[ ${PN} != koffice-libs ]]; then
407 sed -i -e '/^INSTALL(FILES.*koffice.desktop/ s/^/#DONOTINSTALL /' \ 422 sed -i -e '/^INSTALL(FILES.*koffice.desktop/ s/^/#DONOTINSTALL /' \
408 doc/CMakeLists.txt || \ 423 doc/CMakeLists.txt || \
409 die "${LINENO}: sed died in the koffice.desktop collision prevention section" 424 die "${LINENO}: sed died in the koffice.desktop collision prevention section"

Legend:
Removed from v.1.1  
changed lines
  Added in v.1.3

  ViewVC Help
Powered by ViewVC 1.1.20