| 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.13 2010/03/26 12:10:14 ssuominen Exp $ |
3 | # $Header: /var/cvsroot/gentoo-x86/eclass/xfconf.eclass,v 1.14 2010/03/26 12:17:16 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 |
| … | |
… | |
| 61 | *) die "Unknown EAPI." ;; |
61 | *) die "Unknown EAPI." ;; |
| 62 | esac |
62 | esac |
| 63 | EXPORT_FUNCTIONS ${XFCONF_EXPF} |
63 | EXPORT_FUNCTIONS ${XFCONF_EXPF} |
| 64 | |
64 | |
| 65 | # @FUNCTION: xfconf_use_debug |
65 | # @FUNCTION: xfconf_use_debug |
| 66 | # @RETURN: |
66 | # @DESCRIPTION: |
| 67 | # Return --enable-debug, null, --enable-debug=full or --disable-debug based on |
67 | # Return --enable-debug, null, --enable-debug=full or --disable-debug based on |
| 68 | # XFCONF_FULL_DEBUG variable and USE debug |
68 | # XFCONF_FULL_DEBUG variable and USE debug |
| 69 | xfconf_use_debug() { |
69 | xfconf_use_debug() { |
| 70 | if has debug ${IUSE}; then |
70 | if has debug ${IUSE}; then |
| 71 | if use debug; then |
71 | if use debug; then |