/[gentoo-x86]/eclass/xfconf.eclass
Gentoo

Diff of /eclass/xfconf.eclass

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

Revision 1.10 Revision 1.11
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/xfconf.eclass,v 1.10 2010/03/24 20:13:15 ssuominen Exp $ 3# $Header: /var/cvsroot/gentoo-x86/eclass/xfconf.eclass,v 1.11 2010/03/26 11:41:57 ssuominen Exp $
4 4
5# @ECLASS: xfconf.eclass 5# @ECLASS: xfconf.eclass
6# @MAINTAINER: 6# @MAINTAINER:
7# XFCE maintainers <xfce@gentoo.org> 7# XFCE maintainers <xfce@gentoo.org>
8# @BLURB: Default XFCE ebuild layout 8# @BLURB: Default XFCE ebuild layout
59 3|2) XFCONF_EXPF="${XFCONF_EXPF} src_prepare src_configure" ;; 59 3|2) XFCONF_EXPF="${XFCONF_EXPF} src_prepare src_configure" ;;
60 1|0) ;; 60 1|0) ;;
61 *) die "Unknown EAPI." ;; 61 *) die "Unknown EAPI." ;;
62esac 62esac
63EXPORT_FUNCTIONS ${XFCONF_EXPF} 63EXPORT_FUNCTIONS ${XFCONF_EXPF}
64
65# @FUNCTION: xfconf_use_debug
66# @RETURN:
67# Return --enable-debug, --enable-debug=full or --disable-debug based on
68# I_KNOW_WHAT_I_AM_DOING variable
69xfconf_use_debug() {
70 if use debug; then
71 if [[ -n $I_KNOW_WHAT_I_AM_DOING ]]; then
72 echo "--enable-debug=full"
73 else
74 echo "--enable-debug"
75 fi
76 else
77 if [[ -n $I_KNOW_WHAT_I_AM_DOING ]]; then
78 echo "--disable-debug"
79 fi
80 fi
81}
64 82
65# @FUNCTION: xfconf_src_unpack 83# @FUNCTION: xfconf_src_unpack
66# @DESCRIPTION: 84# @DESCRIPTION:
67# Run base_src_util autopatch and eautoreconf or elibtoolize 85# Run base_src_util autopatch and eautoreconf or elibtoolize
68xfconf_src_unpack() { 86xfconf_src_unpack() {

Legend:
Removed from v.1.10  
changed lines
  Added in v.1.11

  ViewVC Help
Powered by ViewVC 1.1.20