/[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.2
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.2 2008/02/15 19:48:40 zlin 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.
400 die "${LINENO}: sed died in the kdebase-startkde collision prevention section" 400 die "${LINENO}: sed died in the kdebase-startkde collision prevention section"
401 ;; 401 ;;
402 esac 402 esac
403 fi 403 fi
404 ;; 404 ;;
405 # This is sort of a hack to avoid patching 16 kdeutils packages with
406 # r775410 from upstream trunk which makes blitz optional so superkaramba
407 # only gets compiled when it is found. Bug #209324. Remove this no later
408 # than 4.1.
409 kdeutils)
410 if [[ ${PN} != superkaramba && ${SLOT} == kde-4 ]]; then
411 sed -i -e '/find_package(Blitz REQUIRED)/d' "${S}"/CMakeLists.txt \
412 || die "${LINENO}: sed to remove dependency on Blitz failed."
413 fi
414 ;;
405 koffice) 415 koffice)
406 if [[ ${PN} != koffice-libs ]]; then 416 if [[ ${PN} != koffice-libs ]]; then
407 sed -i -e '/^INSTALL(FILES.*koffice.desktop/ s/^/#DONOTINSTALL /' \ 417 sed -i -e '/^INSTALL(FILES.*koffice.desktop/ s/^/#DONOTINSTALL /' \
408 doc/CMakeLists.txt || \ 418 doc/CMakeLists.txt || \
409 die "${LINENO}: sed died in the koffice.desktop collision prevention section" 419 die "${LINENO}: sed died in the koffice.desktop collision prevention section"

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

  ViewVC Help
Powered by ViewVC 1.1.20