/[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.31 Revision 1.32
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.31 2009/03/09 19:41:26 scarabeus Exp $ 3# $Header: /var/cvsroot/gentoo-x86/eclass/kde4-base.eclass,v 1.32 2009/03/11 17:40:51 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
608# @DESCRIPTION: 608# @DESCRIPTION:
609# General function for compiling KDE4 applications. 609# General function for compiling KDE4 applications.
610kde4-base_src_compile() { 610kde4-base_src_compile() {
611 debug-print-function ${FUNCNAME} "$@" 611 debug-print-function ${FUNCNAME} "$@"
612 612
613 kde4-base_src_make 613 cmake-utils_src_compile
614}
615
616# @FUNCTION: kde4-base_src_make
617# @DESCRIPTION:
618# Function for building KDE4 applications.
619# Options are passed to cmake-utils_src_make.
620kde4-base_src_make() {
621 debug-print-function ${FUNCNAME} "$@"
622
623 if [[ -d "$WORKDIR/${PN}_build" ]]; then
624 pushd "${WORKDIR}/${PN}_build" > /dev/null
625 fi
626 [ -e [Mm]akefile ] && cmake-utils_src_make "$@"
627} 614}
628 615
629# @FUNCTION: kde4-base_src_test 616# @FUNCTION: kde4-base_src_test
630# @DESCRIPTION: 617# @DESCRIPTION:
631# Function for testing KDE4 applications. 618# Function for testing KDE4 applications.
649 if [[ -n ${KMSAVELIBS} ]] ; then 636 if [[ -n ${KMSAVELIBS} ]] ; then
650 install_library_dependencies 637 install_library_dependencies
651 fi 638 fi
652 639
653 kde4-base_src_make_doc 640 kde4-base_src_make_doc
654 if [[ -d "$WORKDIR/${PN}_build" ]]; then 641 cmake-utils_src_install
655 pushd "${WORKDIR}/${PN}_build" > /dev/null
656 fi
657 [ -e [Mm]akefile ] && cmake-utils_src_install
658} 642}
659 643
660# @FUNCTION: kde4-base_src_make_doc 644# @FUNCTION: kde4-base_src_make_doc
661# @DESCRIPTION: 645# @DESCRIPTION:
662# Function for installing the documentation of KDE4 applications. 646# Function for installing the documentation of KDE4 applications.

Legend:
Removed from v.1.31  
changed lines
  Added in v.1.32

  ViewVC Help
Powered by ViewVC 1.1.20