| 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.37 2011/10/15 21:08:59 ssuominen Exp $ |
3 | # $Header: /var/cvsroot/gentoo-x86/eclass/xfconf.eclass,v 1.38 2011/12/03 16:54:44 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 |
| … | |
… | |
| 19 | |
19 | |
| 20 | # @ECLASS-VARIABLE: XFCONF |
20 | # @ECLASS-VARIABLE: XFCONF |
| 21 | # @DESCRIPTION: |
21 | # @DESCRIPTION: |
| 22 | # This should be an array defining arguments for econf |
22 | # This should be an array defining arguments for econf |
| 23 | |
23 | |
|
|
24 | AUTOTOOLS_AUTO_DEPEND="no" |
|
|
25 | |
| 24 | unset _xfconf_live |
26 | unset _xfconf_live |
| 25 | [[ $PV == *9999* ]] && _xfconf_live=git-2 |
27 | [[ $PV == *9999* ]] && _xfconf_live=git-2 |
| 26 | |
28 | |
| 27 | inherit ${_xfconf_live} autotools base eutils fdo-mime gnome2-utils libtool |
29 | inherit ${_xfconf_live} autotools base eutils fdo-mime gnome2-utils libtool |
| 28 | |
30 | |
| 29 | EGIT_BOOTSTRAP="autogen.sh" |
31 | EGIT_BOOTSTRAP="autogen.sh" |
| 30 | EGIT_REPO_URI="git://git.xfce.org/xfce/${MY_PN:-${PN}}" |
32 | EGIT_REPO_URI="git://git.xfce.org/xfce/${MY_PN:-${PN}}" |
| 31 | |
33 | |
| 32 | _xfconf_deps="" |
34 | _xfconf_deps="" |
| 33 | _xfconf_m4=">=dev-util/xfce4-dev-tools-4.8.0" |
35 | _xfconf_m4=">=dev-util/xfce4-dev-tools-4.8.0 ${AUTOTOOLS_DEPEND}" |
| 34 | |
36 | |
| 35 | [[ -n $_xfconf_live ]] && _xfconf_deps+=" dev-util/gtk-doc ${_xfconf_m4}" |
37 | [[ -n $_xfconf_live ]] && _xfconf_deps+=" dev-util/gtk-doc ${_xfconf_m4}" |
| 36 | [[ -n $EINTLTOOLIZE ]] && _xfconf_deps+=" dev-util/intltool" |
38 | [[ -n $EINTLTOOLIZE ]] && _xfconf_deps+=" dev-util/intltool" |
| 37 | [[ -n $EAUTORECONF ]] && _xfconf_deps+=" ${_xfconf_m4}" |
39 | [[ -n $EAUTORECONF ]] && _xfconf_deps+=" ${_xfconf_m4}" |
| 38 | |
40 | |