| 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.17 2010/07/26 18:57:14 ssuominen Exp $ |
3 | # $Header: /var/cvsroot/gentoo-x86/eclass/xfconf.eclass,v 1.18 2010/09/16 17:09:51 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 |
| … | |
… | |
| 27 | |
27 | |
| 28 | # @ECLASS-VARIABLE: XFCONF |
28 | # @ECLASS-VARIABLE: XFCONF |
| 29 | # @DESCRIPTION: |
29 | # @DESCRIPTION: |
| 30 | # Define options for econf |
30 | # Define options for econf |
| 31 | |
31 | |
| 32 | inherit autotools base fdo-mime gnome2-utils libtool |
32 | inherit autotools base eutils fdo-mime gnome2-utils libtool |
| 33 | |
33 | |
| 34 | if ! [[ ${MY_P} ]]; then |
34 | if ! [[ ${MY_P} ]]; then |
| 35 | MY_P=${P} |
35 | MY_P=${P} |
| 36 | else |
36 | else |
| 37 | S=${WORKDIR}/${MY_P} |
37 | S=${WORKDIR}/${MY_P} |
| … | |
… | |
| 139 | dodoc ${DOCS} || die "dodoc failed" |
139 | dodoc ${DOCS} || die "dodoc failed" |
| 140 | fi |
140 | fi |
| 141 | |
141 | |
| 142 | has "${EAPI:-0}" 0 1 2 && ! use prefix && ED="${D}" |
142 | has "${EAPI:-0}" 0 1 2 && ! use prefix && ED="${D}" |
| 143 | find "${ED}" -name '*.la' -exec rm -f {} + |
143 | find "${ED}" -name '*.la' -exec rm -f {} + |
|
|
144 | |
|
|
145 | validate_desktop_entries |
| 144 | } |
146 | } |
| 145 | |
147 | |
| 146 | # @FUNCTION: xfconf_pkg_preinst |
148 | # @FUNCTION: xfconf_pkg_preinst |
| 147 | # @DESCRIPTION: |
149 | # @DESCRIPTION: |
| 148 | # Run gnome2_icon_savelist |
150 | # Run gnome2_icon_savelist |