/[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.35 Revision 1.36
1# Copyright 2007-2009 Gentoo Foundation 1# Copyright 2007-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-base.eclass,v 1.35 2009/04/15 11:09:50 scarabeus Exp $ 3# $Header: /var/cvsroot/gentoo-x86/eclass/kde4-base.eclass,v 1.36 2009/04/18 21:33:08 scarabeus 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
395 PREFIX="${PREFIX:-/usr}" 395 PREFIX="${PREFIX:-/usr}"
396 fi 396 fi
397 397
398 # Not needed anymore 398 # Not needed anymore
399 unset _kdedir 399 unset _kdedir
400
401 if [[ ${BUILD_TYPE} = live ]] && [[ -z ${I_KNOW_WHAT_I_AM_DOING} ]]; then
402 echo
403 elog "WARNING! This is an experimental live ebuild of ${KMNAME:-${PN}}"
404 elog "Use it at your own risk."
405 elog "Do _NOT_ file bugs at bugs.gentoo.org because of this ebuild!"
406 echo
407 fi
408} 400}
409 401
410# @FUNCTION: kde4-base_src_unpack 402# @FUNCTION: kde4-base_src_unpack
411# @DESCRIPTION: 403# @DESCRIPTION:
412# This function unpacks the source tarballs for KDE4 applications. 404# This function unpacks the source tarballs for KDE4 applications.
569# Function to rebuild the KDE System Configuration Cache after an application has been installed. 561# Function to rebuild the KDE System Configuration Cache after an application has been installed.
570kde4-base_pkg_postinst() { 562kde4-base_pkg_postinst() {
571 debug-print-function ${FUNCNAME} "$@" 563 debug-print-function ${FUNCNAME} "$@"
572 564
573 buildsycoca 565 buildsycoca
566
567 if [[ ${BUILD_TYPE} = live ]] && [[ -z ${I_KNOW_WHAT_I_AM_DOING} ]]; then
568 echo
569 einfo "WARNING! This is an experimental live ebuild of ${KMNAME:-${PN}}"
570 einfo "Use it at your own risk."
571 einfo "Do _NOT_ file bugs at bugs.gentoo.org because of this ebuild!"
572 echo
573 fi
574} 574}
575 575
576# @FUNCTION: kde4-base_pkg_postrm 576# @FUNCTION: kde4-base_pkg_postrm
577# @DESCRIPTION: 577# @DESCRIPTION:
578# Function to rebuild the KDE System Configuration Cache after an application has been removed. 578# Function to rebuild the KDE System Configuration Cache after an application has been removed.

Legend:
Removed from v.1.35  
changed lines
  Added in v.1.36

  ViewVC Help
Powered by ViewVC 1.1.20