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

Diff of /eclass/xfconf.eclass

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

Revision 1.39 Revision 1.41
1# Copyright 1999-2011 Gentoo Foundation 1# Copyright 1999-2012 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.39 2011/12/27 17:55:13 fauli Exp $ 3# $Header: /var/cvsroot/gentoo-x86/eclass/xfconf.eclass,v 1.41 2012/05/22 10:57:17 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
10# Default XFCE ebuild layout 10# Default XFCE ebuild layout
11 11
12# @ECLASS-VARIABLE: EAUTORECONF 12# @ECLASS-VARIABLE: EAUTORECONF
13# @DESCRIPTION: 13# @DESCRIPTION:
14# Run eautoreconf instead of elibtoolize if the variable is set 14# Run eautoreconf instead of elibtoolize if the variable is set
15
16# @ECLASS-VARIABLE: EINTLTOOLIZE
17# @DESCRIPTION:
18# Run intltoolize --force --copy --automake if the variable is set
19 15
20# @ECLASS-VARIABLE: XFCONF 16# @ECLASS-VARIABLE: XFCONF
21# @DESCRIPTION: 17# @DESCRIPTION:
22# This should be an array defining arguments for econf 18# This should be an array defining arguments for econf
23 19
30 26
31EGIT_BOOTSTRAP="autogen.sh" 27EGIT_BOOTSTRAP="autogen.sh"
32EGIT_REPO_URI="git://git.xfce.org/xfce/${MY_PN:-${PN}}" 28EGIT_REPO_URI="git://git.xfce.org/xfce/${MY_PN:-${PN}}"
33 29
34_xfconf_deps="" 30_xfconf_deps=""
35_xfconf_m4=">=dev-util/xfce4-dev-tools-4.8.0 ${AUTOTOOLS_DEPEND}" 31_xfconf_m4=">=dev-util/xfce4-dev-tools-4.9.1 ${AUTOTOOLS_DEPEND}"
36 32
37[[ -n $_xfconf_live ]] && _xfconf_deps+=" dev-util/gtk-doc ${_xfconf_m4}" 33[[ -n $_xfconf_live ]] && _xfconf_deps+=" dev-util/gtk-doc ${_xfconf_m4}"
38[[ -n $EINTLTOOLIZE ]] && _xfconf_deps+=" dev-util/intltool"
39[[ -n $EAUTORECONF ]] && _xfconf_deps+=" ${_xfconf_m4}" 34[[ -n $EAUTORECONF ]] && _xfconf_deps+=" ${_xfconf_m4}"
40 35
41RDEPEND="" 36RDEPEND=""
42DEPEND="${_xfconf_deps}" 37DEPEND="${_xfconf_deps}"
43 38
85# @DESCRIPTION: 80# @DESCRIPTION:
86# Run base_src_prepare and eautoreconf or elibtoolize 81# Run base_src_prepare and eautoreconf or elibtoolize
87xfconf_src_prepare() { 82xfconf_src_prepare() {
88 debug-print-function ${FUNCNAME} "$@" 83 debug-print-function ${FUNCNAME} "$@"
89 base_src_prepare 84 base_src_prepare
90
91 if [[ -n $EINTLTOOLIZE ]]; then
92 local _intltoolize="intltoolize --force --copy --automake"
93 ebegin "Running ${_intltoolize}"
94 ${_intltoolize} || die
95 eend $?
96 fi
97 85
98 if [[ -n $EAUTORECONF ]]; then 86 if [[ -n $EAUTORECONF ]]; then
99 AT_M4DIR=${EPREFIX}/usr/share/xfce4/dev-tools/m4macros eautoreconf 87 AT_M4DIR=${EPREFIX}/usr/share/xfce4/dev-tools/m4macros eautoreconf
100 else 88 else
101 elibtoolize 89 elibtoolize

Legend:
Removed from v.1.39  
changed lines
  Added in v.1.41

  ViewVC Help
Powered by ViewVC 1.1.20