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

Diff of /eclass/xfconf.eclass

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

Revision 1.46 Revision 1.47
1# Copyright 1999-2012 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.46 2014/02/27 17:12:01 ssuominen Exp $ 3# $Header: /var/cvsroot/gentoo-x86/eclass/xfconf.eclass,v 1.47 2014/11/15 07:49:11 vapier 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
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 15
16if [[ -n ${EAUTORECONF} ]] ; then
17 AUTOTOOLS_AUTO_DEPEND=yes
18else
19 : ${AUTOTOOLS_AUTO_DEPEND:=no}
20fi
21
16# @ECLASS-VARIABLE: XFCONF 22# @ECLASS-VARIABLE: XFCONF
17# @DESCRIPTION: 23# @DESCRIPTION:
18# This should be an array defining arguments for econf 24# This should be an array defining arguments for econf
19
20AUTOTOOLS_AUTO_DEPEND=no
21 25
22unset _xfconf_live 26unset _xfconf_live
23[[ $PV == *9999* ]] && _xfconf_live=git-2 27[[ $PV == *9999* ]] && _xfconf_live=git-2
24 28
25inherit ${_xfconf_live} autotools eutils fdo-mime gnome2-utils libtool 29inherit ${_xfconf_live} autotools eutils fdo-mime gnome2-utils libtool
26 30
27EGIT_BOOTSTRAP=autogen.sh 31EGIT_BOOTSTRAP=autogen.sh
28EGIT_REPO_URI="git://git.xfce.org/xfce/${MY_PN:-${PN}}" 32EGIT_REPO_URI="git://git.xfce.org/xfce/${MY_PN:-${PN}}"
29 33
30_xfconf_deps="" 34_xfconf_deps=""
31_xfconf_m4=">=dev-util/xfce4-dev-tools-4.10 ${AUTOTOOLS_DEPEND}" 35_xfconf_m4=">=dev-util/xfce4-dev-tools-4.10"
32 36
33[[ -n $_xfconf_live ]] && _xfconf_deps+=" dev-util/gtk-doc ${_xfconf_m4}" 37[[ -n $_xfconf_live ]] && _xfconf_deps+=" dev-util/gtk-doc ${_xfconf_m4}"
34[[ -n $EAUTORECONF ]] && _xfconf_deps+=" ${_xfconf_m4}" 38[[ -n $EAUTORECONF ]] && _xfconf_deps+=" ${_xfconf_m4}"
35 39
36RDEPEND="" 40RDEPEND=""

Legend:
Removed from v.1.46  
changed lines
  Added in v.1.47

  ViewVC Help
Powered by ViewVC 1.1.20