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

Diff of /eclass/gnome2.eclass

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

Revision 1.119 Revision 1.120
1# Copyright 1999-2013 Gentoo Foundation 1# Copyright 1999-2013 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/gnome2.eclass,v 1.119 2013/01/16 22:52:37 eva Exp $ 3# $Header: /var/cvsroot/gentoo-x86/eclass/gnome2.eclass,v 1.120 2013/01/16 23:01:02 eva Exp $
4 4
5# @ECLASS: gnome2.eclass 5# @ECLASS: gnome2.eclass
6# @MAINTAINER: 6# @MAINTAINER:
7# gnome@gentoo.org 7# gnome@gentoo.org
8# @BLURB: Provides phases for Gnome/Gtk+ based packages. 8# @BLURB: Provides phases for Gnome/Gtk+ based packages.
48# @DEFAULT_UNSET 48# @DEFAULT_UNSET
49# @DESCRIPTION: 49# @DESCRIPTION:
50# Should we use EINSTALL instead of DESTDIR. DEPRECATED 50# Should we use EINSTALL instead of DESTDIR. DEPRECATED
51USE_EINSTALL=${USE_EINSTALL:-""} 51USE_EINSTALL=${USE_EINSTALL:-""}
52 52
53# @ECLASS-VARIABLE: SCROLLKEEPER_UPDATE
54# @DESCRIPTION:
55# Whether to run scrollkeeper for this package or not. DEPRECATED
56SCROLLKEEPER_UPDATE=${SCROLLKEEPER_UPDATE:-"1"}
57
58# @ECLASS-VARIABLE: DOCS 53# @ECLASS-VARIABLE: DOCS
59# @DEFAULT_UNSET 54# @DEFAULT_UNSET
60# @DESCRIPTION: 55# @DESCRIPTION:
61# String containing documents passed to dodoc command. 56# String containing documents passed to dodoc command.
62 57
126 # This decision also greatly helps with constantly broken doc generation. 121 # This decision also greatly helps with constantly broken doc generation.
127 # Remember to drop 'doc' USE flag from your package if it was only used to 122 # Remember to drop 'doc' USE flag from your package if it was only used to
128 # rebuild docs. 123 # rebuild docs.
129 # Preserve old behavior for older EAPI. 124 # Preserve old behavior for older EAPI.
130 if grep -q "enable-gtk-doc" ${ECONF_SOURCE:-.}/configure ; then 125 if grep -q "enable-gtk-doc" ${ECONF_SOURCE:-.}/configure ; then
131 if has ${EAPI:-0} 0 1 2 3 4 && has doc ${IUSE} ; then 126 if has ${EAPI:-0} 0 1 2 3 4 && in_iuse doc ; then
132 G2CONF="$(use_enable doc gtk-doc) ${G2CONF}" 127 G2CONF="$(use_enable doc gtk-doc) ${G2CONF}"
133 else 128 else
134 G2CONF="--disable-gtk-doc ${G2CONF}" 129 G2CONF="--disable-gtk-doc ${G2CONF}"
135 fi 130 fi
136 fi 131 fi
234 229
235 # Delete all .la files 230 # Delete all .la files
236 if has ${EAPI:-0} 0 1 2 3 4; then 231 if has ${EAPI:-0} 0 1 2 3 4; then
237 if [[ "${GNOME2_LA_PUNT}" != "no" ]]; then 232 if [[ "${GNOME2_LA_PUNT}" != "no" ]]; then
238 ebegin "Removing .la files" 233 ebegin "Removing .la files"
239 if ! { has static-libs ${IUSE//+} && use static-libs; }; then 234 if ! use_if_iuse static-libs ; then
240 find "${D}" -name '*.la' -exec rm -f {} + || die "la file removal failed" 235 find "${D}" -name '*.la' -exec rm -f {} + || die "la file removal failed"
241 fi 236 fi
242 eend 237 eend
243 fi 238 fi
244 else 239 else

Legend:
Removed from v.1.119  
changed lines
  Added in v.1.120

  ViewVC Help
Powered by ViewVC 1.1.20