| 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.41 2012/05/22 10:57:17 ssuominen Exp $ |
3 | # $Header: /var/cvsroot/gentoo-x86/eclass/xfconf.eclass,v 1.43 2012/09/02 07:58:15 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 |
| … | |
… | |
| 15 | |
15 | |
| 16 | # @ECLASS-VARIABLE: XFCONF |
16 | # @ECLASS-VARIABLE: XFCONF |
| 17 | # @DESCRIPTION: |
17 | # @DESCRIPTION: |
| 18 | # This should be an array defining arguments for econf |
18 | # This should be an array defining arguments for econf |
| 19 | |
19 | |
| 20 | AUTOTOOLS_AUTO_DEPEND="no" |
20 | AUTOTOOLS_AUTO_DEPEND=no |
| 21 | |
21 | |
| 22 | unset _xfconf_live |
22 | unset _xfconf_live |
| 23 | [[ $PV == *9999* ]] && _xfconf_live=git-2 |
23 | [[ $PV == *9999* ]] && _xfconf_live=git-2 |
| 24 | |
24 | |
| 25 | inherit ${_xfconf_live} autotools base eutils fdo-mime gnome2-utils libtool |
25 | inherit ${_xfconf_live} autotools base eutils fdo-mime gnome2-utils libtool |
| 26 | |
26 | |
| 27 | EGIT_BOOTSTRAP="autogen.sh" |
27 | EGIT_BOOTSTRAP=autogen.sh |
| 28 | EGIT_REPO_URI="git://git.xfce.org/xfce/${MY_PN:-${PN}}" |
28 | EGIT_REPO_URI="git://git.xfce.org/xfce/${MY_PN:-${PN}}" |
| 29 | |
29 | |
| 30 | _xfconf_deps="" |
30 | _xfconf_deps="" |
| 31 | _xfconf_m4=">=dev-util/xfce4-dev-tools-4.9.1 ${AUTOTOOLS_DEPEND}" |
31 | _xfconf_m4=">=dev-util/xfce4-dev-tools-4.10 ${AUTOTOOLS_DEPEND}" |
| 32 | |
32 | |
| 33 | [[ -n $_xfconf_live ]] && _xfconf_deps+=" dev-util/gtk-doc ${_xfconf_m4}" |
33 | [[ -n $_xfconf_live ]] && _xfconf_deps+=" dev-util/gtk-doc ${_xfconf_m4}" |
| 34 | [[ -n $EAUTORECONF ]] && _xfconf_deps+=" ${_xfconf_m4}" |
34 | [[ -n $EAUTORECONF ]] && _xfconf_deps+=" ${_xfconf_m4}" |
| 35 | |
35 | |
| 36 | RDEPEND="" |
36 | RDEPEND="" |
| … | |
… | |
| 110 | touch ChangeLog |
110 | touch ChangeLog |
| 111 | fi |
111 | fi |
| 112 | |
112 | |
| 113 | base_src_install "$@" || die |
113 | base_src_install "$@" || die |
| 114 | |
114 | |
| 115 | find "${ED}" -name '*.la' -exec rm -f {} + |
115 | prune_libtool_files --all |
| 116 | |
|
|
| 117 | validate_desktop_entries |
|
|
| 118 | } |
116 | } |
| 119 | |
117 | |
| 120 | # @FUNCTION: xfconf_pkg_preinst |
118 | # @FUNCTION: xfconf_pkg_preinst |
| 121 | # @DESCRIPTION: |
119 | # @DESCRIPTION: |
| 122 | # Run gnome2_icon_savelist |
120 | # Run gnome2_icon_savelist |